Mirth Community

Mirth Community (http://www.mirthcorp.com/community/forums/index.php)
-   Support (http://www.mirthcorp.com/community/forums/forumdisplay.php?f=6)
-   -   SOAP error (http://www.mirthcorp.com/community/forums/showthread.php?t=9330)

Chris.ACH 09-24-2013 09:39 AM

SOAP error
 
Hello has anyone else encountered this error before or know how I can fix it?

Here is the error:

[2013-09-24 11:15:16,757] ERROR (Server:146): Sep 24, 2013 11:15:16 AM com.sun.xml.internal.ws.client.RequestContext fill
[2013-09-24 11:15:16,773] ERROR (Server:146): WARNING: BindingProvider.SOAPACTION_URI_PROPERTY is set in the RequestContext but is ineffective, Either set BindingProvider.SOAPACTION_USE_PROPERTY to true or enable AddressingFeature


I am using Mirth Connect 2.1.1.5488. This process is working, but it is spamming my Mirth console log with the error. I am querying our state registry for immunization records and they send me a respose to the query. The query and message are in HL7 format but they are embedded in a SOAP envelope. I am using Mirths embedded web service sender to embed the HL7 message in a SOAP envelope and send the query.

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:tem="http://tempuri.org/">
<soap:Header/>
<soap:Body>
<tem:ExecuteHL7Message>
<!--Optional:-->
<tem:userName></tem:userName>
<!--Optional:-->
<tem:password></tem:password>
<!--Optional:-->
<tem:flatWire><![CDATA[${message.encodedData}]]></tem:flatWire>
</tem:ExecuteHL7Message>
</soap:Body>
</soap:Envelope>

When I receive the response I am using this javascript statement to extract the HL7 messages from the soap envelope.

var soap = new Namespace('http://www.w3.org/2003/05/soap-envelope');
var tempuri = new Namespace('http://tempuri.org/');

tmp = new XML(SerializerFactory.getHL7Serializer().toXML(msg .soap::Body.tempuri::ExecuteHL7MessageResponse.tem puri::ExecuteHL7MessageResult.toString()));

Here is an example of a response message from the state with the HL7 message removed for PHI reasons.

SUCCESS: <?xml version="1.0" encoding="UTF-8" standalone="no"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Header/><soap:Body><ExecuteHL7MessageResponse xmlns="http://tempuri.org/"><ExecuteHL7MessageResult>
HL7 Removed here.
</ExecuteHL7MessageResult></ExecuteHL7MessageResponse></soap:Body></soap:Envelope>


This error make sense to anyone?

narupley 09-24-2013 10:38 AM

That may be related to MIRTH-2109, fixed in 2.2.2 and 3.0.

Chris.ACH 09-24-2013 11:17 AM

Thanks Narupley! I have the upgrade to 2.2.3 on my to do list in the next month. Just waiting on an HIS upgrade to happen in the next few weeks before I change anything with Mirth.


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

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