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 and MRM

Post new topic  Reply to topic
 CDATA and MRM « View previous topic :: View next topic » 
Author Message
MVO
PostPosted: Fri Dec 06, 2002 12:53 pm    Post subject: CDATA and MRM Reply with quote

Centurion

Joined: 09 Sep 2001
Posts: 131

Hi,

I'm running WMQI 2.1 CSD03 on Win2000 and Solaris.

In my message flow:

1) MQInput: a message set with XML format i.e.
Message Domain: MRM
Message Set: ABCD12345 (for simplicity only)
Message Type: Envelope
Message Format: XML

Say the input message looks like:
<Envelope>
<Header>header data</Header>
<Body><![CDATA[body with <>& and something else]]></Body>
</Envelope>

2) Then some logic to reformat the message
Part of the message body (Body) has been reformatted

3) I'd like to output the message as follows:
<Envelope>
<Header>header data</Header>
<Body><![CDATA[reformatted body with <>& and something else]]></Body>
</Envelope>

I can't seem to build the CDATA section for the outgoing message with the followings ESQL in my Compute Node:
set OutputRoot.Properties.MessageFormat='XML';
set OutputRoot.MRM.Body='reformatted body with <>& and something else';

(the output message does NOT have a CDATA section for Body)

I tried the followings:
set OutputRoot.MRM.Body.(XML.CDataSection='reformatted body with <>& and something else'

but it did not work either (WMQI failure terminal).

Can you help please ?

Thanks


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 » CDATA and MRM
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.