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 by using java compute node

Post new topic  Reply to topic
 XMl to MRM by using java compute node « View previous topic :: View next topic » 
Author Message
fresher
PostPosted: Wed Feb 14, 2007 1:20 am    Post subject: XMl to MRM by using java compute node Reply with quote

Newbie

Joined: 11 Jan 2007
Posts: 2

I am trying to convert XML msg to MRM(CWF) in java compute node........can anybody have any idea how to convert
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 14, 2007 2:18 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac30310_.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Spidyctf
PostPosted: Wed Feb 14, 2007 10:12 pm    Post subject: Reply with quote

Newbie

Joined: 09 Dec 2006
Posts: 8

Hey

1. Create a message Set(CWF1) by importing the Cobol Copybook....

2. Create the outMessage in Java Compute node by doing the mapping as per ur requirement.


Whatever mapping u do, just dont forget to set the following in the
'Properties' of the outAssembly.

In properties u have to set the MessageSet, MessageType and MessageFormat according to the message Set which u created in step 1.


Try doing the same thing in esql.. its very simple as compared to java


cheers
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Wed Feb 14, 2007 11:52 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi fresher,

If you simply want to convert one type of data to another, use this, else you will need to map it.
Quote:
createElementAsLastChildFromBitstream(byte[] bitstream, String parserName, String messageType, String messageSet, String messageFormat, int encoding, int ccsid, int options)
Creates a new syntax element tree as the last child of this element, and associates it with the specified parser.
Regards.
Back to top
View user's profile Send private message Send e-mail
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 by using java compute node
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.