web stats
Web Service Sender - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 11-24-2012, 06:44 PM
junlin.xu junlin.xu is offline
What's HL7?
 
Join Date: Nov 2012
Posts: 3
junlin.xu is on a distinguished road
Default Web Service Sender

I created a channel that takes LLP listener and web service sender. The web service was created using WCF service library template, with one method taking an integer and returns a string.

The SAP envelope is as following:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
<soapenv:Header/>
<soapenv:Body>
<tem:GetData>
<!--Optional:-->
<tem:value>1133</tem:value>
</tem:GetData>
</soapenv:Body>
</soapenv:Envelope>

The channel encounter the following error when trying to send a message:

ERROR (org.mule.impl.DefaultComponentExceptionStrategy:9 5): Caught exception in Exception Strategy for: 98e0c83b-eafb-4b82-a696-2640055014f3: java.lang.Exception: javax.xml.ws.soap.SOAPFaultException: The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).

Can anybody help with this problem?

Thanks.
Attached Files
File Type: xml Web Service Sender WCF.xml (8.2 KB, 39 views)
Reply With Quote
  #2  
Old 11-26-2012, 08:33 AM
narupley's Avatar
narupley narupley is offline
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,124
narupley is on a distinguished road
Default

This could be caused by an incorrect setup on the server side, or it might be caused by the missing SOAP Action. There's currently an issue for this (MIRTH-2109) that has already been resolved, and will be rolled out in the next release. In the meantime, you may want to A) Checkout the source code (from the 2.x branch) and build it yourself, or B) use an HTTP Sender instead, and add the action header manually.
__________________
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 06-28-2013, 07:07 AM
sumanth sumanth is offline
Mirth Newb
 
Join Date: Jun 2013
Posts: 9
sumanth is on a distinguished road
Default

remove the filter in your channel that is in source edit filter, if it is not necessary.....if you delete that it will work
Reply With Quote
Reply

Tags
soapfaultexception, wcf

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 10:57 AM.


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