• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

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
 
Doe, a deer, a female deer. Ray, a pockeful of sun. Me, a name, I call my tiny ad ...
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic