Title: How do you remove encoding - newbie question!

This is probably really simple and hopefully I don't get a RTFM response (or at least let me know the page number!), but I didn't see an answer in the historical posts for this specific question.

Question: In the response, how do I get the return value to NOT be encoded - the &lt; should be '<'

From tcpmon here are my request and partial return values:

**** Request - Looks fine
<?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>
  <ns1:getXML soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://webservice">
   <in0 xsi:type="xsd:string">select * from decode where cid like &apos;STATE%&apos; AND ccode like &apos;C%&apos;</in0>

  </ns1:getXML>
 </soapenv:Body>
</soapenv:Envelope>

**** Response
<?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>
  <ns1:getXMLResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://webservice">
   <ns1:getXMLReturn xsi:type="xsd:string">&lt;ROWSET&gt;
        &lt;ROW num=&quot;0&quot;&gt;
                &lt;cid&gt;STATE                &lt;/cid&gt;
                &lt;ccode&gt;CE         &lt;/ccode&gt;
                &lt;cdecode&gt;Centre           &lt;/cdecode&gt;
        &lt;/ROW&gt;
        ….
        &lt;/ROWSET&gt;</ns1:getXMLReturn>
  </ns1:getXMLResponse>
 </soapenv:Body>
</soapenv:Envelope>    

Reply via email to