<?xml version="1.0" encoding="utf-8" ?>
<objects xmlns="http://www.springframework.net"
         xmlns:wcf="http://www.springframework.net/wcf">

  <!-- Old fashion way -->
  <!-- returns ChannelFactory<ICalculator>("calculatorEndpoint").CreateChannel() -->
  <!--<object id="serverAppCalculator"
          type="Spring.WcfQuickStart.ICalculator, Spring.WcfQuickStart.Contracts"
          factory-object="serverAppCalculatorChannelFactory"
          factory-method="CreateChannel" />
  
  <object id="serverAppCalculatorChannelFactory"
          type="System.ServiceModel.ChannelFactory&lt;Spring.WcfQuickStart.ICalculator>, System.ServiceModel">
    <constructor-arg name="endpointConfigurationName" value="serverAppCalculatorEndpoint" />
  </object>-->

  <wcf:channelFactory id="serverAppCalculator"
    channelType="Spring.WcfQuickStart.ICalculator, Spring.WcfQuickStart.Contracts"
    endpointConfigurationName="serverAppCalculatorEndpoint" />
  
</objects>

  