• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web Service client with SOAP attachment

 
dipayan chatterjee
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).
 
R Srini
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