Hi, I have a webservice written in Java and using Apache Axis 1.1. When I use Java Client to call this webservice, the first call to a webservice method takes about 300 ms, but every subsequent call takes only 50-90 ms.
When I use .NET Client (VB.NET or C#), all calls take 500 ms.
In both cases, I instantiate the client only once, the webservice object only once and reuse the object to call/invoke the webservice methods.
Has any one had this kind of problem before? Please help.
posted 11 years ago
My guess would be that the server-side execution time is pretty much the same for every invocation -- i.e. it's the .NET client-side code that exhibits the weird delay for all invocations. Thus, I would suggest asking about how to optimize your .NET code from a .NET community such as GotDotNet.