I am writing a client connecting to a web service containing operations that
return MIME attachments.  I have no control over this web service -- I am
simply trying to consume it (hence I cannot change it to use MTOM).  I have
been connecting to the web service and consuming these MIME attachments
using Axis 1, so I know that the web service is functioning correctly.

 

I would now like to upgrade to Axis2 1.4.  I have generated ADB client
bindings using wsdl2java.  However, I have been unsuccessful in retrieving
these MIME attachments.

 

1) Does anyone have an example of retrieving MIME attachments while using
ADB?

 

2) Can anyone offer any advice on how best to go about this as every attempt
I've made has been unsuccessful?  I've been modifying the generated stubs
just to see if I could get the attachment and while I see the attachment
coming across the wire (using a TCP tunnel), I'm not sure that Axis2 is
recognizing the MIME attachment.  I can't find any references to it as I
step through the debugger.

 

Any advise would be greatly appreciated.

 

Thanks,

 

Scott

Reply via email to