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 » Create XML from Database

Post new topic  Reply to topic
 Create XML from Database « View previous topic :: View next topic » 
Author Message
pmbsa
PostPosted: Tue Nov 06, 2001 6:50 am    Post subject: Reply with quote

Novice

Joined: 06 Aug 2001
Posts: 16

Hi, I have a column in a database that contains a complete XML message.
Although its obvioulsy easy enough to retrieve the data, it comes in as a text string and I need to recreate the XML message as proper XML.

I have tries pushing it through a resetmessagecontentsdescriptor node but it has no effect, I suspect that behind the scenes the XML has been returned with '&'lt and '&'gt instead of <> so the reset thinks its just text

anyway any hints will be appreciated

thanks
Paul

[ This Message was edited by: pmbsa on 2001-11-06 06:51 ]

[ This Message was edited by: pmbsa on 2001-11-06 07:10 ]

[ This Message was edited by: pmbsa on 2001-11-06 08:23 ]
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Nov 06, 2001 9:50 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

What's the ESQL you are using to get the data.

What's the output from a Trace node with ${Root} after the RCD.

Cheers.

_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
pmbsa
PostPosted: Wed Nov 07, 2001 12:42 am    Post subject: Reply with quote

Novice

Joined: 06 Aug 2001
Posts: 16

Hi Eddie, after the RCD node there is no output becuase it complains about the XML (as I said the <> have been replaced)
The XML is perfect I have chacked & double checked (Using standard sql and writing out to a file which I read into and XML parser

the ESL we are using is

SET OutputDestinationList.Destination.Scratchpad.Inboundmsg.XML.Tester = THE (SELECT ITEM M.INBOUND_MESSAGE
FROM Database.db2admin.MESSAGE AS M
WHERE M.MESSAGE_IDENTIFIER
= InputBody.WfMessage.ActivityImplInvoke.ProgramInputData.TPCIMessage.TPCIID);

cheers
Paul
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Create XML from Database
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.