wood burning stoves*
The moose likes Web Services and the fly likes Java webservice .NET Client. Performance issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Java webservice .NET Client. Performance issues" Watch "Java webservice .NET Client. Performance issues" New topic
Author

Java webservice .NET Client. Performance issues

Lakshmi Murthy
Greenhorn

Joined: Dec 08, 2003
Posts: 1
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

Joined: Jan 23, 2002
Posts: 11962
    
    5
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.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java webservice .NET Client. Performance issues
 
Similar Threads
Calling a .net web service from java as a client
Java to .NET webservice
Java Client vs. .Net Webservice
SOAP ToolKit 3.0
passing primitive data types via webservices using WSAD and VisualStudion .NET