By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,142 Members | 1,907 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,142 IT Pros & Developers. It's quick & easy.

Using a webservice through a proxy server.

P: n/a
I gave a VB.NET client which comsumes a webservices. The VB.Net client is
behind a proxy server. The problem is when the VB.NET client i behind a
proxy is goes very slow. It does get response from the webservice but it
comsumes very much time (60-90 seconds). When the client is not behind the
proxy server then everything runs smooth. So my question how can I
"workaround" this extra timedelay when the app is behind av proxy? Is there
some setting in the proxy?

Thanx in advance
-Iceman
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Cor
Hi Iceman,

This sound not as VB.net or even any part of .Net to me, it sounds more as
the setting from the proxyserver.
(That is an operational problem)

That Proxy can be from every brand, every type, every implementation, every
setting,

If someone here is answering you, I think it is something as a gambling
game.

Should you not look what kind of proxy it is, and than go to the propery
newsgroup or page from that Proxy?

Just a thought,

Cor
I gave a VB.NET client which comsumes a webservices. The VB.Net client is
behind a proxy server. The problem is when the VB.NET client i behind a
proxy is goes very slow. It does get response from the webservice but it
comsumes very much time (60-90 seconds). When the client is not behind the
proxy server then everything runs smooth. So my question how can I
"workaround" this extra timedelay when the app is behind av proxy? Is there some setting in the proxy?

Nov 20 '05 #2

P: n/a
Hello Iceman,

Thanks for your post. As I understand, the problem you are facing is that
the performance is poor when you access an XML Web Service from your .NET
app via a Proxy Server. Please correct me if there is any misunderstanding.
I now share the following information with you:

1. Generally, the .NET runtime uses the default proxy settings that have
been set for Microsoft Internet Explorer when it is used from a standard
desktop application. I suggest you to invoke the web service from IE to
check its performance. You can input the .asmx like the following in the
address of IE:
http://yourserver/.../yourservice.asmx/servicemethod

2. The .NET runtime does not, however, support automatic proxy discovery
scripts. If Internet Explorer uses the automatic configuration options to
determine the HTTP proxy settings, you can manually configure the global
HTTP proxy settings in the Machine.config file. Please refer to the
following KB article for detailed information:

HOW TO: Configure an XML Web Service Client by Using the .NET Framework to
Work with a Proxy Server
http://support.microsoft.com/?id=307220

I look forward to your result.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.