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
Register / Login


JavaRanch » Java Forums » Java » Web Services
Reply 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: 54
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: 82
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to find the attachment in the SOAP message?
 
Similar Threads
How to access SwA from generated client for JAX-WS
Client for MTOM content transfer in Axis2
XML and SOAP Attachment
File Attachment with WSDL2Java objects
Question about design of WS clients and their handlers