Author: heiko.braun(a)jboss.com
Date: 2007-01-10 11:05:43 -0500 (Wed, 10 Jan 2007)
New Revision: 1906
Modified:
trunk/jbossws-core/src/main/java/org/jboss/ws/core/CommonClient.java
trunk/jbossws-core/src/main/java/org/jboss/ws/core/jaxrpc/ParameterWrapping.java
Log:
Fixed Holder handling at client side.
Modified: trunk/jbossws-core/src/main/java/org/jboss/ws/core/CommonClient.java
===================================================================
--- trunk/jbossws-core/src/main/java/org/jboss/ws/core/CommonClient.java 2007-01-10
16:02:53 UTC (rev 1905)
+++ trunk/jbossws-core/src/main/java/org/jboss/ws/core/CommonClient.java 2007-01-10
16:05:43 UTC (rev 1906)
@@ -313,9 +313,7 @@
{
// unbind the return values
SOAPMessage resMessage = msgContext.getSOAPMessage();
- binding.unbindResponseMessage(opMetaData, resMessage, epInv,
unboundHeaders);
-
- retObj = syncOutputParams(inputParams, epInv);
+ binding.unbindResponseMessage(opMetaData, resMessage, epInv,
unboundHeaders);
}
handlerPass = handlerPass && callResponseHandlerChain(portName,
HandlerType.ENDPOINT);
Modified:
trunk/jbossws-core/src/main/java/org/jboss/ws/core/jaxrpc/ParameterWrapping.java
===================================================================
---
trunk/jbossws-core/src/main/java/org/jboss/ws/core/jaxrpc/ParameterWrapping.java 2007-01-10
16:02:53 UTC (rev 1905)
+++
trunk/jbossws-core/src/main/java/org/jboss/ws/core/jaxrpc/ParameterWrapping.java 2007-01-10
16:05:43 UTC (rev 1906)
@@ -230,7 +230,7 @@
{
Class targetType = targetTypes[param.getIndex()];
if (HolderUtils.isHolderType(targetType))
- value = HolderUtils.createHolderInstance(value, targetType);
+ HolderUtils.setHolderValue(methodParams[param.getIndex()], value);
methodParams[param.getIndex()] = value;
}
}
Show replies by date