• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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
 
This cake looks terrible, but it tastes great! Now take a bite out of this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic