-
Document Transfer from Client to Server (2 messages)
- Posted by: Gopalakrishna Narayana Moni
- Posted on: June 05 2006 04:58 EDT
Hi Experts I have to write a web-service which can accept a document (it can be any thiny an XLS/.DOC/.JPG) from the client call along with other String inputs from the client. Kindly provide pointers on how I can go ahead designing the same. Thanks and Regards, Gopal.Threaded Messages (2)
- Re: Document Transfer from Client to Server by Krishna Pothula on June 05 2006 05:27 EDT
- MTOM by Gerald Beuchelt on June 05 2006 09:29 EDT
-
Re: Document Transfer from Client to Server[ Go to top ]
- Posted by: Krishna Pothula
- Posted on: June 05 2006 05:27 EDT
- in response to Gopalakrishna Narayana Moni
You would have to use SOAP with Attachments. More info about SOAP Attachments can be found <a href="http://www.w3.org/TR/SOAP-attachments"here</a> And then check the documentation of Soap API that you use, to see if it supports Attachments. -
MTOM[ Go to top ]
- Posted by: Gerald Beuchelt
- Posted on: June 05 2006 09:29 EDT
- in response to Gopalakrishna Narayana Moni
You probably want to use MTOM (SOAP Message Transmission Optimization Mechanism) which allows you to attach arbitrary binary blobs to your message. See http://www.w3.org/TR/soap12-mtom/ MTOM is implemented by many vendors. See e.g. http://www.sun.com/smi/Press/sunflash/2006-05/sunflash.20060516.5.xml for a Microsoft/Java interoperable implementation. Gerald Beuchelt http://blog.beuchelt.com/