I am not being able to understand few things and maybe someone here can help me. Been looking at the axis for the past couple of days and I am failing to find an adequate example there. I need to have my web service return a message that I will create based on the let's say string input parameter, meaning, I want to return a message that will include few xml documents in soap body and few attachments in the SOAPMessage. Only then I want to return this message to the client. However if one is using message type service, axis only accepts these method signatures:
Am I missing something really simple here or ??? TIA
Joined: Aug 14, 2001
Can you explain a bit more? Is your issue in the return type or in the parameter? The params you're being passed with a message style service should be ample enough to allow you to pull params or generate a good response with the data you're wanting to add. SAAJ provides a full API for low-level SOAP Processing (parsing input params/adding multipe xml "documents"/adding attachments).
Joined: Mar 20, 2000
Cory, thank you for the reply. What I wanted is to have a service which will return a SOAPMessage which I will be able to manipulate just before returning. JAXM and jwsdp1.1 finally provided me with and example of what I wanted. I still don't know how can one do the same thing with axis.