S
SevDer
Hi,
I am trying to consume the webservice which is written with Java through the
provided wsdl & xsd definitions.
However there is a slight problem.
Problem is, they are expecting a clean XML but .NET converts my query XML
into escaped form into the SOAP body which makes their service to respond in
the following form:
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>java.lang.IndexOutOfBoundsException:
Index: 0, Size: 0</faultstring><detail><ns1:hostname
xmlns:ns1="http://xml.apache.org/axis/">trajanoxp</ns1:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
Now my question is: Is there a way to prevent this escaping? Or I must write
all the soap from string and send the whole XML string manually?
Thanks for your help in advance.
I am trying to consume the webservice which is written with Java through the
provided wsdl & xsd definitions.
However there is a slight problem.
Problem is, they are expecting a clean XML but .NET converts my query XML
into escaped form into the SOAP body which makes their service to respond in
the following form:
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>java.lang.IndexOutOfBoundsException:
Index: 0, Size: 0</faultstring><detail><ns1:hostname
xmlns:ns1="http://xml.apache.org/axis/">trajanoxp</ns1:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
Now my question is: Is there a way to prevent this escaping? Or I must write
all the soap from string and send the whole XML string manually?
Thanks for your help in advance.