|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to convert the IAA XML to Cobol XML??? |
« View previous topic :: View next topic » |
Author |
Message
|
chris boehnke |
Posted: Mon Jun 18, 2007 10:06 am Post subject: How to convert the IAA XML to Cobol XML??? |
|
|
 Partisan
Joined: 25 Jul 2006 Posts: 369
|
Hi All,
We are getting the input msg as IAA XML. We need to convert it to Cobol XML. We have got the Cobol Copybook for creating the messageset from our business owners.
Actually the Stylesheet does the translation from IAA XML to Cobol XML. The business owners are asking WBI team to provide the sample Cobol XML sothat they can write the Stylesheets to convert the IAA XML(input) to Cobol XML(output).
Can you guys suggest is there anyway to get a Cobol XML msg by using the IAA XML without using the stylesheet?.
Thanks. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jun 18, 2007 10:59 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Yes, Message Broker can transform a message from one XML format to another XML format without using a stylesheet.
Yes, Message Broker can transform a message from an XML format to a Copybook record without using a stylesheet.
There are three main ways to do this - using a Compute node, or a Mapping node, or a JavaCompute node.
You will have to analyze the message descriptions yourself, to figure out what needs to be done to perform these translations, and whether it's best to use a stylesheet (and the XSLTransformation node) or by using another mechanism. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
chris boehnke |
Posted: Mon Jun 18, 2007 11:19 am Post subject: |
|
|
 Partisan
Joined: 25 Jul 2006 Posts: 369
|
jefflowrey wrote: |
Yes, Message Broker can transform a message from one XML format to another XML format without using a stylesheet.
Yes, Message Broker can transform a message from an XML format to a Copybook record without using a stylesheet.
There are three main ways to do this - using a Compute node, or a Mapping node, or a JavaCompute node.
You will have to analyze the message descriptions yourself, to figure out what needs to be done to perform these translations, and whether it's best to use a stylesheet (and the XSLTransformation node) or by using another mechanism. |
Hi Jeff,
Thanks for your response. The mapping node to use, we need the source and destination fields to map.
Here I have only the IAA XML(source msg) and I dont have the destination msg. How can I able to generate the output, Cobol XML msg by using the mapping node?.
Thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jun 18, 2007 11:27 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If you have no information on the destination message, then you can't do anything. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
chris boehnke |
Posted: Mon Jun 18, 2007 11:59 am Post subject: |
|
|
 Partisan
Joined: 25 Jul 2006 Posts: 369
|
jefflowrey wrote: |
If you have no information on the destination message, then you can't do anything. |
Hi Jeff,
Now I have an input IIA XML message should be mapped to Cobol Copybook.
I opened the mapping node and selected the target as Cobol Copybook. I dont know how to take the XML message as a source in the mapping node.
Suggestions plzzz
thanks. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jun 18, 2007 12:03 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I'm confused.
First you say "I only have the Input msg, and not the output message".
Now you say "I only have the output msg, and not the input message".
You need *both* to do anything.
You can create a message model of the input XML if you have an XSD, and then you can use that model in the source of the mapping.
Or you can use a Compute node or a JavaCompute node and write the code to map the fields. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|