0
Reply

wsdl command error when accessing https

George George

George George

Oct 13 2008 10:00 AM
3.2k

Hello everyone,


When using Visual Studio to add a Web Reference to an https web services, it is fine. And I just need to click to accept some security warning message box.

But when using wsdl command line tool to retrieve the same web services, there is something wrong. Here is the output. Any ideas?

[Code]
wsdl https://127.0.0.1:8080/SystemMonitor?wsdl
Microsoft (R) Web Services Description Language Utility
[Microsoft (R) .NET Framework, Version 2.0.50727.3038]
Copyright (C) Microsoft Corporation. All rights reserved.
Error: There was an error processing 'https://127.0.0.1:8080/SystemMonitor?wsdl'.
  - There was an error downloading 'https://127.0.0.1:8080/SystemMonitor?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, please type "wsdl /?".
[/Code]


thanks in advance,
George