I have the following scenario that I'm trying to test for:
- A common WSDL
- WCF endpoint that implements objects based on the WSDL and is hosted in IIS.
- A client app that uses a proxy based off the WSDL to create requests.
When I make a web service call from the client to the service endpoint, I get the following exception:
{"The message with Action 'http://IMyService/CreateContainer' 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)."}
I started using MS Service Trace Viewer, but not sure where to look. While looking at classes in client and the endpoint, they appear identical.
How does one begin to debug this problem?
What are some possible causes to this exception?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…