Two WS clients, one fast one slow!!!!



I can't find an explination for this. I have a simple WinForms application
that calls a Web Service. I run two instances of the same exe at the same
time. One takes 1 second to call the Web service, and the other takes 7
seconds. It's repeatable with every call, not only the first call to the
service. The fast exe is always fast, and the slow exe is always slow.
When I run a third instance of the same exe, it's fast, but the second
instance (which used to be fast) becomes slow now; and remains slow even if I
close the third instance. Anyone have any ideas?

Here is my code (vb.net). This code runs quickly without delay, but my
callback function only runs after 7 seconds. Checking the server time, I
concluded that the delay is in the client NOT thes server; it's taking 6
seconds to get the message out of the clinet:

Dim proxy As StarWebService.starTransportWse = GetWebServiceProxy()
Dim result As IAsyncResult = proxy.BeginProcessMessage(payload, New
AsyncCallback(AddressOf Me.ProcessMessageCallback), proxy)


Thanks,
Waleed




.



Relevant Pages

  • Re: Asp.Net and Webservice using Impersonation/App Pools
    ... the EXE to the user account that the web service will run as? ... > webservice everything goes smoothly. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: How to convert a .NET application to webservice?
    ... released as .exe file plus .dll files. ... Using your favorite analysis technique, try to find a set of operations that web service clients would want to use, are course-grained, stateless, and which do not expose details of your implementation. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Accessing mapped drivers from a web service
    ... "Remus" wrote: ... >> We are running a web service that uses a VFP exe through automation. ... >> The problem comes when we need to retreive an image file from a different ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Web Service Security?
    ... > and to a Web Service, ... > copy of the dll on a network drive. ... When I run the exe from a user's ... The Web Service is on a web server ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: System.Security.SecurityException Error
    ... Using .NET configuration tool you may set network zone as trusted. ... web service dynamic discovery or static discovery is used.... ... When I copy the EXE to the remove web ... > ERROR: System.Security.SecurityException: Request for the permission of ...
    (microsoft.public.dotnet.framework.aspnet.webservices)