File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes sending binary files to web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "sending binary files to web service" Watch "sending binary files to web service" New topic
Author

sending binary files to web service

bodlapati trivedi
Greenhorn

Joined: Dec 07, 2006
Posts: 1
Hi,
I want to send binary files to web service as soap with attachments. Sending soap with attachments is ok, but how do we define the signature of web service? and how to access the attachment in the web service. My requirement was.. i need to send some data along with binary file(as attachment) to my web service: means my web service signature should look like:
public void getAttachment(String data1, Attachment binaryFile) {

}
=======
Some thing like this i want todo.. but i was unable to find single example on this. i was trying this for long time, couldnt be able to find solution. Pls it would be great help if someone helps me in this.

Thanks in advance.
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Welcome to the JavaRanch!

Looked at SOAP attachments with JAX-RPC yet?

You may find other resources of interest on the Web Services FAQ.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sending binary files to web service