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

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top