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 CWF fail

Post new topic  Reply to topic
 XML to CWF fail « View previous topic :: View next topic » 
Author Message
pan_khandar
PostPosted: Tue Jul 09, 2002 8:56 am    Post subject: XML to CWF fail Reply with quote

Novice

Joined: 21 Jun 2002
Posts: 17

Hi,

I am send a simple XML message like

<first><second>1234</second><third>xyz</third>
and converting it to MRMCWF format using Message set.
and i am put output like this

OutputRoot.MRM.second = InputBody.first.second;
OutputRoot.MRM.third = InputBody.first.third;

but in the output queue i am able to see only one value (second).
why the value of third is not coming to queue?

Thanks

Pankaj
-------------------------------------------------------------------------
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
kirani
PostPosted: Tue Jul 09, 2002 7:15 pm    Post subject: Reply with quote

Jedi Knight

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

Pankaj,

I assume you made a mistake while typing the input xml message. You meant to type,
<first><second>1234</second><third>xyz</third></first>

I suspect there is something wrong with your message definition. Please recheck your element lengths in MRM. Make sure you have set &#8220;Copy Message Headers Only&#8221; in your compute node. Could you post the contents of your Compute node here? Are you setting values in Properties folder?
SET OutputRoot.Properties.MessageSet = '..';
SET OutputRoot.Properties.MessageFormat = '..';
SET OutputRoot.Properties.MessageType = '..';

Try adding a trace node in between your Compute node and MQOutput node. Configure the trace node to write output to a file and print ${Root} in it. After you pass message thru message flow, see the trace file and verify the contents of the tree.
_________________
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
kirani
PostPosted: Tue Jul 09, 2002 7:16 pm    Post subject: Reply with quote

Jedi Knight

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

Pankaj,

I assume you made a mistake while typing the input xml message. You meant to type,
<first><second>1234</second><third>xyz</third></first>

I suspect there is something wrong with your message definition. Please recheck your element lengths in MRM. Make sure you have set "Copy Message Headers Only" in your compute node. Could you post the contents of your Compute node here? Are you setting values in Properties folder?
SET OutputRoot.Properties.MessageSet = '..';
SET OutputRoot.Properties.MessageFormat = '..';
SET OutputRoot.Properties.MessageType = '..';

Try adding a trace node in between your Compute node and MQOutput node. Configure the trace node to write output to a file and print ${Root} in it. After you pass message thru message flow, see the trace file and verify the contents of the tree.
_________________
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
garyweik
PostPosted: Tue Jul 30, 2002 11:10 am    Post subject: Reply with quote

Apprentice

Joined: 28 Jun 2002
Posts: 30
Location: Miamisburg, Ohio

Try:

OutputRoot.MRM.second = InputRoot.XML.first.second;
OutputRoot.MRM.third = InputRoot.XML.first.third;

I have found that sometime the mapping feature doesn't work the way you think it should.

Gary
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
sgopal
PostPosted: Wed Jul 31, 2002 8:28 am    Post subject: Reply with quote

Acolyte

Joined: 30 Jul 2002
Posts: 63

I agree.

Dont forget to use the qualifier XML while reffering to the elements in the message.
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 CWF fail
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.