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 » How to get Envelope in XMLNSC Domain using SOAP nodes

Post new topic  Reply to topic
 How to get Envelope in XMLNSC Domain using SOAP nodes « View previous topic :: View next topic » 
Author Message
marcin.kasinski
PostPosted: Wed Jan 15, 2014 6:45 am    Post subject: How to get Envelope in XMLNSC Domain using SOAP nodes Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

WMB 8.0.0.1

I'm using SOAP nodes and I would like to put client request to queue.

My question is how can I convert request placed in SOAP domain to XMLNSC with entire client request.

What I need in mq is not:

<SOAP_Domain_Msg >
<Context >...</Context><Header/><Body>...</Body></SOAP_Domain_Msg>

I Need to convert above into:

<XMLNSC>
<soapenv:Envelope ...>
<soapenv:Header>
... </soapenv:Header>
<soapenv:Body>
... </soapenv:Body>
</soapenv:Envelope>

</XMLNSC>

I need to place in queue exactly what client send to me.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
sandman147
PostPosted: Wed Jan 15, 2014 10:51 am    Post subject: Reply with quote

Apprentice

Joined: 01 Sep 2013
Posts: 42

soap input->MQ header -> MQ Output

You should be able to see the exact SOAP request input on the queue.
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Wed Jan 15, 2014 11:45 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

sandman147 wrote:
soap input->MQ header -> MQ Output

You should be able to see the exact SOAP request input on the queue.


In this scenario I will see bellow text in queue.


<SOAP_Domain_Msg >
<Context >...</Context><Header/><Body>...</Body></SOAP_Domain_Msg>

As I said I need plain request from my client.

I can do it using HTTPInput node and XMLNSC parser.

My quetion is :

How can I do it using SoapInput node ?
_________________
Marcin


Last edited by marcin.kasinski on Wed Jan 15, 2014 3:08 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
sandman147
PostPosted: Wed Jan 15, 2014 2:32 pm    Post subject: Reply with quote

Apprentice

Joined: 01 Sep 2013
Posts: 42

Interesting, Please post if you come up with a solution. I will try the same from my end.
Back to top
View user's profile Send private message
Simbu
PostPosted: Wed Jan 15, 2014 8:35 pm    Post subject: Reply with quote

Master

Joined: 17 Jun 2011
Posts: 289
Location: Tamil Nadu, India

Hi,

If you are using auto generated flow with the help of deployable WSDL then my suggestion is to use ESQL to build the soap envelope and put it in Q

or use SoapEnvelope node( note that it can't use along with soapextract node and only the soap body send to the node)

or use http node instead of soap node.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jan 16, 2014 6:21 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The "<SOAP Domain>" element is build by the SOAP parser.

If you don't want it, don't use the SOAP parser.
Back to top
View user's profile Send private message
robhenley
PostPosted: Thu Jan 16, 2014 8:25 am    Post subject: Reply with quote

Newbie

Joined: 03 Mar 2006
Posts: 5

The <SOAP_Domain_Msg> serialization allows you to rework a SOAPInput-SOAPReply flow as ...

SOAPInput-MQOutput + MQInput-SOAPReply

It does not re-create the original bitstream. To do this, your options are:
1. in a Compute node, build an XMLNSC tree that includes the Envelope etc and serialize this. The resulting message will be equivalent to the original request, but not syntactically identical. or
2. intercept the original request at an HTTPInput node. Write the message to MQ and then forward it to a SOAP domain flow. You could forward the message with an HTTPRequest node, or you could decide to have the SOAPInput node use JMS to pick up the message.
_________________
Rob
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 » How to get Envelope in XMLNSC Domain using SOAP nodes
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.