Author |
Message
|
nwaradkar |
Posted: Mon Jul 25, 2011 2:03 am Post subject: Conversion of soap message to text message in message broker |
|
|
 Novice
Joined: 25 Jul 2011 Posts: 18
|
Does any one know how to convert soap into user defined text please reply soon?  |
|
Back to top |
|
 |
WGerstma |
Posted: Mon Jul 25, 2011 2:24 am Post subject: |
|
|
Acolyte
Joined: 18 Jul 2011 Posts: 55
|
Please provide more information about your
1) Input format
2) The technology to use (ESQL, Java,whatever)
3) The desired output |
|
Back to top |
|
 |
nwaradkar |
Posted: Mon Jul 25, 2011 2:52 am Post subject: |
|
|
 Novice
Joined: 25 Jul 2011 Posts: 18
|
Input format is SOAP
Technology to be used is ESQL
and desired output is text Rtgs(R41) |
|
Back to top |
|
 |
nwaradkar |
Posted: Mon Jul 25, 2011 3:34 am Post subject: |
|
|
 Novice
Joined: 25 Jul 2011 Posts: 18
|
Please reply soon .  |
|
Back to top |
|
 |
WGerstma |
Posted: Mon Jul 25, 2011 3:36 am Post subject: |
|
|
Acolyte
Joined: 18 Jul 2011 Posts: 55
|
With more information I meant:
Which parts of the SOAP messages do you want to extract? Are you interested in some fields of the message body? Should the whole message be serialized to a character string? Shall the Output be MRM, how would the message set look like?
From your fragments, I have no idea what you want to accomplish. |
|
Back to top |
|
 |
kimbert |
Posted: Mon Jul 25, 2011 3:41 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
desired output is text Rtgs(R41) |
I don't know what 'Rtgs(R41)' is. I'm probably not the only one  |
|
Back to top |
|
 |
nwaradkar |
Posted: Mon Jul 25, 2011 3:45 am Post subject: |
|
|
 Novice
Joined: 25 Jul 2011 Posts: 18
|
I want to extract the body of message and convert it into a user defined text format eg.
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:mrm="http://www.acmeOrders.com/OrderService" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
<mrm:submitPORequest>
<AppId>CAN</AppId>
<MsgId>F01</MsgId>
</mrm:submitPORequest>
</soapenv:Body>
</soapenv:Envelope>
to {CANF01} |
|
Back to top |
|
 |
kimbert |
Posted: Mon Jul 25, 2011 3:57 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
You should
a) create a message set
b) add a TDS physical format
c) create a message definition file
d) create your message definition
I cannot help you with d), because you have not described your output format in enough detail. You need to think about a whole lot of things as soon as you leave the world of XML. |
|
Back to top |
|
 |
nwaradkar |
Posted: Mon Jul 25, 2011 4:05 am Post subject: |
|
|
 Novice
Joined: 25 Jul 2011 Posts: 18
|
My Output message will be of fixed length ie { is the beginning of the output then CAN is of length 3 then F01 is of length 3 so on and } is group terminator ..........
so how can we create the message definition file from it .. |
|
Back to top |
|
 |
kimbert |
Posted: Mon Jul 25, 2011 4:10 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
so how can we create the message definition file from it |
1. Create a message definition file
2. Using the Message Definition File editor, create your message definition.
3. Configure your message flow to use the message set.
No more help until you try to do it for yourself. If you get stuck, download some samples from the Samples Gallery to see how things work. |
|
Back to top |
|
 |
nwaradkar |
Posted: Mon Jul 25, 2011 4:15 am Post subject: |
|
|
 Novice
Joined: 25 Jul 2011 Posts: 18
|
I have done extracting the soap envelope and passed it to the compute node where I have written
SET OutputRoot.MRM.Body.ns:submitPORequest=InputRoot.XMLNSC.ns:submitPORequest;
but it is not working i m stuck with one problem |
|
Back to top |
|
 |
kimbert |
Posted: Mon Jul 25, 2011 4:33 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Hope you find the problem soon, but this forum is not Facebook - we don't need to know your status. If you want help, describe the problem, otherwise don't bother to tell us. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 25, 2011 4:46 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
kimbert wrote: |
If you want help, describe the problem, otherwise don't bother to tell us. |
You especially need to mention how the last advice you were given was implemented:
kimbert wrote: |
1. Create a message definition file
2. Using the Message Definition File editor, create your message definition.
3. Configure your message flow to use the message set
|
Especially when you seem to be posting from the same IP as this guy, who feels we don't help enough. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|