wood burning stoves 2.0*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to invoke webservice with an attachmnet" Watch "How to invoke webservice with an attachmnet" New topic

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,
Peer Reynders

Joined: Aug 19, 2005
Posts: 2921
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
Similar Threads
invoking service()
webservices swings
How to invoke a webservice running on https
Converting a java file to a web service
How to invoke WebService