wood burning stoves 2.0*
The moose likes Web Services and the fly likes Few questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Few questions" Watch "Few questions" New topic
Author

Few questions

Vladan Radovanovic
Ranch Hand

Joined: Mar 20, 2000
Posts: 216
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
Cory Wilkerson
Ranch Hand

Joined: Aug 14, 2001
Posts: 84
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).
Vladan Radovanovic
Ranch Hand

Joined: Mar 20, 2000
Posts: 216
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Few questions
 
Similar Threads
Bad envelope tag: html
Axis Fault
Axis2 (1.5) - Use App Server's Admin console to deploy EAR, WAR, JAR|| Message service in Axis2
Sending requests in xml
WSDP and AXIS