• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to implement attachements with SOAP apache

 
Ould Nadif
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!