Hello,

 

Using Axis 2 1.1.1, I was able to successfully run the
soapwithattachments example.

 

After this service was deployed, I was then trying to use the WSDL2Java
tool on the deployed WSDL (
http://localhost:7010/axis2/services/SWASampleService?wsdl) and use ADB
binding in creating another client to access this service.

 

In the provided example client, it is following along the POJO route and
must use the MessageContext to add the attachment.

 

My question is how do I add the attachment using the resultant stub code
from WSDL2Java? I have attached the client code I am trying to use.

 

Thanks for the help.

 

 

 

Jonathan Heh

Engineer/Analyst, Northrop Grumman Integrated Systems

Main: (843) 744-7520 

Direct: (843) 377-0645 ext 153

FAX: (843) 744-7521

[EMAIL PROTECTED]

 

Attachment: SWAClient.java
Description: SWAClient.java

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to