I have a simple web service running on my glasfish:
I am calling the web service through the SAAJ API and able to call it successfully , now my question is if I attached a file with the SOAP request using AttachmentPart then how can my web service operation ( add operation ) is able to get that attachment or complete SOAP message in case if it wants to.
Also let me know if anyone has any sample example where client is sending SOAP with Attachment and webservice is consuming the attachment.
Regards, Abdul Mohsin
Joined: Mar 22, 2005
Check out the "mime" and "mime-large" samples that come with the JAX-WS distribution.