• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

sending binary files to web service

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic