473,411 Members | 1,975 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,411 software developers and data experts.

Accessing a web service via SSL through firewall proxy

I have built a client which can successfully talk to a 3rd party web service
over HTTPS. All of this works great on my laptop when I am working from home
(and thus not connected to the internet through my corporate network).

However, when I go into the office, with this same laptop, everyone must use
a firewall proxy to access anything on the WAN. I've tried all kinds of
programmatic tricks to supply valid firewall credentials for my web service,
but it failes to connect.

I have also tried the overrides to my web-service proxy object which altars
the KeepAlive and HttpRequsestVersion, with no further success.

Example Code:

IWebProxy proxy = new WebProxy("http://firewallProxy.example.com", true);
proxy.Credentials = new
NetworkCredential(txtFirewallUserName.Text,txtFire wallPassword.Text);
webServiceObject.Proxy = proxy;

webServiceObject.Credentials = new
NetworkCredential(txtWebServiceUsername.Text,txtWe bServicePassword.Text);

webServiceObject.DoSomeFunctionNow();

***************
Any help is much appreciated!

Thanks,

Brian
Jan 18 '06 #1
0 1584

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

Similar topics

0
by: KumarForG | last post by:
hi, i have a webservice and it's client in dotnet. the client is coded to assign the proxy property to the service object, with the proxy url and authentication details. however, there is a...
0
by: George | last post by:
Hello, I'm running an ASPX application "WebApplication1" which consumes a web service (service1.asmx) hosted on a machine with IP (128.1.7.x) . The web service is located in the intranet. The...
1
by: Saira | last post by:
Hi all I have an application that seems to be having an ongoing battle with my firewall. I am using a webservice to send back data to a SQL server database. Betwen the two machines is an ISA 2004...
3
by: Donald | last post by:
I need to consume a web service. Here's my situation: 1) I need to consume a web service from an IBM AIX server/Web Sphere. 2) The IBM AIX Server is not on the same network as the IIS server...
1
by: Mad Scientist Jr | last post by:
For some reason I can't get a WebClient to access an outside URL from behind our firewall. The code works when it runs outside the firewall. I turned on windows authentication in the web.config...
1
by: Nestor | last post by:
Hello all, I'm begining in the web services world and I've reading about how to invoke them using javascript from Mozilla browser (version 2.0 in my case). I found a very interesting example...
6
by: John | last post by:
Hi My app is running on a windows 2000 server with isa 2000 installed. How can it access an external sql server (using its ip) from within the isa 2000 firewall/proxy via code? Thanks ...
4
by: Jon | last post by:
I wrote a VS 2005 C# express programme that accesses a web service. It works fine when there's a direct connection to the internet, but on two different PCs with internet access via a proxy, I get...
0
by: martin.tittensor | last post by:
Hi, I've written a web service which needs to be accessed from mutiple customer sites and by non-technical users. The problem is that most end user's companies employ a firewall/proxy server to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.