dcsimg
Placing an XML document with a SOAP request
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sathya_Sekar
Posted On:   Monday, October 8, 2001 01:54 AM

There is an existing client-server set up where in requests are being handled through normal XML docs. Now, there is a requiremnt to convert all transactions to SOAP.


So how do go about making SOAP requests without touching any processor classes ? These processor classes basically provide an XML document as output. How do we place this XmlDocument object within a SOAP request ?

Re: Placing an XML document with a SOAP request

Posted By:   Sharath_Jonnalagadda  
Posted On:   Thursday, January 10, 2002 04:17 AM

use an XMLOutputter and generate a String of the XMLDocument and now add this String as an attachment to the existing soap message and send it across to the other server. at the other end make use of the MimeHeaders of the incoming message and recreate the SOAPMessage and from the generated soap message extract the attachment part. which is the raw XML which is needed by you
About | Sitemap | Contact