web stats
SOAP error - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 09-24-2013, 08:39 AM
Chris.ACH Chris.ACH is offline
Mirth Newb
 
Join Date: Sep 2012
Posts: 20
Chris.ACH is on a distinguished road
Default 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:-->
<temassword></temassword>
<!--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?
Reply With Quote
  #2  
Old 09-24-2013, 09:38 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,111
narupley is on a distinguished road
Default

That may be related to MIRTH-2109, fixed in 2.2.2 and 3.0.
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
  #3  
Old 09-24-2013, 10:17 AM
Chris.ACH Chris.ACH is offline
Mirth Newb
 
Join Date: Sep 2012
Posts: 20
Chris.ACH is on a distinguished road
Default

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.
Reply With Quote
Reply

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 06:40 PM.


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