如何从 XML SOAP (取自 DB)中提取 RAW HL7message并使用端点将其发送到 HL7://localhost:20101 服务器?
我有这个消息正文:
<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<row xmlns="SERVICE_HL7IN">
<DATA1>
MSH|^~\&|||||20210414014542.151+0200||MDM^T04^MDM_T02|401|T|2.5
</DATA1>
</row>
</soapenv:Body>
我需要将此发送到端点:
MSH|^~\&|||||20210414014542.151+0200||MDM^T04^MDM_T02|401|T|2.5
这是顺序:
<sequence>
<log level="custom">
<property expression="$body" name="outbod"/>
</log>
<property expression="//xsi:row/xsi:DATA1" name="sendmsg" scope="default" type="STRING"/>
<log level="custom">
<property expression="get-property('sendmsg')" name="outb"/>
</log>
<property name="HL7_RESULT_MODE" scope="axis2" type="STRING" value="ACK"/>
<property expression="get-property('sendmsg')" name="body" scope="axis2" type="STRING"/>
<payloadFactory media-type="text">
<format>
$1
</format>
<args>
<arg expression="get-property('sendmsg')">
</arg>
</args>
</payloadFactory>
<property name="messageType" scope="axis2" type="STRING" value="application/edi-hl7"/>
<property name="contentType" scope="axis2" type="STRING" value="application/edi-hl7"/>
<log level="full" />
<send>
<endpoint>
<address uri="hl7://localhost:20101"/>
</endpoint>
</send>
</sequence>
感谢任何帮助或建议