try {
if ((params == null || params.isEmpty()) && m.getDeclaringClass().equals(Provider.class)) {
params = Collections.singletonList(null);
}
res = CastUtils.cast((List)super.invoke(exchange, serviceObject, m, params));
addHandlerProperties(ctx, handlerScopedStuff);
updateWebServiceContext(exchange, ctx);
} finally {
WebServiceContextImpl.clear();
}
Start.java under "cxf-soapfault-headers/cxf-server" directory is a server mainline.
ServiceTests.java under "cxf-soapfault-headers/cxf-binding-client" directory is a JUnit test case.
So just load both modules to eclipse and set break point on JAXWSMethodInvoker class of server side to see how it behaves in an exception scenario.
It is a bit similar as
SF-283but the main difference is that in this case, I am using @WebService while in JIRASF-283@WebServiceProvider was used.