473,320 Members | 1,746 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

https support for web service client

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
Nov 15 '05 #1
1 9286
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

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Molina | last post by:
Hi !!! I have a VB.Net application that consumes an WebService. The problem is that the HTTP address works fine, but it will change to an HTTPS address, and it isn't working. The weird thing...
2
by: MarkAurit | last post by:
I have a web service Im using on a machine via http in a dmz that works file. Im now attempting to use it in a second server, this one using https. When I attempt to add the Web Reference in vs.net...
4
by: Jason P | last post by:
Basically we have a web method with a dynamic URL. The client is developed in C++ and I've been using the webReference.SetUrl( "http://test.example.com..." ) method successfully with various web...
0
by: mahesh anasuri | last post by:
Hi all, I am new to this mailing list. Thankful if any one is using curl/linux version to and worked on Https. I have created certificates (PEM format) for client and server using openSSL. I...
4
by: Duffman | last post by:
Hello, I am working with dynamically created WSDL's and I need to change the transaction urls from http to https in the WSDL without redirecting customers to a different location. (I'm using vs...
0
by: jacorona | last post by:
Hello all, I have found a problem accesing a web service hosted in IIS 5.0 in a W2K box. The web service site is configured to accept both integrated windows authentication and client certificates....
1
by: maflatoun | last post by:
Hello, I have a web application that doesn't use SSL at all. We need to integrate it with another third party web application which only offers secure web services. How can I connect to a web...
0
by: ronscottlangham | last post by:
I have a WCF Web Service that I develop using the ASP.NET Development Server in Visual Studio. In release, the web service will support both HTTP and HTTPS. Initially I had only HTTP configured in...
0
by: aslamkhan24 | last post by:
Hi, I want to create web service client .C#.Net. I used to create web service client simple by add web reference to my project. But this time it is an HTTPS service and when i call web service...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.