<configuration> <system.serviceModel> <bindings> <!--<wsHttpBinding> <binding name="wsHttpEndpointBinding"> <security mode="None" > <message clientCredentialType="Certificate" /> </security> </binding> </wsHttpBinding>--> </bindings> <services> <service name="HelloService.HelloService" behaviorConfiguration="mexBehaviour"> <endpoint address="HelloService" binding="basicHttpBinding" contract="HelloService.IHelloService"></endpoint> <endpoint address="mex" binding="mexHttpBinding" contract="HelloService.IHelloService"></endpoint> <host> <baseAddresses> <add baseAddress="http://localhost:8181/HelloService"/> </baseAddresses> </host> </service> </services> <behaviors> <serviceBehaviors> <behavior name="mexBehaviour"> <serviceMetadata httpGetEnabled="true"/> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel> </configuration>
<endpoint address="mex"> binding="mexHttpBinding" contract="IMetadataExchange" /></endpoint>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)