わかりましたので、私は持っています
<system.serviceModel>
<bindings>
<wsDualHttpBinding>
<binding name="ExternalMonitoringBinding"
clientBaseAddress="http://localhost:50000/"
closeTimeout="00:00:30">
<security mode ="None"/>
<reliableSession ordered="false"/>
</binding>
</wsDualHttpBinding>
</bindings>
<services>
<service name="Loop.Nextmove.ExternalMonitoring.NextmoveMonitorService">
<endpoint address="" binding="wsDualHttpBinding" bindingConfiguration="ExternalMonitoringBinding"
contract="Loop.Nextmove.ExternalMonitoring.INextmoveCommunicatorMonitorService">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="http://localhost:8732/Design_Time_Addresses/NextmoveComunicatorHelpdesk/Service1/" />
</baseAddresses>
</host>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior>
<!-- To avoid disclosing metadata information,
set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpGetEnabled="True"/>
<!-- To receive exception details in faults for debugging purposes,
set the value below to true. Set to false before deployment
to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>`
サービスを発見するたびに、クライアントは次のものを取得します。
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<wsDualHttpBinding>
<binding name="WSDualHttpBinding_INextmoveCommunicatorMonitorService"
closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00"
sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false"
hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288"
maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<reliableSession ordered="true" inactivityTimeout="00:10:00" />
<security mode="None">
<message clientCredentialType="Windows" negotiateServiceCredential="true" />
</security>
</binding>
</wsDualHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:8732/Design_Time_Addresses/NextmoveComunicatorHelpdesk/Service1/"
binding="wsDualHttpBinding" bindingConfiguration="WSDualHttpBinding_INextmoveCommunicatorMonitorService"
contract="NextmoveMonitoring.INextmoveCommunicatorMonitorService"
name="WSDualHttpBinding_INextmoveCommunicatorMonitorService">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
</client>
</system.serviceModel>
</configuration>`
ご覧のとおり、それと値の両方を持つ名前付きバインディングを完全に無視しているようclientBaseAddress
ですcloseTimeout
。ただし、セキュリティ モードが正しく none に設定されているため、明らかに正しいことを行っています。
ここで何が間違っていますか?