Hi,
In my WSDL my reponse I have it setup to be like this:
<message name='getPartsResponse'>
<part name='Result' type='xsd:string'/>
</message>
The problem I am having is that what I am sending in the response is XML and not an string. As a result of this I am getting the XML of the response (not the XML SOAP Response (that is ok)) with HTML entities instead of the < and > XML has.
This is what I get:
<SOAP-ENV:Body>
<ns1:getPartsResponse>
<Result xsi:type="xsd:string">
< ;catalog> ;
< ;result id="1"> ;
< ;part> ;AAAAAAAAAAA< ;/part> ;
< ;qty>0000000000< ;/qty> ;
< ;mfg> ;XXXXXXXXXXXXX< ;/mfg> ;
< ;/result> ;
< ;result id="2"> ;
< ;part> ;BBBBBBBBBBB< ;/part> ;
< ;qty>11111111111< ;/qty> ;
< ;mfg> ;ZZZZZZZZZZZZZ< ;/mfg> ;
< ;/result> ;
< ;/catalog> ;
</Result>
</ns1:getPartsResponse>
</SOAP-ENV:Body>
And this is what I want to get:
<SOAP-ENV:Body>
<ns1:getPartsResponse>
<Result xsi:type="xsd:string">
<catalog>
<result id="1">
<part>AAAAAAAAAAA</part>
<qty>0000000000</qty>
<mfg>XXXXXXXXXXXXX</mfg>
</result>
<result id="2">
<part>BBBBBBBBBBB</part>
<qty>11111111111</qty>
<mfg>ZZZZZZZZZZZZZ</mfg>
</result>
</catalog>
</Result>
</ns1:getPartsResponse>
</SOAP-ENV:Body>
What am I missing?
Thank you.