Click here to Skip to main content
15,867,771 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to create a webservice but am bound to a client dictating the wsdl. The client can not be changed. The client uses RPC and is sending an empty soap action. So i tried setting the "SoapServiceRoutingStyle" to "RequestElement" instead. Sadly the client still throws the following error : The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. The Soap Message looks like this :

XML
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://xxx">
<s:Header xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <To s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">http://xxx.svc</To>
    <Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none"></Action>
</s:Header>
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <ns1:keepalive>
        <in0 xmlns="">Message is here</in0>
    </ns1:keepalive>
</SOAP-ENV:Body>

Am i missing something concerning the usage of SoapServiceRoutingStyle ?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900