13,347
社区成员
发帖
与我相关
我的任务
分享
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="metadataBehavior">
<serviceMetadata httpGetEnabled="true" httpGetUrl="http://localhost:8080/CalculatorService/metadata"/>
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service behaviorConfiguration="metadataBehavior" name="PCC.WcfStudy.Service.CalculatorService">
<endpoint contract="PCC.WcfStudy.Contract.ICalculator"
binding="wsHttpBinding"
address="http://localhost:8080/CalculatorService">
</endpoint>
</service>
</services>
</system.serviceModel>
</configuration>