|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
XMl to MRM by using java compute node |
« View previous topic :: View next topic » |
Author |
Message
|
fresher |
Posted: Wed Feb 14, 2007 1:20 am Post subject: XMl to MRM by using java compute node |
|
|
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 |
|
 |
jefflowrey |
Posted: Wed Feb 14, 2007 2:18 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
Spidyctf |
Posted: Wed Feb 14, 2007 10:12 pm Post subject: |
|
|
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 |
|
 |
elvis_gn |
Posted: Wed Feb 14, 2007 11:52 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|