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 » CDATA in DestinationList structure

Post new topic  Reply to topic
 CDATA in DestinationList structure « View previous topic :: View next topic » 
Author Message
amigupta1978
PostPosted: Wed Jan 23, 2002 8:18 pm    Post subject: Reply with quote

Centurion

Joined: 22 Jan 2002
Posts: 132
Location: India

Hello,
I am facing a problem in MQSI ver 2.0.2 on AIX 4.3.3.
I am using a message with CDATA tag present in it. i.e something like <A><![CDATA[Hello]]></A>
and When I copy my this tag to the DestinationList Structure it gives me a null value for the tag.
For eg
Set OutputDestinationList.Scratch.A=InputRoot.XML.A;

and when I see the Output it shows me the null.

Since I need to store all the thing in the Destination List structure with the CDATA tag present can you suggest me the way out.

My flow is simple MQInput->Compute->MQOutput

I am attaching the compute Node code

SET OutputRoot = InputRoot;
-- Enter SQL below this line. SQL above this line might be regenerated, causing any modifications to be lost.
--- ADDING A new tag with CDATA...
SET OutputRoot.XML.ERROR.NEWTAG1=InputRoot.XML.ERROR.TAG;
---- copying a CDATA value tag into the OutputRoot using braces
------ Till the above Esqls everything is fine and I am getting the expected results


---- aDDING USING THE DESTINATION LIST
SET OutputDestinationList.Scratch.ORGXML=InputRoot.XML;
SET OutputDestinationList.Scratch.NEWTAG3=InputRoot.XML.ERROR.TAG;
SET OutputDestinationList.Scratch.NEWTAG4[]=InputRoot.XML.ERROR.TAG[];
---- The above three things just inserts a null tag... These doesnot takes the value of tag

SET OutputRoot.XML.ERROR.DESTINATIONLIST=OutputDestinationList.Scratch;



I am attaching u the input and output message.
Input message:
<ERROR><TAG><![CDATA[OLDTAG]]></TAG></ERROR>
Output Message
<ERROR><TAG><![CDATA[OLDTAG]]></TAG><NEWTAG1><![CDATA[OLDTAG]]></NEWTAG1><DESTINATIONLIST><TAG1/><NEWTAG3/><NEWTAG4/></DESTINATIONLIST></ERROR>

Thanks in Advance
Regards
Amit
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » CDATA in DestinationList structure
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.