Just use the Url property for your class generated with the WebReference:
MyService ws = new MyService ();
ws.Url = "https://localhost/TestApps/DirtyTest/WebServ/Service1.asmx";
ws.HelloWorld ();
Remember, that the server must be SSL/TSL enabled (needs to have certificates installed).
Good articles to follow:
http://msdn.microsoft.com/library/de...SecNetHT14.asp http://msdn.microsoft.com/library/de...SecNetHT16.asp
--
Cezary Nolewajka
mailto:c.*********************@no-sp-am-eh-mail.com
remove all "no-sp-am-eh"s to reply
"vipin aravind" <vi***********@wpro.com> wrote in message news:%2****************@tk2msftngp13.phx.gbl...
Hi,
I have a soap .NET client in c# generated using wsdl.exe and I am
able to do the communication with the web service and get the information.
But I have a question, I have enabled https support on the server and I want
to add https support to the client which currently makes use of the http
support.
How do I go about this?
thanks in advance for any answers or pointers in this regard.
vipin