Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help passing XML from client to service

 
Donna Reschke
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK,
I had been using Axis 1.0 successfully and now we are upgrading to Axis 1.1 and nothing is working!!! Please help. I want to pass an XML file converted to an InputStream and pass that into my service. Can someone post some sample code as to how to do this with the Call methods? I had been using ServiceClient and now that doesn't exist in Axis 1.1 anymore. AAGGHH. The service must also return an XML to the requestor. I had used the setRequestMessage method to pass in the InputStream and I don't know how to do this with the Call methods. I had also been using a Message style service but now it seems I need to change that to RPC? I just don't know??!! My service method was something like this doSubmission (MessageContext msgCxt, Document inDoc) where the inputStream was passed in as a Document type. Does anyone have anything that can help me upgrade without rewriting all my code?
Thanks, Donna
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic