Search code examples
javacachingapache-axis

How to Cache SOAP Requests and Response in java


is there a mechanism to Cache the SOAP Request and response so that the performance can be improved....

we can reduce unnecessary same requests hitting the server for fetching the same response.

by the way im using AXIS2 for Webservice with AXIOM.

Awaiting your reply.


Solution

  • As far as I am aware there is no mechanism of doing so in AXIS, but then you can always buld your own custom cache using a simple map or using guava-google libraries