Error/Exceptions

WCF Contract Mismatch Error

You may encounter this error during your WCF service development and client testing. This error could happen in any one of the following situations:

1) If you are trying to implement a service contract provided by some one and you have manipulated that contract during your implementation, in this case the existing client who is referring the contract provided by some one will lead to this error because the client doesn't know about your new changes.

How you can fix this? Simply, ask client to update the service reference.

2) Let say, there is an already existing client which is referring to an existing service, a simple change in either Service contract or its data contract or its operation contract attributes will lead to this error.

How you can fix this? Simply, ask client to update the service reference.

No comments:

Post a Comment