Hi,
  I just wanted to share some insight we have had with some performance
testing of web services sitting on top of Axis.

Based on the initial analysis carried out the majority of the time spent on
the client side when invoking web services is in the method
YOUR_SERVICE_STUB.createCall(). This in turn calls Call.regiterTypeMapping()
(org.apache.axis.client.Call) where the time is actually spent. The method
createCall() is autogenerated by WSDL2Java.

If you look at the comments you will notice that the stub is intended to be
cached but you must implement the caching of stubs however you see fit for
your application.

Under load in our tests we saw performance improvements from approximately
28 seconds to 1.5 seconds by caching the stubs.

Conor.



Reply via email to