Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sending binary files to web service

 
bodlapati trivedi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to send binary files to web service as soap with attachments. Sending soap with attachments is ok, but how do we define the signature of web service? and how to access the attachment in the web service. My requirement was.. i need to send some data along with binary file(as attachment) to my web service: means my web service signature should look like:
public void getAttachment(String data1, Attachment binaryFile) {

}
=======
Some thing like this i want todo.. but i was unable to find single example on this. i was trying this for long time, couldnt be able to find solution. Pls it would be great help if someone helps me in this.

Thanks in advance.
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch!

Looked at SOAP attachments with JAX-RPC yet?

You may find other resources of interest on the Web Services FAQ.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic