Click here to Skip to main content
15,887,477 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have .NET 2.0 web service and I am trying to consume partner's web service by adding service reference. I am getting proper response from partner's web service whenever I debug the code on local machine. But when I deploy the code on test or UAT server I get the error message as
There was no endpoint listening at http://domain.com/MXWebServices.asmx that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.


To check the connectivity on test or UAT server I invoked the partner's web service method through Chrome's postman plugin and I got the proper response.

Can anybody help me resolving this issue.

Please find the configurations in web.config of my web service.

<system.serviceModel>
    <bindings>
      <basicHttpBinding>
        <binding name="isMXTransfer Web ServicesSoap" closeTimeout="00:10:00"
            openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
            allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
            maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
            messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
            useDefaultWebProxy="true">
          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
              maxBytesPerRead="4096" maxNameTableCharCount="16384" />
          <security mode="None">
            <transport clientCredentialType="None" proxyCredentialType="None"
                realm="" />
            <message clientCredentialType="UserName" algorithmSuite="Default" />
          </security>
        </binding>
      </basicHttpBinding>
    </bindings>
    <client>
      <endpoint address="http://domain.com/MXWebServices.asmx"
          binding="basicHttpBinding" bindingConfiguration="isMXTransfer Web ServicesSoap"
          contract="WeblinkService.isMXTransferWebServicesSoap" name="isMXTransfer Web ServicesSoap" />
    </client>
  </system.serviceModel>


What I have tried:

To check the connectivity on test or UAT server I invoked the partner's web service method through Chrome's postman plugin and I got the proper response.
Posted
Comments
Member 10258454 27-Apr-18 1:32am    
i have deployed WCF service on server and on server SSL certificate installed.
now i want to use this service in my WPF application but i am getting same error.
"There was no endpoint listening at https://domainname/UsersData.svc/IsEmailExits that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details."

please help me .. how can i handle this error if you need any other info please let me know.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900