14 years ago
XML encoding question
I'm developing a solution which consumes a web service (developed with one of .Net technologies) that accepts a string conveying a XML content.
My calls fail, while sample .Net code works just fine.
So we used soapUI Pro to consume the service and see what happens. This didn't work either.
We've used a network analyzer and found out that request from soapUI and from my environment (which is a Java based ESB) look the same:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:web="http://schemas.microsoft.com/crm/2006/WebServices">
<soap:Header/>
<soap:Body>
<web:is_Valid_Email>
<!--Optional:-->
<web:xml><root/></web:xml></web:is_Valid_Email>
</soap:Body>
</soap:Envelope>
As you can see the encoding of ">" for some reason is not performed.
The same request sent from .Net code does perform the complete encoding.
We used soapUI Pro to prepare the service request in the Form view mode.
Is this an expected encoding behavior?
My calls fail, while sample .Net code works just fine.
So we used soapUI Pro to consume the service and see what happens. This didn't work either.
We've used a network analyzer and found out that request from soapUI and from my environment (which is a Java based ESB) look the same:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:web="http://schemas.microsoft.com/crm/2006/WebServices">
<soap:Header/>
<soap:Body>
<web:is_Valid_Email>
<!--Optional:-->
<web:xml><root/></web:xml></web:is_Valid_Email>
</soap:Body>
</soap:Envelope>
As you can see the encoding of ">" for some reason is not performed.
The same request sent from .Net code does perform the complete encoding.
We used soapUI Pro to prepare the service request in the Form view mode.
Is this an expected encoding behavior?