Exist two common ways to create webservice client in java it's Axis 2 or JAX-WS. What is the best approach? here is performance comparison, it says that JAX-WS is much better (about twice). Below is the comparison table.


test caseAxis2JAX-WSTPSstddevTPSstddevechoVoid11712.37390.37619620.67348.772echoInteger8753.79613.27817798.78718.859echoFloat8840.66622.37617613.22556.008echoString8728.36517.77917696.8617.601echoDate8175.36927.8817137.88719.917echoStruct7761.56226.21116753.70390.206echoSynthetic1K6599.27424.45812754.212162.251echoSynthetic4K4004.8153.5617701.04118.397echoSynthetic8K2773.5380.5414867.42438.1echoSynthetic12K2071.5862.3723343.50148.81echoArray401640.9980.4892375.2381.419echoArray80923.3011.0651258.4337.039echoArray120643.3220.166850.1333.641echoOrder200516.8470.218715.5222.389echoOrder500210.8020.022284.7070.192
where 'TPS' stands for 'transactions per second' and 'stddev' is the standard deviation between different runs.