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 How to invoke webservice with an attachmnet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to invoke webservice with an attachmnet" Watch "How to invoke webservice with an attachmnet" New topic
Author

How to invoke webservice with an attachmnet

Abhishek Sharma
Ranch Hand

Joined: Jan 09, 2006
Posts: 68
Dear Ranchers,

I am trying to create a web service that have invoke existing web service and apart from that it is also passing a file as an attachment.
Please suggest some options how to implement this.



Thanks in advance,
Abhishek
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
What web service API and web service toolkit are you using?
More importantly - what is the existing web service using to handle the attachment (there a a few options).

In general:
Handling attachments in SOAP
SOAP attachments with JAX-RPC
Process attachments using JAX-RPC handlers
Send binary data without using attachments
Fear of Attachments (pdf)
Web Services, Opaque Data, and the Attachments Problem

Using Web Service to Send Image File (JAX-WS/MTOM)
JAX-WS MTOM and Swaref
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to invoke webservice with an attachmnet