Hi,
I have a web service listener channel in which I want to return an XML.
I take the response from one channel destination
Mirth automatically wraps the response inside CDATA like this
I want show direct XML inside <return> tag.
How I can remove this CDATA wrap?
Thanks,
carles
I have a web service listener channel in which I want to return an XML.
I take the response from one channel destination
Mirth automatically wraps the response inside CDATA like this
Code:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <S:Body xmlns:ns2="http://ws.connectors.connect.mirth.com/"> <ns2:acceptMessageResponse> <return><![CDATA[<xml><nhc>12345</nhc><nom>XXXX</nom><cognom1>XXXXXX</cognom1><cognom2>XXXXX</cognom2><dnaix>2018-10-15</dnaix></xml>]]></return> </ns2:acceptMessageResponse> </S:Body> </S:Envelope>
How I can remove this CDATA wrap?
Thanks,
carles
Comment