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 IndexWebSphere Message Broker SupportNAmespace issue in IIB v 10.0.0.6

Post new topicReply to topic
NAmespace issue in IIB v 10.0.0.6 View previous topic :: View next topic
Author Message
ravi5rockz
PostPosted: Wed May 23, 2018 12:26 pm Post subject: NAmespace issue in IIB v 10.0.0.6 Reply with quote

Newbie

Joined: 06 Apr 2013
Posts: 1

hi

I am facing a weird issue with IIB v10.0.0.6 version of toolkit. The namespace that i declared for a tag in outputroot are being returned as new fields in the output.
PFB the code and output. Any help will be much appreciated.

Here is my code.

SET OutputRoot.XMLNSC.SOAPENV:Envelope.(XMLNSC.NamespaceDecl)xmlns:SOAPENV = 'http://schemas.xmlsoap.org/soap/envelope/';
DECLARE soapEnvRef REFERENCE TO OutputRoot.XMLNSC.SOAPENV:Envelope;
CREATE FIELD soapEnvRef.SOAPENV:Header;


Unexpected output:
<NS1:Envelope xmlns:NS1="http://schemas.xmlsoap.org/soap/envelope/">
<NS2:SOAPENV xmlns:NS2="xmlns">http://schemas.xmlsoap.org/soap/envelope/</NS2:SOAPENV>
<NS1:Header>
Back to top
View user's profile Send private message
timber
PostPosted: Wed May 23, 2018 2:40 pm Post subject: Reply with quote

Shaman

Joined: 25 Aug 2015
Posts: 784

You have probably copied your message tree into an Environment tree that does not have a parser associated with it. That clears all of the parser-specific flags on the elements, including the one that indicates that it's an attribute/namespace declaration! If I'm right then the fix is simple; just CREATE the Environment field with a DOMAIN clause specifying the parser name. There are plenty of examples in this forum, actually.

btw, this is nothing to do with the toolkit. Your code gets executed by the runtime.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportNAmespace issue in IIB v 10.0.0.6
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.