none
Consuming web service RRS feed

  • Question

  • i try to include an external web service to my solution.

    The service use https protocol and has a pfx file.

    When i try to include by the Add Service Reference -> Advanced -> Add web reference in my VS2015 the response is "

    Error al descargar 'https://direccion.gov.ar/servicio.php?wsdl/$metadata'.
    Anulada la solicitud: No se puede crear un canal seguro SSL/TLS."

    When i do the query from the tool SoapUI i hav no problem.

    • Moved by Sabah ShariqMVP Friday, February 10, 2017 1:54 AM Moved from Visual C#
    Thursday, February 9, 2017 7:58 PM

All replies

  • Hi FernandoGentile,

    This is Visual C# forum. As your issue is related to web service I am moving your thread to WCF forum for getting quick response. Hope this helps you.


    Thanks,
    Sabah Shariq

    [If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click Answered "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

    Friday, February 10, 2017 1:54 AM
  • Hi FernandoGentile,

    What is your service type? Is it WCF Service or asmx web service? Based on your url, it seems you create a web service in php.

    Based on the error message, it seems to be related with certificate. Have you installed the pfx file? If you access this address from IE, will you get any error or warning?

    For installing certificate, I suggest you refer the link below:

    # How to call a Web service by using a client certificate for authentication in an ASP.NET Web application

    https://support.microsoft.com/en-us/help/901183/how-to-call-a-web-service-by-using-a-client-certificate-for-authentication-in-an-asp.net-web-application

    Best Regards,

    Edward


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, February 10, 2017 5:22 AM