Using a webservice through a proxy server.

I

Iceman

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
 
C

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
 
T

Tian Min Huang

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top