You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Charles Goddard <cg...@tampabay.rr.com> on 2008/05/29 13:23:33 UTC

Axis2 XML String Escaped

Is it possible to pass XML data as a string without it being escaped?

I am calling the Calais web service, which takes the XML document...

<c:params xmlns:c="http://s.opencalais.com/1/pred/" xmlns:rdf="
http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<c:processingDirectives c:contentType="text/txt"
c:outputFormat="xml/rdf"></c:processingDirectives>
<c:userDirectives c:allowDistribution="true" c:allowSearch="true"
c:externalID="17cabs901" c:submitter="ABC"> </c:userDirectives>
<c:externalMetadata></c:externalMetadata>
</c:params>

...as a String element type.  The service returns an error stating the XML
document is invalid (because it is escaped).
Regards,

Charles