views:

12

answers:

0

Hi,

I use Axis 1 (v1.4) web service client to access a web service that exchanges XML data containing elements of xsd:any type. The XML as a whole is signed with an enveloped digital signature.

The problem I experience is that Axis transforms the XML elements of xsd:any type by replacing the sign > with &gt;, < with &lt;, etc. Once I get the SOAP body from the Axis client and try to validate it, it's no longer valid -- it's understandable, as the whole XML body that was originally signed is no longer equal to the transformed XML returned by Axis' client.

I tried replacing them back into their original counterparts; however, this didn't work out as I'd hoped as there were some legitimate uses of &lt;, &gt;, ... that, after being replaced back, made the XML invalid.

Is there a way to tell the Axis client to not touch the SOAP body it receives?

Thanks.