You need to write a module with two handlers [1], and then just engage
the module to the service client.

[1] : http://blogs.deepal.org/2009/02/writing-axis2-module.html

Thanks,
Deepal

Dominik Świątek wrote:
> I have generated WebService client using wsdl2java (axis2-1.5). Client
> is working fine, i can call methods and receive correct results. Now I
> would like to intercept incoming and ougoing SOAP Messages to save
> them to file for reference. Question: how i do this? Right now i'm
> hand-editing generated ServicesStub but this is both ugly and
> inconvinient. Is there something simmilar to JAX-WS SOAPHandlers in Axis?
>

-- 
Thank you!


http://blogs.deepal.org
http://deepal.org

Reply via email to