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 » ESQL for Soap message....

Post new topic  Reply to topic Goto page Previous  1, 2
 ESQL for Soap message.... « View previous topic :: View next topic » 
Author Message
kimbert
PostPosted: Wed Jan 31, 2007 1:56 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5543
Location: Southampton

Quote:
Kimbert....the info you gave is helpful but should really be a bit more detailed. The most important ommision would be the fact that once you qualify an element with a namespace, all children of that element must also be qualified....and (this is what is biting me) this includes any InputRoot data being assigned to this element.
Not quite correct. Try this:
Quote:
"...if you insert a default namespace declaration into the message tree, all siblings and children of the namespace declaration must have a namespace.

Your statement was too broad - it would prohibit somebody from having a mixture of qualified and unqualified elements in their message tree.

Now for the solution to your problem. You want to put a an XML subtree into the message tree, and you want the default namespace to be applied to it. I advise this approach:
- Parse the XML subtree as a BLOB, or get it in the form of a string by some other means
- Wrap the subtree in a dummy parent element which declares a default namespace for all of the nodes below it
- Parse the resulting string using something like
CREATE LASTCHILD OF Environment.Variables.myXMLSubtree DOMAIN 'XMLNSC' PARSE myXMLString;
- Copy the children of Environment.Variables.myXMLSubtree.dummyElement into your message tree.
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 » ESQL for Soap message....
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.