I am new to webservices and currently facing a problem. I was able to send a simple sting as soap request and respond.
but now i want to send attachments with the request. How do i retrieve the attachments (or for that matter the whole contents of the soap request ie soap part and the attachments part). I have tried the following:
1) Tried to have the message as a parameter in a method in service java class and try to invoke the .getAttachments() method. [dont think this is the way to do it]
2)Tried to use a MessageContext as parameter but for that extending "Handler" class but then again when i try to create wsdl throung wsgen tool there is an exception stating can not handle interfaces and points to MessageContext interface.
can anybody help me on how to fetch the contents and attachments of the request?Thanks in advance.
Run away! Run away! Here, take this tiny ad with you: