• Post Reply Bookmark Topic Watch Topic
  • New Topic

What's the best way to send xml to a web service?

 
Rick Reumann
Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Currently I'm using Axis2 and I have a single service that takes a String as a parameter. What I need to send to this service is some XML. I thought I'd be able to send it as a String but I'm running into trouble doing that (I've even tried surrounding it with <![CDATA[ ]]> (I get an error about Unexpected close tag </body> . Should I not send this XML as a String? Maybe I should expose the parameter as Document and send a Document object instead?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!