Author: alessio.soldano(a)jboss.com
Date: 2008-02-22 09:58:56 -0500 (Fri, 22 Feb 2008)
New Revision: 5772
Modified:
stack/native/trunk/src/main/java/org/jboss/ws/core/jaxws/client/DispatchImpl.java
Log:
[JBWS-1966] Fixing issue
Modified:
stack/native/trunk/src/main/java/org/jboss/ws/core/jaxws/client/DispatchImpl.java
===================================================================
---
stack/native/trunk/src/main/java/org/jboss/ws/core/jaxws/client/DispatchImpl.java 2008-02-22
14:54:55 UTC (rev 5771)
+++
stack/native/trunk/src/main/java/org/jboss/ws/core/jaxws/client/DispatchImpl.java 2008-02-22
14:58:56 UTC (rev 5772)
@@ -243,6 +243,10 @@
EndpointInfo epInfo = new EndpointInfo(epMetaData, targetAddress,
callProps);
resMsg = getRemotingConnection().invoke(reqMsg, epInfo, false);
+ //Pivot, switch to response ctx and save the response message there
+ msgContext = MessageContextJAXWS.processPivot(msgContext);
+ msgContext.setMessageAbstraction(resMsg);
+
// Call the response handler chain, removing the fault type entry will not
call handleFault for that chain
handlerPass = callResponseHandlerChain(portName, handlerType[2]);
faultType[2] = null;
@@ -259,6 +263,7 @@
}
catch (Exception ex)
{
+ msgContext = MessageContextJAXWS.processPivot(msgContext);
if (faultType[2] != null)
callFaultHandlerChain(portName, faultType[2], ex);
if (faultType[1] != null)
Show replies by date