File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Few questions

 
Vladan Radovanovic
Ranch Hand
Posts: 216
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 84
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 216
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic