File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes How to find the attachment in the SOAP message? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to find the attachment in the SOAP message?" Watch "How to find the attachment in the SOAP message?" New topic
Author

How to find the attachment in the SOAP message?

Praveen Kumar Jayaram
Ranch Hand

Joined: Jul 14, 2008
Posts: 56
I am using SOAP UI 2.0 as my web service client. Where I can attach a file as an attachment. How do I detect the attachment at end point side??

I wrote a message handler for the same, but the method takes MessageContext object as a pram. How to get this MessageContext from SOAP request from client.

Thanks in advance..

Best regards


Praveen
Amit G Piplani
Ranch Hand

Joined: Jul 21, 2004
Posts: 83
Hope this tutorial helps

http://java.sun.com/j2ee/1.4/docs/tutorial/doc/SAAJ3.html#wp78677


SCJP,SCWCD,SCBCD,SCDJWS1.4, SCDJWS1.5
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to find the attachment in the SOAP message?