Forum Discussion

richySoap's avatar
16 years ago

Soap UI XML format with < symbol showing up as "lt&;"

I have been using Soap UI lately and found a bug while displaying XML content in soap response.
I see this issue only when the soap response results tag has one or two xml nodes hierarchy. Not sure if some one noticed the same, if so how to fix the issue. This looks to me like Soap UI bug unless I am missing some thing overlooking at the RAW content.

If the number of nodes in soap response result block grows then the issue wont appear.

why does this happen only with responses consistently.Please some one shadow some light on this.

Here is sample soap response that I have got.

Rawformat:

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Language: en-US
Content-Length: 694
Date: Thu, 15 Jul 2010 16:45:41 GMT
Server: WebSphere Application Server/7.0

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wscoor="http://schemas.xmlsoap.org/ws/2004/10/wscoor"><soapenv:Header><wsat-ext:imported xmlns:wsat-ext="http://www.ibm.com/ws-tx/wsat/2007/12"/></soapenv:Header><soapenv:Body><p140:processMessageResponse xmlns:p140="http://schemas.norkom.com/wsdl/RealTimeLogicServices"><result>&lt;CheckAlertStatusResponse&gt;&lt;Status&gt;Suspected&lt;/Status&gt;&lt;/CheckAlertStatusResponse&gt;</result></p140:processMessageResponse></soapenv:Body></soapenv:Envelope>

XML Format:


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wscoor="http://schemas.xmlsoap.org/ws/2004/10/wscoor">
<soapenv:Header>
<wsat-ext:imported xmlns:wsat-ext="http://www.ibm.com/ws-tx/wsat/2007/12"/>
</soapenv:Header>
<soapenv:Body>
<p140:processMessageResponse xmlns:p140="http://schemas.norkom.com/wsdl/RealTimeLogicServices">
<result>&lt;CheckAlertStatusResponse>&lt;Status>Suspected&lt;/Status>&lt;/CheckAlertStatusResponse></result>
</p140:processMessageResponse>
</soapenv:Body>
</soapenv:Envelope>
No RepliesBe the first to reply