I have developed a rather large project with Apache Axis and liked Axis very much so far (with the occasional problem of missing documentation).
I have a performance problem with my client applications though: The first call to the web service takes almost two seconds on rather fast machines. The following calls take 100-200 ms which is perfectly OK, but the clients mostly only make one call and take too long for that.
I have done a little profiling and tracked down the time consumption to the constructor of org.apache.axis.client.AxisClient, which takes over a second (with different VMs).
The relevant portion of my code is:
[...] -> Service service = new Service(); // this takes very long <-
Call call = (Call)service.createCall();
call.setTargetEndpointAddress(axisUrl); call.setUsername(httpAuthUsername);
call.setPassword(httpAuthPassword);
[...]I have searched a little on the web and in the newsgroups, but have not found a solution.
Is there any way to speed up the AxisClient? Have you had similar experiences?
Thanks for your help in advance
Best regards
- Felix
