IntelliJ Java IDE
The moose likes Web Services and the fly likes How to implement attachements with SOAP apache Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "How to implement attachements with SOAP apache" Watch "How to implement attachements with SOAP apache" New topic
Author

How to implement attachements with SOAP apache

Ould Nadif
Ranch Hand

Joined: Jan 21, 2004
Posts: 184
Hi all,

I set up an architecture SOAP with Tomcat in java. It works correctly.

I know how to implement(side server) the return of simple data type (integer) for the client.

But I don't know how to send binary (for example a midi file ) to the same client with attachement.

Could you give me a example of code source in order to send binary data to a client.


Client---------------->Server (file madonna.mid)
??? <----------------???

Thank you for your help.

OULD NADIF


We are ones that build the world, thus build it well.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 32767
The Web Services FAQ, which is linked in my signature, has a link to an article that describes how to send files as SOAP attachments.


Android appsImageJ pluginsJava web charts
 
 
subject: How to implement attachements with SOAP apache
 
Threads others viewed
Automate WS Client Program
Binary data to Image File
sending binary files to web service
Must I create new file when client invoke soap method?
Binary Data using AJAX
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com