0

I have a WCF service which tested on local machine. Now, Installed service on remote machine is not called by client. I checked netstat, Client has connected to service (ESTABLISHED), But the WCF method has not been called by client.

Where is the problem ? Server:

<system.serviceModel>
    <services>
        <service name="EH.Service.CAgentManager_MainService">
            <endpoint address="" binding="wsDualHttpBinding" contract="EH.Service.IAgentManager_MainService">
                <identity>
                    <dns value="localhost" />
                </identity>
            </endpoint>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
            <host>
                <baseAddresses>
                    <add baseAddress="http://10.10.10.53:8732/Design_Time_Addresses/EH.Service/AgentManager_MainService/" />
                </baseAddresses>
            </host>
        </service>
    </services>
</system.serviceModel>

Client:

<system.serviceModel>
    <bindings>
        <wsDualHttpBinding>
            <binding name="WSDualHttpBinding_IAgentManager_MainService" closeTimeout="00:00:05"
                openTimeout="00:00:05" receiveTimeout="00:00:10" sendTimeout="00:00:10"
                bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
                maxBufferPoolSize="52428800" maxReceivedMessageSize="6553600"
                messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true">
                <readerQuotas maxDepth="32" maxStringContentLength="8192000" maxArrayLength="16384000"
                    maxBytesPerRead="4096" maxNameTableCharCount="16384" />
                <reliableSession ordered="true" inactivityTimeout="00:01:00" />
                <security mode="Message">
                    <message clientCredentialType="Windows" negotiateServiceCredential="true"
                        algorithmSuite="Default" />
                </security>
            </binding>
        </wsDualHttpBinding>
    </bindings>
    <client>
        <endpoint address="http://10.10.10.53:8732/Design_Time_Addresses/EH.Service/AgentManager_MainService/"
            binding="wsDualHttpBinding" bindingConfiguration="WSDualHttpBinding_IAgentManager_MainService"
            contract="AgentManagerServiceReference.IAgentManager_MainService"
            name="WSDualHttpBinding_IAgentManager_MainService">
            <identity>
                <dns value="localhost" />
            </identity>
        </endpoint>
    </client>
</system.serviceModel>
Behrouz.M
  • 3,445
  • 6
  • 37
  • 64

0 Answers0