none
Svcutil x HTTPS RRS feed

  • Pergunta

  • Boa tarde!

     

    Alguém pode me conseguir um exemplo de como criar a classe proxy do client para um WCF WS com https?

     

    Obrigado pela atenção.

    terça-feira, 26 de agosto de 2008 18:47

Respostas

  • Ola,

    Você está utilizando qual certificado para testar a aplicação?

    Verifique se o mesmo está contido dentro do Trusted Root Certification Store?

    quinta-feira, 28 de agosto de 2008 12:20
    Moderador

Todas as Respostas

  • Ola,

    Você tem o certificado devidamente configurado no cliente?

    Qual o problema que exatamente ocorre?

    terça-feira, 26 de agosto de 2008 22:44
    Moderador
  • Veja:


    C:\Arquivos de programas\Microsoft SDKs\Windows\v6.0A\Bin>Svcutil https://wcftes
    te/service1.svc?wsdl
    Microsoft (R) Service Model Metadata Tool
    [Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.648]
    Copyright (c) Microsoft Corporation.  All rights reserved.

    Attempting to download metadata from 'https://wcfteste/service1.svc?wsdl' using
    WS-Metadata Exchange or DISCO.
    Microsoft (R) Service Model Metadata Tool
    [Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.648]
    Copyright (c) Microsoft Corporation.  All rights reserved.

    Error: Cannot obtain Metadata from https://wcfteste/service1.svc?wsdl

    If this is a Windows (R) Communication Foundation service to which you have acce
    ss, please check that you have enabled metadata publishing at the specified addr
    ess.  For help enabling metadata publishing, please refer to the MSDN documentat
    ion at http://go.microsoft.com/fwlink/?LinkId=65455.


    WS-Metadata Exchange Error
        URI: https://wcfteste/service1.svc?wsdl

        Metadata contains a reference that cannot be resolved: 'https://wcfteste/ser
    vice1.svc?wsdl'.

        Could not establish trust relationship for the SSL/TLS secure channel with a
    uthority 'wcfteste'.

        The underlying connection was closed: Could not establish trust relationship
     for the SSL/TLS secure channel.

        The remote certificate is invalid according to the validation procedure.


    HTTP GET Error
        URI: https://wcfteste/service1.svc?wsdl

        There was an error downloading 'https://wcfteste/service1.svc?wsdl'.

        The underlying connection was closed: Could not establish trust relationship
     for the SSL/TLS secure channel.

        The remote certificate is invalid according to the validation procedure.

    If you would like more help, type "svcutil /?"

     

     

    Agradeço desde já, pela ajuda!
    quarta-feira, 27 de agosto de 2008 13:41
  • Ola,

    Você está utilizando qual certificado para testar a aplicação?

    Verifique se o mesmo está contido dentro do Trusted Root Certification Store?

    quinta-feira, 28 de agosto de 2008 12:20
    Moderador