Consuming Webservice with 3CX and VAD



I am using 3CX (http://www.3cx.com/) and the VAD(Voice Application Designer http://ift.tt/1zQCdSk) to consume a Webservice.


I am using the Web Interaction to make a POST, I supose to get a XML as the result, just like that:



<PID xmlns:xsi="http://ift.tt/ra1lAU" xmlns:xsd="http://ift.tt/tphNwY" xmlns="http://example.com.br/">
<CodigoRetorno>0</CodigoRetorno>
<DescricaoRetorno>PID OK</DescricaoRetorno>
<Id_Conta>99</Id_Conta>
</PID>


BUT, instead, I am getting:


'<' replaced by '&lt ;' and '>' replaced by '&gt ;'


QUESTIONS:


1 - How can I get the result XML properly formatted?


2 - Does the 3CX has some internal library to read xml or I will have to use the 'External Code Execution'?


No comments:

Post a Comment