• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Need help passing XML from client to service

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
These are not the droids you are looking for. Perhaps I can interest you in a tiny ad?
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic