Source

com.aschneider.examples.wcf / com.aschneider.examples.wcf.server / com.aschneider.examples.wcf.server / app.config

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <system.serviceModel>
    <services>
      <service name="com.aschneider.examples.wcf.services.EchoService">
        <host>
          <baseAddresses>
            <add baseAddress="http://localhost:8000/EchoService"/>
            <!--<add baseAddress="net.pipe://localhost/EchoService"/>-->
          </baseAddresses>
        </host>
      </service>
    </services>
    <behaviors>
      <serviceBehaviors>
        <behavior>
          <serviceMetadata httpGetEnabled="true"/>
          <serviceDebug includeExceptionDetailInFaults="true"/>
        </behavior>
      </serviceBehaviors>
    </behaviors>
  </system.serviceModel>
</configuration>