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 » Converting XML to plain text message in the Queue

Post new topic  Reply to topic
 Converting XML to plain text message in the Queue « View previous topic :: View next topic » 
Author Message
jai1234
PostPosted: Sat Dec 04, 2004 2:39 am    Post subject: Converting XML to plain text message in the Queue Reply with quote

Novice

Joined: 02 Dec 2004
Posts: 10

Hello All,

I have an XML input message like the one below:

<VehicleInfoRequest><RegistrationNumber>009736</RegistrationNumber><RegistrationType>07</RegistrationType></VehicleInfoRequest>

I have to generate an output (string format) like the one below:

00973607 (basically concatenating the values of the xml fields)

If I am using XML domain as the parser to parse the input XML and use XML as the wire format, my output will also be in an XML format right.

What should I write in compute node to ensure that the output will be in string format. The output message should not be in XML/MRM message structure. Basically in my output queue, I should see only the text 00973607 and there should not be any XML tags/MRM messages.

How to do it in WMQI 2.1?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sat Dec 04, 2004 4:22 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://www.mqseries.net/phpBB2/viewtopic.php?t=19203
http://www.mqseries.net/phpBB2/viewtopic.php?t=19238
http://www.mqseries.net/phpBB2/viewtopic.php?t=19197

Also search here for "OutputRoot.BLOB.BLOB".

And http://www.mqseries.net/phpBB2/viewtopic.php?t=19196

The basic steps to do what you want are
  1. construct a string
  2. assign it to OutputRoot.BLOB.BLOB
  3. correct the OutputRoot.Properties to reflect the right information, or use an RCD Node

_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kirani
PostPosted: Sun Dec 05, 2004 11:52 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

jai1234, please do not post duplicate questions.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

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

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Converting XML to plain text message in the Queue
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.