Home All Groups Group Topic Archive Search About

Secure Web Reference Problems

Author
9 Jan 2007 6:08 PM
Ivan
I'm having problems adding a secure web reference (i.e. a web reference to a
WSDL file behind an HTTPS URL) that requires a VeriSign client certificate.

With the client certificate installed in my personal certificates folder, I
am able to access the ?WSDL file through IE, but when I attempt to add the
Web Reference in Visual Studios 2003, I receive the following error message:
---------------------------------------------------------------------------------------------
There was an error downloading 'https://alltel-api-g3.qpass.com/purchasewebservice/services/PurchaseWebServicePort?WSDL'.

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

The message received was unexpected or badly formatted ---------------------------------------------------------------------------------------------

Can anyone provide some insight into how I might rectify this situation?

-Ivan

Author
10 Jan 2007 3:19 AM
dsandor
Ivan,

You should use the WSE toolkit to attach to a web service via https. 

Check out this link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wse3.0/html/510c53cb-4ded-47ab-9fbd-ab82ed229526.asp

That shows you how to use WSE to create the client proxy for the web service.

-David Sandor

Show quote
"Ivan" wrote:

> I'm having problems adding a secure web reference (i.e. a web reference to a
> WSDL file behind an HTTPS URL) that requires a VeriSign client certificate.
>
> With the client certificate installed in my personal certificates folder, I
> am able to access the ?WSDL file through IE, but when I attempt to add the
> Web Reference in Visual Studios 2003, I receive the following error message:
>
> ---------------------------------------------------------------------------------------------
> There was an error downloading
> 'https://alltel-api-g3.qpass.com/purchasewebservice/services/PurchaseWebServicePort?WSDL'.
>
> The underlying connection was closed: Could not establish secure channel for
> SSL/TLS.
>
> The message received was unexpected or badly formatted
> ---------------------------------------------------------------------------------------------
>
> Can anyone provide some insight into how I might rectify this situation?
>
> -Ivan
>

AddThis Social Bookmark Button