Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java webservice .NET Client. Performance issues

 
Lakshmi Murthy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks
Lakshmi
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic