The output of a webMethods service is in the form of soapData.
wM service response:
<?xml version="1.0"?><soap:Envelope xmlns:soap=“http://schemas.xmlsoap.org/soap/envelope/”>
soap:Body
<qas:QASearchResult xmlns:qas=“http://www.qas.com/web-2005-02” VerifyLevel=“None”>
<qas:QAPicklist AutoFormatSafe=“true”>
qas:FullPicklistMonikerQMGBRFQPeBwMBAQABAACUo6IAAAAAADIAZA–</qas:FullPicklistMoniker>
<qas:PicklistEntry FullAddress=“true”>
But when I test the service in SOAP UI, response message is returned in a CDATA section inside Values element and not as XML.
SOAP UI response:
<![CDATA[<?xml version="1.0"?>
<soap:Envelope xmlns:soap=“http://schemas.xmlsoap.org/soap/envelope/”>
soap:Body
<qas:QASearchResult xmlns:qas=“http://www.qas.com/web-2005-02” VerifyLevel=“None”>
qas:QAPicklist
The response content is treated as string and not parsed as XML.
But I need the ouput message as it is… i.e as soapData and not inside a CDATA section.
Is there anyway to indicate that the response message is a valid xml and it should not be treated as string.
I tried to do string to node,node to doc conversions, but nothing worked.