Web service : JAX-RPC handler and logging

A

Adrian

Hello,

I want to log every call to my web services (the logging message must
group the SOAP message and some additional context information). I
will log the request and the response.

Log messaging must be assured by a MQ infrastructure.

I was going to implement the logging with a JAX-RPC handler using JMS.

But the J2EE for Web services spec indicate that :
Handlers run under the transaction context of the component they are
associated to.

So, if I associate my handler with an EJB Session stateless and this
latter one calls setRollbackOnly, my logging actions will also be
rolled back.

Is there a good solution ?

Thanks for your help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top