web stats
Mirth process each node. - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 10-13-2014, 09:26 AM
andresilva3 andresilva3 is offline
OBX.1 Kenobi
 
Join Date: Oct 2014
Posts: 27
andresilva3 is on a distinguished road
Default Mirth process each node.

Let's say that I have a Web Service returns a XML that contains several Table nodes like this:

Quote:
<Table diffgr:id="Table1" msdata:rowOrder="0">
<SE_EventoID>1</SE_EventoID>
<SE_SistemaExternoID>1</SE_SistemaExternoID>
<Dop_ID>317497</Dop_ID>
<SE_Sentido>Saida</SE_Sentido>
<SE_DestinoID>CPC</SE_DestinoID>
<SE_Exames>CR;G;K</SE_Exames>
<SE_Evento>RequisicaoInserir</SE_Evento>
<SE_DtCriacao>2010-04-29T10:52:37.03+01:00</SE_DtCriacao>
</Table>
<Table diffgr:id="Table2" msdata:rowOrder="1">
<SE_EventoID>2</SE_EventoID>
<SE_SistemaExternoID>1</SE_SistemaExternoID>
<Dop_ID>317498</Dop_ID>
<SE_Sentido>Saida</SE_Sentido>
<SE_DestinoID>CPC</SE_DestinoID>
<SE_Exames>FAMIC</SE_Exames>
<SE_Evento>RequisicaoInserir</SE_Evento>
<SE_DtCriacao>2010-04-29T10:52:37.64+01:00</SE_DtCriacao>
</Table>
I need to call another webservice for each existing Table node and I just can't get my head around this. I would like to call another WS passing DOP_ID of the first node, create an HL7 file, and then call that same WS passing DOP_ID of the second node and so on. In theory how could I do this? Is there someway to "trigger" a certain channel and pass a XML? This way, for each node I would trigger it and in that channel I would call the other WS.

Last edited by andresilva3; 10-13-2014 at 09:34 AM.
Reply With Quote
  #2  
Old 10-15-2014, 09:34 AM
andresilva3 andresilva3 is offline
OBX.1 Kenobi
 
Join Date: Oct 2014
Posts: 27
andresilva3 is on a distinguished road
Default

Bump.
Reply With Quote
Reply

Tags
node, webservice

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 09:41 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation