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 » XML to MRM in the flow ????

Post new topic  Reply to topic
 XML to MRM in the flow ???? « View previous topic :: View next topic » 
Author Message
elvis_gn
PostPosted: Wed Dec 01, 2004 8:13 pm    Post subject: XML to MRM in the flow ???? Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi all,
I am trying to create a message flow which gets an input XML and has to only output a string concatenating the fields of the XML.The output is not an XML and should not have the tags.
I tried making the domain MRM,the wire format XML.
How do i give the line OutputRoot.MRM.....????
Back to top
View user's profile Send private message Send e-mail
Nizam
PostPosted: Wed Dec 01, 2004 9:38 pm    Post subject: Reply with quote

Disciple

Joined: 10 Feb 2004
Posts: 160

Because your ouput is a concatenation of all the xml fields you just need one filed in your MRM.
In your ESQL extract the field values one after another and concatenate to form one big string.
Assign this string to your OutputRoot MRM field.
Your line will look something like
OutputRoot.MRM.YourField = contatenatedString;

I think you really dont need an MRM Message definition to do this. You can use BLOB instead.
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Wed Dec 01, 2004 9:51 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

what should i name my Domain and Wire format as ????
I have to work on 2.1 for this project and dont know the available options.

If i write OutputRoot.MRM.YourField......what will the final output be like ??
Is "YourField" set as the message body name ???? Do i have to declare it anywhere else also ????
Back to top
View user's profile Send private message Send e-mail
shanson
PostPosted: Mon Dec 06, 2004 6:52 am    Post subject: Reply with quote

Partisan

Joined: 17 Oct 2003
Posts: 344
Location: IBM Hursley

Create a message set (call it whatever you want) with runtime parser property = 'MRM', add a CWF physical format (call it whatever you want). Create a message (call it whatever you want) with one child element, a string, let's call it 'result'. On the CWF properties for the string set the physical type = 'Fixed length' then set the Length units property = 'End of bitstream'. Deploy the message set.

In your output properties specify MessageDomain=MRM, MessageSet=<name of message set>, MessageFormat=<name of physical format>, MessageType=<name of message>.

Your ESQL is OutputRoot.MRM.result = .....

Or you can use the BLOB domain as a later append suggests.
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 » XML to MRM in the flow ????
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.