You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2011/03/16 20:03:30 UTC
svn commit: r1082261 -
/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JAXWSMethodInvoker.java
Author: dkulp
Date: Wed Mar 16 19:03:29 2011
New Revision: 1082261
URL: http://svn.apache.org/viewvc?rev=1082261&view=rev
Log:
[CXF-3406] Restore handler props in finally block
Modified:
cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JAXWSMethodInvoker.java
Modified: cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JAXWSMethodInvoker.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JAXWSMethodInvoker.java?rev=1082261&r1=1082260&r2=1082261&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JAXWSMethodInvoker.java (original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JAXWSMethodInvoker.java Wed Mar 16 19:03:29 2011
@@ -59,7 +59,6 @@ public class JAXWSMethodInvoker extends
params = Collections.singletonList(null);
}
res = CastUtils.cast((List)super.invoke(exchange, serviceObject, m, params));
- addHandlerProperties(ctx, handlerScopedStuff);
//update the webservice response context
updateWebServiceContext(exchange, ctx);
} catch (Fault f) {
@@ -67,6 +66,7 @@ public class JAXWSMethodInvoker extends
updateHeader(exchange, ctx);
throw f;
} finally {
+ addHandlerProperties(ctx, handlerScopedStuff);
//clear the WebServiceContextImpl's ThreadLocal variable
WebServiceContextImpl.clear();
}