SOAP Envelope issue "The message with Action ” cannot be processed"

Kleber Kleber Community Kleber SOAP Service SOAP Envelope issue "The message with Action ” cannot be processed"

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #2799
    dtsupport
    Keymaster

    If you are attempting to program the Kleber into your system/application using the SOAPEnvelope method then it is likely you will come across the following response:

    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
    <s:Fault>
    <faultcode xmlns:a="http://schemas.microsoft.com/ws/2005/05/addressing/none">
    a:ActionNotSupported
    </faultcode>
    <faultstring xml:lang="en-US">
    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).
    </faultstring>
    </s:Fault>
    </s:Body>
    </s:Envelope>
     

    You may also find yourself getting a ‘500’ error when attempting to debug (use a try/catch to get the correct error response). The solution to this issue is simple to fix by making sure that you add the following to your HttpRequest:

    req.Headers.Add("SOAPAction: \"http://tempuri.org/IDtKleberService/ProcessXmlRequest\"");

    Below is a sample C# project that has been tested.

    SOAP Envelope C# console project

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.