locked
There was no endpoint listening at https that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details." RRS feed

  • Question

  • Team,

    I have created a WCF Service and hosted in Windows Service. It uses an https protocol. I can view the .wsdl in the browser, then i created the proxy. My service uses a 2 way SSL.

    Now, when i try to access one of the service methods, i receive the below error.

    "There was no endpoint listening at https that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details."

    There are certain workarounds, but those are for IIS hosted services. Mine is hosted in Windows Service.

    Any helps ???

    Regards,


    Prasenna
    Friday, October 28, 2011 8:55 AM

Answers

  • Hi,

    I guess you can view the service from the browser as you are able to see the wsdl. Now the question is when you are trying to access one web method from the client you get the exception. Is it possible for you to paste the configurations so that we can identify the problem. Also try enabling tracing on your service to know at what point your request is throwing an exception.

    To enable tracing please follow the below link:

    http://msdn.microsoft.com/en-us/library/ms733025.aspx

    Regards

    Rajesh


    Rajesh S V
    • Marked as answer by Yi-Lun Luo Friday, November 4, 2011 2:46 AM
    Monday, October 31, 2011 11:28 AM

All replies

  • Also, the endpoint referenced in my .config file is through the IP address and not through the host name.
    Prasenna
    Friday, October 28, 2011 9:00 AM
  • Hello, can you make sure the service has started, and you're using the correct address?
    Lante, shanaolanxing This posting is provided "AS IS" with no warranties, and confers no rights.
    Windows Azure Technical Forum Support Team Blog
    Monday, October 31, 2011 2:12 AM
  • Hi,

    I guess you can view the service from the browser as you are able to see the wsdl. Now the question is when you are trying to access one web method from the client you get the exception. Is it possible for you to paste the configurations so that we can identify the problem. Also try enabling tracing on your service to know at what point your request is throwing an exception.

    To enable tracing please follow the below link:

    http://msdn.microsoft.com/en-us/library/ms733025.aspx

    Regards

    Rajesh


    Rajesh S V
    • Marked as answer by Yi-Lun Luo Friday, November 4, 2011 2:46 AM
    Monday, October 31, 2011 11:28 AM
  • Thanks Rajesh,

     


    Prasenna
    Friday, November 4, 2011 9:01 AM
  • Thanks Yi-Lun Luo
    Prasenna
    Friday, November 4, 2011 9:01 AM