Win a copy of Learning Regular Expressions this week in the General Computing forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Web Service client with SOAP attachment  RSS feed

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can anyone please post any code on Web service(with SOAP attachment) client which has the attachment type as Octet Stream(MIME Type Mapping as application/octet-stream).
 
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could look at Use the SAAJ APIs to create and manipulate a SOAP message, and then use application/octet-stream as the mime type (instead of ). It should work fine. Please try it out.
 
dipayan chatterjee
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Srini

Thanks for replying and posting the link to the article . I am working on a project the involves developing a web service using apache axis . gladly i have been able to develop a small web service client and server(I am new to web services and have no previous experience about the same) I have also been able to send parameters to remote method as SOAP attachments but am unable to extract the SOAP response sent by the server on client side

Can you provide some code illustrating how to extract SOAP attachment using apache AXIS or a link to some sort of online tutorial or resource to do the same


Thanks in advance
 
R Srini
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dipayan. Please see this tutorial for Axis2.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!