Expand my Community achievements bar.

CDATA not parsed in web service call

Avatar

Level 1

Hi,

I'm using the Web Service Call service in a process to call a .NET-based web service. Here is the response LiveCycle obtains from the web service:

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soap:Body>
      <ObtenerInstitucion_XMLResponse xmlns="http://tempuri.org/">
         <ObtenerInstitucion_XMLResult><![CDATA[<NewDataSet>
  <Table>
    <id>1503</id>
    <Nombre>CONSEJO PARA LA TRANSPARENCIA</Nombre>

(...)
      </Table>
</NewDataSet>]]></ObtenerInstitucion_XMLResult>
      </ObtenerInstitucion_XMLResponse>
   </soap:Body>
</soap:Envelope>

I created a "response" variable of type XML, which I set as the target of the call service's "Response" output parameter, and a "cdata" variable of type list and subtype document, which I set as the target of "CDATA list" output parameter.

After calling the web service, the "response" variable contains the XML I pasted above; the cdata variable, however, is empty, which obviously is not the expected outcome, as the response does contain a CDATA section. What could be the problem?

0 Replies