app.config文件如下:
<client>
<endpoint address="http://localhost:8070/platform/services/orderService.do.orderService.doHttpSoap11Endpoint/"
binding="basicHttpBinding" bindingConfiguration="orderService.doSoap11Binding"
contract="ServiceReference1.orderServicedoPortType" name="orderService.doHttpSoap11Endpoint" />
<endpoint address="http://localhost:8070/platform/services/orderService.do.orderService.doHttpSoap12Endpoint/"
binding="customBinding" bindingConfiguration="orderService.doSoap12Binding"
contract="ServiceReference1.orderServicedoPortType" name="orderService.doHttpSoap12Endpoint" />
</client>
1.删除一个endpoint。