hi, all,
I have a need to trap all XML parsing exceptions
from SOAP and logging the bad XML somewhere.

I looked at the SOAPFaultListener. At first it
seemed like the perfect thing to use. But looks
like from a FaultListener I can't access the
SOAPContext or the request object. So I can't
access the bad XML.

Then I looked at the EnvelopeEditor. I don't
want this code to be executed everytime a
SOAP request comes in. I only want to handle
it during exception.

Any ideas on how to implement this, other then
write my own RPCRouterServlet?

thanks,
shinta

Reply via email to