Hello,

I am submitting a SOAP message with an attachment to a web service using
Axis 1.1. To implement a messaging service I have to use one of the
following method signatures:

public Element [] method(Element [] bodies); 
public SOAPBodyElement [] method (SOAPBodyElement [] bodies); 
public Document method(Document body); 
public void method(SOAPEnvelope req, SOAPEnvelope resp); 

I've chosen to use the last one, but I cannot find a way to retrieve the
attachment since I only have a reference to the SOAP envelope rather than
the message itself. Could someone please tell me how I can access the entire
SOAP message so that I can extract my attachment.

Thanks,

Greg

<<attachment: winmail.dat>>

Reply via email to