Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Web Services and the fly likes Need help passing XML from client to service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Need help passing XML from client to service" Watch "Need help passing XML from client to service" New topic
Author

Need help passing XML from client to service

Donna Reschke
Greenhorn

Joined: Jun 20, 2001
Posts: 17
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need help passing XML from client to service
 
Similar Threads
Newbie to Axis webservices
General Document Style Validation Questions
using XSD to generate XML document
web services help
Apache Axis wsdl2java tool