Announcement

Collapse
No announcement yet.

Web Service Sender

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    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.

    Comment


    • #3
      remove the filter in your channel that is in source edit filter, if it is not necessary.....if you delete that it will work

      Comment

      Working...
      X