<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <system.serviceModel>
    <bindings>
      <customBinding>
        <binding name="SoapMtomBinding" closeTimeout="00:01:00" sendTimeout="00:10:00">
          <mtomMessageEncoding messageVersion="Soap11" />
          <httpTransport />
        </binding>
      </customBinding>
    </bindings>
    <client>
      <endpoint address="http://localhost:8080/mtom/" binding="customBinding"
          bindingConfiguration="SoapMtomBinding" contract="Spring.Ws.Samples.Mtom.Client.Wcf.ImageRepository"
          name="ImageRepositoryPort" />
    </client>
  </system.serviceModel>
</configuration>