locked
Consume https link RRS feed

  • Question

  • I get SSL warning as the SSL connections are established from the server. We are connecting to the load balancer IP using https  (***.***.***.***)( which is different from the certificate details we have  ). The certificates are generated for the servers .

    "Failed to get metadata "

    Metadata not available

    Failed to get metadata from "https:".

    Unable to download metadata from "https://" using WS-Metadata Exchange. (System.InvalidOperationException) Metadata contains a reference that cannot be resolved: 'https://_____?wsdl'. (System.ServiceModel.Security.SecurityNegotiationException) Could not establish trust relationship for the SSL/TLS secure channel with authority '______'. (System.Net.WebException) The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. (System.Security.Authentication.AuthenticationException) The remote certificate is invalid according to the validation procedure.

    Any Idea how to solve the above error ?


    • Edited by zaheermuhd Sunday, May 31, 2015 10:01 AM Edit
    Thursday, May 28, 2015 8:29 AM

Answers

  • download wsdl from browser. Consume it using wizard and try to post message. This will help you to figure out the exact error message
    • Proposed as answer by Angie Xu Monday, June 8, 2015 6:24 AM
    • Marked as answer by Angie Xu Tuesday, June 9, 2015 1:48 AM
    Monday, June 1, 2015 5:42 PM

All replies

  • This doesn't look like an actual problem.  Not all endpoints publish metadata.

    Have you asked the owner of the service of metadata is even available?

    Thursday, May 28, 2015 11:31 AM
    Moderator
  • We can get metadat in web browser, but not in Visual Studio WCF Service wizard
    Sunday, May 31, 2015 10:02 AM
  • download wsdl from browser. Consume it using wizard and try to post message. This will help you to figure out the exact error message
    • Proposed as answer by Angie Xu Monday, June 8, 2015 6:24 AM
    • Marked as answer by Angie Xu Tuesday, June 9, 2015 1:48 AM
    Monday, June 1, 2015 5:42 PM