Two WS clients, one fast one slow!!!!
- From: "Waleed Abdulla xrules org>" <waleed_abdulla <atdot>
- Date: Tue, 5 Jul 2005 13:25:02 -0700
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
.
- Prev by Date: RE: Catching erros in web services - RETRACTION
- Next by Date: Webservice / Request Queue
- Previous by thread: Catching erros in web services
- Next by thread: Webservice / Request Queue
- Index(es):
Relevant Pages
|