From withing a webpage i call upon a .dll.
In this .dll i call a webservice. Now this all went great, until a client started to use a proxy server. I thought i solved it, but noooooohooo


How do i do it (very short):
I use "add web reference" to my project,
Code:
WebProxy myProxy = new WebProxy(); 
myProxy = WebProxy.GetDefaultProxy(); 
myProxy.Credentials = System.Net.CredentialCache.DefaultCredentials; 

MYWEBSERVICE myWs = new MYWEBSERVICE (); 
myWs.Proxy = myProxy; 

ReturnValue = myWs.TestGetData(InValue);
now this works great with me, but not with the client.
He gets an error (time-out) when he calls this last line.


Then i did this, since i have no control over my webservice (cause i am still a noob), i started using a WebRequest, to see wether i got passed the proxy.
again, in a dll, in a webpage.
Code:
WebProxy myProxy= new WebProxy(); 
myProxy = WebProxy.GetDefaultProxy(); 
myProxy.Credentials = System.Net.CredentialCache.DefaultCredentials; 

WebRequest request = WebRequest.Create("http://www.bleeeh.com"); 
request.Proxy = myProxy; 

HttpWebResponse response = (HttpWebResponse)request.GetResponse(); 
System.IO.Stream stream = response.GetResponseStream(); 
etc...
(and it gets a nice feed)

now for me, this both looks quite similar. But i don't know how to get it going.

i hope someone can help me

Sub