wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to find the attachment in the SOAP message?
 
Similar Threads
Question about design of WS clients and their handlers
File Attachment with WSDL2Java objects
XML and SOAP Attachment
How to access SwA from generated client for JAX-WS
Client for MTOM content transfer in Axis2