|
Hi ,
I implemented my own Webservice which has following
interface.
public interface TestServiceIF extends java.rmi.Remote { public java.lang.String putMessage(String in0, javax.activation.DataHandler in1) throws java.rmi.RemoteException} I can succesfully send the attachment and get a response from the server. But this method of passing a DataHandler is a form of sending Attachment Inline. Doesn't Axis 1.1 support sending attachment as a part of Soap Message .. some thing like shown below in bold black font ... If so How should i go abt it ? Please let me know .. Thanks & Regards Dhanush -----=_Part_0_11546362.1084452373770 Content-Type: text/xml; charset=UTF-8 Content-Transfer-Encoding: binary Content-Id: <688C8DAE10FADCDB3869CE3450CC27CB> <?xml version= "1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv= "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header> <HeaderElement soapenv:mustUnderstand= "0" xmlns="">TheHeader</HeaderElement></soapenv:Header> <soapenv:Body> <BodyElement xmlns= ""><ChildElementOne xmlns="">First Child</ChildElementOne> </BodyElement> </soapenv:Body> </soapenv:Envelope> ------=_Part_0_11546362.1084452373770 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-Id: <PDF_file> %PDF- 1.2%���� 391 0 obj<< /Linearized 1/O 394/H [ 1193 443 ]/L 86389/E
|
- MimeBodyPart Object as parameter to a Web Service ?? Dhanush Gopinath
- MimeBodyPart Object as parameter to a Web Service ?? Dhanush Gopinath
