Hi list,

I have a question rg. performance of the ServiceClient compared to the OperationClient interface.

Personally, I would expect the performance* to be roughly the same for both interfaces since ServiceClient is just a more convenient wrapper for simple tasks.

But now I have measured the invocation times (as defined below), and found that my "handwritten" client (which uses ServiceClient and AXIOM) takes about 4 times as long as the stubs generated by wsdl2java (which use the OperationClient interface) to produce a result against the same service. I guess the reason for this performance boost of the client is either that (a) the OperationClient interface is for some reason a lot faster than the ServiceClient interface or that (b) there is some tricky optimization going on somewhere in the ADB stubs that I failed to see so far.

Has anybody any insight here that could help me to improve my self-produced client, or any other information that would help me understand the differences here?

thanks in advance,
philipp

P.S.: I also did a few comparisons with other frameworks (WSIF and XFire), and Axis2 seems to be doing quite well so far. Definitely quicker than WSIF, and in a good tie with XFire (but I still have to do a lot to get really conclusive results here).


*in this context I mean with performance the time between calling eg. ServiceClient.sendReceive() and the response being returned to the client.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to