cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evan J <maps.this.addr...@gmail.com>
Subject Accessing Stack Trace in CXF implementation of JAX-WS Handler
Date Mon, 21 Apr 2014 02:33:25 GMT
Hi,

I have not been able getting CXF 2.7.x's "Handlers" to work with WebSphere
v7 (web services without Handlers do work accordingly), however, I wanted
to know whether it is possible to access a stack trace, if thrown by a web
service, via CXF's Handler (not Interceptor)? Namely, if I implement
"SOAPHandler<SOAPMessageContext>", would I be able to capture the stack
trace in "public boolean handleFault(SOAPMessageContext ctx)", via, say,
"ctx.getMessage().getSOAPBody().getFault()"?

Normally, when an exception is thrown, I see a brief description in the
fault detail of SOAP response, so I do not know whether SoapFault object
would contain information about the stack trace in the first place!

The reason I am asking is, before being able to get CXF Handler working
with WebSphere, I need to know whether seeking a stack trace in
handleFault() is a viable option to begin with or am I going down the wrong
rabbit hole.


Thank you

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message