ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SET Attribute on MRM Message - I'm lost

Post new topic  Reply to topic Goto page Previous  1, 2
 SET Attribute on MRM Message - I'm lost « View previous topic :: View next topic » 
Author Message
kimbert
PostPosted: Fri Mar 16, 2007 3:19 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
The new Toolkit cant give me Code Completion in ESQL if the message set has a namespace other than 'http://*.*.*....' !!!
If your field name or field namespace contains a period then you must enclose it in quotes. That's why the tooling was getting confused. However, I do think this is poor usability - the tooling could easily put the quotes in whenever it defects a namespace URI that requires them. I'll follow this up internally.

Quote:
You can specify an attribute in MRM with
True. You are now
a) leaving your message model broken
b) exploiting a deliberately undocumented feature of the MRM parser
I recommend that you drop this approach. Fix your message model - otherwise you may as well use XMLNSC and get a significant performance boost.
Back to top
View user's profile Send private message
MiLi
PostPosted: Fri Mar 16, 2007 4:34 am    Post subject: Reply with quote

Acolyte

Joined: 07 Oct 2005
Posts: 51

Hi Kimbert, I dont think you understand me

If I import an xsd:

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="http://www.mili.se" targetNamespace="http://www.mili.se" elementFormDefault="qualified">
<xsd:element name="TEST1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="QUEUE" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>

it works fine, I get code completion !

If Import a xsd:

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="urn:mili:se" targetNamespace="urn:mili:se" elementFormDefault="qualified">
<xsd:element name="TEST2">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="QUEUE" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>


I cant get Code Completion...

http://www.mili.se gives me the package structure se.mili.www
urn:mili:se gives me the package structure mili.se



And about setting attribute in mrm with @ is nothing I would do or recommend... I'm just adding it to this thread as info that it is possible !

[/img]
_________________
IBM Certified System Administrator - WebSphere MQ V6.0
IBM Instructor - WebSphere MQ, WebSphere Message Broker
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SET Attribute on MRM Message - I'm lost
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.