Ex:
[ServiceContract(Name="IGoodbyeService")] public interface IHelloService { [OperationContract] string GetMessage(string name); }
Now the contract name would be IGoodbyeService rather than IHelloService.
To verify in the WSDL generated check the porttype property it should be IGoodbyeService
Note: Same can be done for OperationContract as well
0 comments:
Post a Comment