Forum Discussion
Len_Chilicki_54
Nimbostratus
Nov 29, 2006Add Web Reference to ASP.NET 2.0 Application
I am developing a ASP.NET application on Visual Studio 2005 Express and need to use the iControl Web Service on a Series 1500 at v9.1.1.
I create a Web Project, then select Add Web Reference and enter the following url in the URL DropDownBox:
https://192.168.1.198/iControl/iControlPortal.cgi.
When I select Go, the following events occur.
I am prompted several times for Username and Password, during the process, a message tells me that this is not a known trusted certificate. After the authentication process has completed, the following message is displayed in the Web Services found at URL: Textbox.
There was an error downloading 'https://192.168.1.198/iControl/iControlPortal.cgi'.
The underlying connection was closed: An unexpected error occurred on a receive.
m_safeCertContext is an invalid handle.
However, the Service Description and methods are displayed. If I select one I get the following message:
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
I then login to the LTM and create a certicicate with the name 192.168.1.198 and load this certificate as a trusted store during the authentication process.The process proceeds without warning. I enter the url, select go and the following message is displayed in the Web Service found at URL: Textbox.
The HTML document does not contain Web service discovery information.
The Service Descriptions were displayed as above and whne I select one, I get the same "No such interface supported" message as before.
Has anyone been able to add a Web Reference to an ASP.NET Project?
Is my URL correct?
Any suggestions?
- We've had this issue reported before and I believe it has to do with a bug in the "Express" versions of .NET not allowing web references to be created to ssl based web services. We haven't seen this issue with the full blow versions.
- Len_Chilicki_54
Nimbostratus
Joe,
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