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 » Combine XML Message problem

Post new topic  Reply to topic
 Combine XML Message problem « View previous topic :: View next topic » 
Author Message
RichA
PostPosted: Mon May 19, 2003 1:04 am    Post subject: Combine XML Message problem Reply with quote

Centurion

Joined: 14 Mar 2002
Posts: 102

I'm trying to combine 3 XML request messages, originally I tried using aggregate node, but that combines reply messages. The messages all get put to one input node, filtered to different flows where they are validated, then the whole message is put to a CLOB field in a database table with a correlation ID to match up the ones to combine. When the 3 different messages are available in the database I use a compute node to combine them, into a single XML message format similar to -
<MSG>
<MSG1>blahblahblah</MSG1>
<MSG2>blahblahblah</MSG2>
<MSG3>blahblahblah</MSG3>
</MSG>
the information in each of the messages in the database appears as it was originally, with the <> tags being present, after the compute node puts the messsage together the format is changed to &lt; &gt; etc. I have tried to then put the message through a reset content descriptor node, but it doesn't change the message. Any ideas?
Back to top
View user's profile Send private message MSN Messenger
shalabh1976
PostPosted: Mon May 19, 2003 8:14 am    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

Suppose you extract the message from the database into a BLOB field msgblob then you can use :

CREATE LASTCHILD of OutputRoot DOMAIN 'XML' PARSE (msgblob,546,437);

546 and 437 are optional clauses for Encoding and CCSID.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
RichA
PostPosted: Mon May 19, 2003 12:10 pm    Post subject: Reply with quote

Centurion

Joined: 14 Mar 2002
Posts: 102

Ah, that's great. Thanks for that.
I'm thinking my problems are being caused by a lack of ESQL , can anyone recommend some learning/reading material?
Back to top
View user's profile Send private message MSN Messenger
shalabh1976
PostPosted: Mon May 19, 2003 12:19 pm    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

Lot of documentation is actually available.
Accessability will depend on the platform you are on.
For NT it is:
Start-->Programs-->IBM Websphere MQ Integrator 2.1-->Documentation-->All manuals-->Library-->ESQL Reference

I don't know about the other platforms but a search in the IBM website should help.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
RichA
PostPosted: Mon May 19, 2003 12:48 pm    Post subject: Reply with quote

Centurion

Joined: 14 Mar 2002
Posts: 102

I wouldn't have thought to look at the CREATE command to parse an object to be honest though. I was maybe wanting a guide rather than just a command reference, after all I could read through a lot of commands without ever finding the one I want. It's kind of like giving someone a dictionary and expecting them to learn to read.
Back to top
View user's profile Send private message MSN Messenger
jefflowrey
PostPosted: Mon May 19, 2003 12:49 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Actually, odds are extremely good that any documentation that exists in your install directory is out of date.

You're much better off getting the ESQL Reference from http://www-3.ibm.com/software/integration/library/manualsa/.

You'll also want the CSD Release Guide documenting changes since CSD03 if you're using CSD03 or later. AND you should also read your readmes from your install directory - particularly if you're using CSD04, since there's stuff in there that's not documented elsewhere.
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 » Combine XML Message problem
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.