Hi,

I've been reading up on WCF online / books etc.

If possible, please could you let me know if the following is correct.

1. A Service Contract is created in the form of an interface by decorating it with the ServiceContract / OperationContract attributes etc.

2. The implementation for this interface is then provided in a class.

3. The endpoint is configured in the following format:

<endpoint address="http://localhost:8080/somename/somenameservice"
binding="basicHttpBinding" contract="somename.somename.InterfaceName"

My question is: In the 'Contract' section of the endpoint, is this specifying that only methods/members of a class that implements the InterFace created earlier can be invoked by a client application attempting to consume the service?

For example if my interface (IMyInterface) includes a method called GetName()
I then implement this in a class.
I then provide the following endpoint contract:
contract="somename.somename.IMyInterface"

Does this mean that my client app can use only the method specified in the Interface name specified in the contract above (IMyInterface)?

Thanks

Hope this makes sense.