none
wsDualHttpBinding 在iis环境上无法打开通道 RRS feed

  • 问题

  • wsDualHttpBinding 在iis环境上无法打开通道,总是提示超时,在自寄宿的却可以

     

     

    服务端

    <bindings>

    <wsDualHttpBinding>
    <binding name="NoneSecurityDual" maxBufferPoolSize="12000000" maxReceivedMessageSize="12000000" useDefaultWebProxy="false" >
    <security mode="None"></security>
    <readerQuotas maxStringContentLength="12000000" maxArrayLength="12000000"/>
    </binding>
    </wsDualHttpBinding>
    </bindings>

     

    <service>

    <service name="PeachPaper.Services.SystemService" >
    <endpoint address="" binding="wsDualHttpBinding" bindingConfiguration="NoneSecurityDual"
    contract="PeachPaper.Services.ISystemService" >
    </endpoint>

    </service>

     

     

    客户端

     

    <endpoint address="http://192.168.0.8:81/SystemService.svc" binding="wsDualHttpBinding"
    bindingConfiguration="WSDualHttpBinding_SystemService" contract="PeachPaper.Services.ISystemService"
    name="PeachPaper.Services.SystemService" />

     

     

    2011年11月15日 5:30

全部回复