| Author | Message | 
		
		  | marcin.kasinski | 
			  
				|  Posted: Wed Jan 15, 2014 6:45 am    Post subject: How to get Envelope in XMLNSC Domain using SOAP nodes |   |  | 
		
		  | Sentinel
 
 
 Joined: 21 Dec 2004Posts: 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 |  | 
		
		  |  | 
		
		  | sandman147 | 
			  
				|  Posted: Wed Jan 15, 2014 10:51 am    Post subject: |   |  | 
		
		  | Apprentice
 
 
 Joined: 01 Sep 2013Posts: 42
 
 
 | 
			  
				| soap input->MQ header -> MQ Output 
 You should be able to see the exact SOAP request input on the queue.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | marcin.kasinski | 
			  
				|  Posted: Wed Jan 15, 2014 11:45 am    Post subject: |   |  | 
		
		  | Sentinel
 
 
 Joined: 21 Dec 2004Posts: 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 |  | 
		
		  |  | 
		
		  | sandman147 | 
			  
				|  Posted: Wed Jan 15, 2014 2:32 pm    Post subject: |   |  | 
		
		  | Apprentice
 
 
 Joined: 01 Sep 2013Posts: 42
 
 
 | 
			  
				| Interesting, Please post if you come up with a solution. I will try the same from my end. |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | Simbu | 
			  
				|  Posted: Wed Jan 15, 2014 8:35 pm    Post subject: |   |  | 
		
		  |  Master
 
 
 Joined: 17 Jun 2011Posts: 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 |  | 
		
		  |  | 
		
		  | mqjeff | 
			  
				|  Posted: Thu Jan 16, 2014 6:21 am    Post subject: |   |  | 
		
		  | Grand Master
 
 
 Joined: 25 Jun 2008Posts: 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 |  | 
		
		  |  | 
		
		  | robhenley | 
			  
				|  Posted: Thu Jan 16, 2014 8:25 am    Post subject: |   |  | 
		
		  | Newbie
 
 
 Joined: 03 Mar 2006Posts: 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 |  | 
		
		  |  | 
		
		  |  |