Sending Attachments with JAX-RPC

A

Abhijeet

Hi there,

Is it be possible to send attachments using JAX-RPC ?

I am using Apache Axis , and have a JAX-RPC web service as end point.
To certain method call on the web service, I need to provide binary
data files to the client.

Encorporating the file data in SOAP body will slow down the operation
and would prefer a more elegant solution.

Abhijeet
 
J

Jelle Maybach

Abhijeet said:
Hi there,

Is it be possible to send attachments using JAX-RPC ?

Yes - simply use javax.activation.DataHandler as the return type.

Jelle
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,740
Latest member
AdolphBig6

Latest Threads

Top