| Author | 
		  Message
		 | 
		
		  | mr_jaber | 
		  
		    
			  
				 Posted: Mon Dec 24, 2012 7:44 am    Post subject: Webservice invocation | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 21 May 2009 Posts: 28
  
  | 
		  
		    
			  
				Hi,
 
 
i have a message flow that receives the message on XML format through an input queue. and need to transform this native XML into SOAP message and invoke a webservice.
 
 
my questions is What is the best and easiest way creating the SOAP message for the SOAP request node. is there any GUI or handy way of doing it. knowing that i am talking about a relativity large message payload.
 
 
Thanks, | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mgk | 
		  
		    
			  
				 Posted: Mon Dec 24, 2012 8:15 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Padawan
 
 Joined: 31 Jul 2003 Posts: 1647
  
  | 
		  
		    
			  
				The SOAP Request node will automatically add a SOAPEnvelope to any message that does not have one. Aternaltively you can create a message using the SOAP Domain, something like this:
 
 
   
	| Code: | 
   
  
	| SET OutputRoot.SOAP.Body = InputRoot.XMLNSC; | 
   
 
 
 
Kind regards, _________________ MGK
 
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | kash3338 | 
		  
		    
			  
				 Posted: Mon Dec 24, 2012 8:16 am    Post subject: Re: Webservice invocation | 
				     | 
			   
			 
		   | 
		
		
		   Shaman
 
 Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India 
  | 
		  
		    
			  
				
   
	| mr_jaber wrote: | 
   
  
	| my questions is What is the best and easiest way creating the SOAP message for the SOAP request node. is there any GUI or handy way of doing it. knowing that i am talking about a relativity large message payload. | 
   
 
 
 
Do you need to send the same incoming XML as a SOAP request or are you doing any transformation to the XML before converting to SOAP request?
 
 
If its just a SOAP header that you need to add to the request, you can use the SOAPEnvelop node. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mr_jaber | 
		  
		    
			  
				 Posted: Mon Dec 24, 2012 8:23 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 21 May 2009 Posts: 28
  
  | 
		  
		    
			  
				| Its not only the SOAP envelope thing; Lots of transformation need to be made. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | kash3338 | 
		  
		    
			  
				 Posted: Mon Dec 24, 2012 8:24 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Shaman
 
 Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India 
  | 
		  
		    
			  
				
   
	| mr_jaber wrote: | 
   
  
	| Its not only the SOAP envelope thing; Lots of transformation need to be made. | 
   
 
 
 
   
	| mgk wrote: | 
   
  
	
 
The SOAP Request node will automatically add a SOAPEnvelope to any message that does not have one. | 
   
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mr_jaber | 
		  
		    
			  
				 Posted: Mon Dec 24, 2012 8:31 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 21 May 2009 Posts: 28
  
  | 
		  
		    
			  
				| Didn't got your point. what about the Complex transformation process !?!?! | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | kash3338 | 
		  
		    
			  
				 Posted: Mon Dec 24, 2012 8:09 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Shaman
 
 Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India 
  | 
		  
		    
			  
				
   
	| mr_jaber wrote: | 
   
  
	| Didn't got your point. what about the Complex transformation process !?!?! | 
   
 
 
 
Transformation's can be done using one of the different node available under the Transformation Palette (Mapping, XSLT, Compute, JCN...etc). | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |