Forum Discussion

LarryC_53835's avatar
LarryC_53835
Icon for Nimbostratus rankNimbostratus
19 years ago

Adding webservice to Visual Studio

I saw some posts that people were having trouble adding webreferences. I also am having trouble adding a web reference. I'm using Visual Studio 2005 service pack 1 on Vista.

 

 

When I go to https://host/iControl/iControlPortal.cgi

 

 

I get the following error:

 

There was an error downloading 'https://host/iControl/iControlPortal.cgi'.

 

 

The underlying connection was closed: An unexpected error occurred on a receive.

 

 

m_safeCertContext is an invalid handle.

 

 

But I get a list of service control descriptions.

 

 

If I click on one of them such as LocalLB.PoolMember, I get the following error:

 

 

Unable to cast COM object of type 'System.__ComObject' to interface type 'EnvDTE.IVsExtensibility'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3C536122-57B1-46DE-AB34-ACC524140093}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

 

 

When I try wsdl I get the following:

 

c:\x>wsdl https://host/iControl/iControlPortal.cgi?WSDL=LocalLB.PoolMember /l:VB /username:myUser /password:myPassword

 

Microsoft (R) Web Services Description Language Utility

 

[Microsoft (R) .NET Framework, Version 2.0.50727.42]

 

Copyright (C) Microsoft Corporation. All rights reserved.

 

Error: There was an error processing 'https://host/iControl/iControlPortal.cgi?WSDL=LocalLB.PoolMember'.

 

- There was an error downloading 'https://host/iControl/iControlPortal.cgi?WSDL=LocalLB.PoolMember'.

 

- 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 /?".

 

 

c:\x>

 

2 Replies

No RepliesBe the first to reply