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 » Conversion of soap message to text message in message broker

Post new topic  Reply to topic
 Conversion of soap message to text message in message broker « View previous topic :: View next topic » 
Author Message
nwaradkar
PostPosted: Mon Jul 25, 2011 2:03 am    Post subject: Conversion of soap message to text message in message broker Reply with quote

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
View user's profile Send private message
WGerstma
PostPosted: Mon Jul 25, 2011 2:24 am    Post subject: Reply with quote

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
View user's profile Send private message
nwaradkar
PostPosted: Mon Jul 25, 2011 2:52 am    Post subject: Reply with quote

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
View user's profile Send private message
nwaradkar
PostPosted: Mon Jul 25, 2011 3:34 am    Post subject: Reply with quote

Novice

Joined: 25 Jul 2011
Posts: 18

Please reply soon .
Back to top
View user's profile Send private message
WGerstma
PostPosted: Mon Jul 25, 2011 3:36 am    Post subject: Reply with quote

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
View user's profile Send private message
kimbert
PostPosted: Mon Jul 25, 2011 3:41 am    Post subject: Reply with quote

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
View user's profile Send private message
nwaradkar
PostPosted: Mon Jul 25, 2011 3:45 am    Post subject: Reply with quote

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
View user's profile Send private message
kimbert
PostPosted: Mon Jul 25, 2011 3:57 am    Post subject: Reply with quote

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
View user's profile Send private message
nwaradkar
PostPosted: Mon Jul 25, 2011 4:05 am    Post subject: Reply with quote

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
View user's profile Send private message
kimbert
PostPosted: Mon Jul 25, 2011 4:10 am    Post subject: Reply with quote

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
View user's profile Send private message
nwaradkar
PostPosted: Mon Jul 25, 2011 4:15 am    Post subject: Reply with quote

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
View user's profile Send private message
kimbert
PostPosted: Mon Jul 25, 2011 4:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Jul 25, 2011 4:46 am    Post subject: Reply with quote

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
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 » Conversion of soap message to text message in message broker
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.