• 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

How to invoke webservice with an attachmnet

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Ranchers,

I am trying to create a web service that have invoke existing web service and apart from that it is also passing a file as an attachment.
Please suggest some options how to implement this.



Thanks in advance,
Abhishek
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What web service API and web service toolkit are you using?
More importantly - what is the existing web service using to handle the attachment (there a a few options).

In general:
Handling attachments in SOAP
SOAP attachments with JAX-RPC
Process attachments using JAX-RPC handlers
Send binary data without using attachments
Fear of Attachments (pdf)
Web Services, Opaque Data, and the Attachments Problem

Using Web Service to Send Image File (JAX-WS/MTOM)
JAX-WS MTOM and Swaref
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic