Hi all, I am learning WCF and web services in general. I have done several tutorials successfully. I have this one that is being hosted by IIS. I am trying to write a client to consume the service but I can't seem to get the endpoint right. My web config is below. In my client what shoud the end point be? From IE I can successufully enter "http://localhost:8999/HelloWorld.svc" and get the page with links to the wsdl. Thanks
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.serviceModel>
<services>
<service behaviorConfiguration="MyService.HelloWorldBehavior" name="MyService.HelloWorld">
<endpoint address="" binding="wsHttpBinding" contract="MyService.IHelloWorld" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="http://localhost:8999/" />
</baseAddresses>
</host>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="MyService.HelloWorldBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.serviceModel>
<services>
<service behaviorConfiguration="MyService.HelloWorldBehavior" name="MyService.HelloWorld">
<endpoint address="" binding="wsHttpBinding" contract="MyService.IHelloWorld" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="http://localhost:8999/" />
</baseAddresses>
</host>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="MyService.HelloWorldBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration>