Forum Discussion
LarryC_53835
Nimbostratus
Mar 22, 2007Adding 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>
- LarryC_53835
Nimbostratus
nevermind. I found the reference to the library you stuck out there and was able to get it working just fine. Thanks, this looks really great! - Great, glad to hear it. VS 2005 has an issue with ssl based web services so the assembly is definitely the way to go (despite the fact that it makes the ramp-up time insanely easy...
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects