Bussines Process ends abnormally

Primary tabs

SOAP, Caché, Ensemble

I am sending a HL7 message from a Service called Servicios.Interconsulta PeticionInterconsultav01r00  to a Bussiness Process Process called
EnrutadorVisa doMedicamento using SoapUI

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:hl7-org:v2xml">
   <soapenv:Header/>
   <soapenv:Body>
      <urn:PeticionER7>
         <!--Optional:-->
         <mensaje><![CDATA[MSH|^~\&|sistemaExterno|PETICIONER7, C.S.^12010410|380316|EXTHL7|20170901122402|scsdaeint:VXSn0jEG0OlDz6vIRz5ewA==|ORM^O01^ORM_O01|21147891|E|2.5|1|||AL||ASCII
PID|1|PRPR510419912012|6006642^^^MPI^6006642~PRPR510419912012^^^TISR^PRPR510419912012~42900512S^^^DNI^42900512S|6006642|ANTONIO^PEREZ^PEREZ||19510419000000|M|||C/&TILAMA N-30&6^87^^28^35500||628472410||||||350021672770|||||||||||N|N
PD1|1
PV1|1|1|||||ELIZABEHT DE LEON EXPOSITO|^^^^^^^1201040107W||APLA|12010410||||12010410|||||||||||||||20170901|||||20170905
ORC|NA||00000000||||^^^^^1|21147891|||||CON|||PC^780.6 FIEBRE
OBR|0|||G8002^Iones. (Sangre)||||||||||||||LAB|LAB
NTE|||Datos clinicos de intervencion]]></mensaje>
      </urn:PeticionER7>
   </soapenv:Body>
</soapenv:Envelope>

 

When the message reaches the Process the log says:

 

ERROR <Ens>ErrBPTerminated: Finalizing BP EnrutadorVisadoMedicamento # due to an error: ERROR <Ens>ErrException: <PROPERTY DOES NOT EXIST>zRuntimeConstraintCheck+5^EnsLib.MsgRouter.VDocRuleAssist.1 *DocName,EnsLib.MsgRouter.RoutingEngine -- - registered as '-' number - @' Set cDocName=pContext.DocName, cDocType=pContext.DocType'.
> ERROR <Ens>ErrException: <PROPERTY DOES NOT EXIST>zRuntimeConstraintCheck+5^EnsLib.MsgRouter.VDocRuleAssist.1 *DocName,EnsLib.MsgRouter.RoutingEngine -- - registered as '-' number - @' Set cDocName=pContext.DocName, cDocType=pContext.DocType'.

 

 

The Production is:

The rule:

 

To sum up there are some missing properties: DocName and DocType:

 

And SoapUI gives us the following error code:

ERROR #7106: Stream class I/O %IO.StringStream cannot be closed DocType=pContext.DocType'.

 

What does it mean?

 

  • 0
  • 0
  • 90
  • 1
  • 1

Answers

Did you select EnsLib.HL7.Service.SOAPService as your service's class? If yes, then I know the following XML format works:

 

<?xml version="1.0" encoding="UTF-8" ?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:s='http://www.w3.org/2001/XMLSchema'>

      <SOAP-ENV:Body>

            <Send xmlns="http://tempuri.org">

                  <Input>

                        <![CDATA[MSH|^~\&|... rest of hl7 message here, with <CR><LF> at end

]]>

                  </Input>

            </Send>

      </SOAP-ENV:Body>

</SOAP-ENV:Envelope>

 

Comments

Did u solve this problem? i got the same now when i upgraded ensemble 2012 to 2018.