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?