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

Accessing WebService From Behind ISA

I'm trying to access a WindowsForms application from a network with a ISA
server proxy. At this point I'm convinced that ISA Server is the Devil!!!
I originally had issue with the credentials, so I passed the credentials as
follows:
Dim wp As WebProxy = CType(GlobalProxySelection.Select, WebProxy)

wp.Credentials = CredentialCache.DefaultCredentials

myWebService.Credentials = wp.Credentials

Now I'm getting a the following error:

System.Net.WebException: The request failed with HTTP status 403: Forbidden
( The ISA Server denies the specified Uniform Resource Locator (URL). ).

Any help appreciated,

Thanks

Todd
Nov 23 '05 #1
1 1597
Hi,

did you try to set the "wp.Proxy.Credentials"?

Hope this helps,

Marvin Smit

On Mon, 25 Jul 2005 17:31:51 -0500, "Todd Plambeck"
<tp***@nospamflash.net> wrote:
I'm trying to access a WindowsForms application from a network with a ISA
server proxy. At this point I'm convinced that ISA Server is the Devil!!!
I originally had issue with the credentials, so I passed the credentials as
follows:
Dim wp As WebProxy = CType(GlobalProxySelection.Select, WebProxy)

wp.Credentials = CredentialCache.DefaultCredentials

myWebService.Credentials = wp.Credentials

Now I'm getting a the following error:

System.Net.WebException: The request failed with HTTP status 403: Forbidden
( The ISA Server denies the specified Uniform Resource Locator (URL). ).

Any help appreciated,

Thanks

Todd


Nov 23 '05 #2

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

Similar topics

2
by: hazz | last post by:
I don't get it. I have a VS2005 solution with a web service project and a windows project. The web service when tested on its own works fine. But when I add it as a web reference and refer to it my...
2
by: author | last post by:
Newbie Q... When I hit the "ws.asmx" in a browser, I get "Parser Error Message: Could not create type 'Service1'" ?? If I use the file "ws_ok.asmx" (without codebehind, but same code), I get...
4
by: MacLanca | last post by:
Hi, I've done the HelloWorld WebService, installed in a WebServer (INTERNET) When I call it with Windows App it works, if I use a webform it doesn’t (INTERNET) Both of them work in the INTRANET...
4
by: Kaush | last post by:
Hi all, I am creating a webservice to accept SOAP messages, parse the message and send a SOAP response back to the client accessing my web service using WSE-2 in ASP.NET. I am creating a class...
3
by: Olivier BESSON | last post by:
Hello, I have a web service of my own on a server (vb.net). I must declare it with SoapRpcMethod to be used with JAVA. This is a simple exemple method of my vb source : ...
4
by: Boni | last post by:
I want consuming a webserivce trough a proxy. I use this code. myService s = new myService (); System.Net.WebProxy proxyObject = new System.Net.WebProxy("http://proxyhost:8080"); s.Proxy =...
1
by: =?Utf-8?B?U3VzaGlsIEJhZHlhbA==?= | last post by:
I was trying to access a webservice from my office its working fine but fail to connect from my Friend's system which is behind a firewall, I was annoyed by seeing the following error message :...
2
by: =?Utf-8?B?U2VyZ2V5IFBvYmVyZXpvdnNraXk=?= | last post by:
In my ASP.Net 2.0 website I defined base page type in web config as follows: <pages MaintainScrollPositionOnPostback="true" pageBaseType="base_Page" /> It all works fine for the pages. Now I am...
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...
10
by: Anton | last post by:
Hi, when accessing a secured 3rd party webservice i'm getting a 401 HTTP Statuscode (unauthorized). When entering the url in a browser and entering the username and password manually, the wsdl is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.