HighTechTalks DotNet Forums  

how to use ssl certificates with a wsdl webreference?

ASP.net Web Services microsoft.public.dotnet.framework.aspnet.webservices


Discuss how to use ssl certificates with a wsdl webreference? in the ASP.net Web Services forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Peter van der Veen
 
Posts: n/a

Default how to use ssl certificates with a wsdl webreference? - 08-20-2003 , 03:48 AM






Hi

I have the following problem.

I making an application that needs to communicate with a webservice
using an SSL connection. The Connection needs an username and a
password.

I have added a webreference to the webservice using a WSDL file i got.
VS made a nice reference.vb file with the function setc in it and the
https address of the server.
All the fucntions etc in the WSDL file i can see and use, but when i
try to run the application it gices an error saying that there is no
open SSL connetion.

so i have to open een ssl connection first? But how?

and how to send an username and password?

I search already a lot but could not get anything working.


Peter

Reply With Quote
  #2  
Old   
Peter van der Veen
 
Posts: n/a

Default Re: how to use ssl certificates with a wsdl webreference? - 08-20-2003 , 08:20 AM






Hi Mark

Thx a lot!!!

I've got it working now. I now see what i was doing wrong .

i had just to combine two methods

Thx

Peter

On Wed, 20 Aug 2003 09:35:02 GMT, Mark Cranness
<mark.cranness (AT) nz (DOT) invalid> wrote:

Quote:
Peter van der Veen <pvdveen (AT) no (DOT) spam.ming.vanbrug.nl> wrote in
news:n0d6kvsjtpqj2q4sqlukplh1vgbso6tq8r (AT) 4ax (DOT) com:

Hi

I have the following problem.

I making an application that needs to communicate with a
webservice using an SSL connection. The Connection needs an
username and a password.

I have added a webreference to the webservice using a WSDL file
i got. VS made a nice reference.vb file with the function setc
in it and the https address of the server.
All the fucntions etc in the WSDL file i can see and use, but
when i try to run the application it gices an error saying that
there is no open SSL connetion.

so i have to open een ssl connection first? But how?

and how to send an username and password?

I search already a lot but could not get anything working.

Check this link:
http://msdn.microsoft.com/library/en-
us/cpguide/html/cpconsecuringaspnetwebservices.asp

Mark


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.