Can anyone provide sample code for a JAX-WS SOAPHandler that knows how to
extract the operation and its arguments from the message?  I'm trying to
write a handler that logs all the requests with their arguments.

I've seen lots of examples of handlers that log the entire SOAP message, and
I've figured out myself that the operation is always
"context.getMessage().getSOAPBody().getFirstChild().getLocalName()", but a)
I'd like to think there's a cleaner way of getting the operation and b) it'd
be great to get the arguments as well.

TIA

 

 

Reply via email to