web stats
Mirth Community - View Single Post - New Core Extension Bundle
View Single Post
Old 05-30-2019, 10:04 AM
claudio12 claudio12 is offline
What's HL7?
Join Date: Feb 2018
Posts: 3
claudio12 is on a distinguished road
Default Question about answer in JSONResponse

Good morning Narupley, I am writing you for a consultation. I have a channel with a source (Http Listener) to catch some parameters that are sent by url and then they are sent in the Destination (Webservice Sender) and I get an answer back:

<s: Envelope xmlns: SOAP-ENV = "http://schemas.xmlsoap.org/soap/envelope/" xmlns: s = "http://schemas.xmlsoap.org/soap/envelope/">
****<SOAP-ENV: Header />
****<s: Body>
********<QryLstResponse xmlns = "http://tempuri.org/">
************<QryLstResult xmlns: a = "http://schemas.datacontract.org/2004/07/AXQrWService" xmlns: i = "http://www.w3.org/2001/XMLSchema-instance">
****************<a: AXQrResult>
********************<a: docID> 134-3 </ a: docID>
********************<a: fields>
************************<a: AXField>
****************************<a: AXFieldID> 0 </ a: AXFieldID>
****************************<a: AXFieldName> MEMBER NUMBER </ a: AXFieldName>
****************************<a: AXFieldValue> 9211111 </ a: AXFieldValue>
************************</ a: AXField>
************************<a: AXField>
****************************<a: AXFieldID> 0 </ a: AXFieldID>
****************************<a: AXFieldName> CHECK </ a: AXFieldName>
****************************<a: AXFieldValue> 114 </ a: AXFieldValue>
************************</ a: AXField>
********************</ a: fields>
********************<a: numpages> 2 </ a: numpages>
****************</ a: AXQrResult>
************</ QryLstResult>
********</ QryLstResponse>
****</ s: Body>
</ s: Envelope>

I need to convert this response to JSON and return it to the URL to the application that invokes the URL.
Reply With Quote