Go Back   Velocity Reviews > General Computer Discussion > Software
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
Old 08-16-2007, 04:20 PM   #1
Default Call WebService over https via proxy...


Hi all,

I have written an ASP.Net 2.0 Web Project Application, which is consuming a Web Service of a company. The first method will be called over https, because its the authentification method. All other methods are called over http.

On my local computer, where I have direct access to the internet, everything is working fine. But after I have published the application to the server, which is in DMZ, I had problems. First I noticed, that I can't even reach www.google.com from the browser on that computer. So I spoke with my system admin, and he has configured a proxy, where I can get out to the net over port 8080 instead of 80.

I have to enter the proxy settings in the browser and am able to reach websites from the browser.

But now, my application can reach the WebService, because it doesn't know, that it have to go outside using port 8080, instead of 80. After googling a bit I found out. I had to create a WebProxy instance and pass it to the web service. Here is the code, how I am creating that object:

WebProxy proxy = new WebProxy("http://192.168.150.1:8080/", true);

With this code, I can reach all http methods of the web service. So my question is how I would use the WebProxy object for https?


koraykazgan
koraykazgan is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTPS Request Dump in java Jolly Kumar Software 0 08-11-2009 05:25 AM
Call Manager 6 CDR CSV file level_3rd General Help Related Topics 0 06-12-2008 09:16 AM
Cisco Call Manager 6 CSV Format level_3rd General Help Related Topics 0 06-12-2008 09:14 AM
TRADING FEMALE CELEB INTERVIEWS ON DVD stu DVD Video 1 05-26-2008 09:39 AM
Authentication Problem with Webservice suddu Software 0 05-09-2008 02:23 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46