Author: darran.lofthouse(a)jboss.com
Date: 2007-08-02 18:39:33 -0400 (Thu, 02 Aug 2007)
New Revision: 4126
Modified:
trunk/jbossws-core/src/main/java/org/jboss/ws/core/jaxrpc/client/ServiceImpl.java
trunk/jbossws-core/src/test/java/org/jboss/test/ws/jaxrpc/jbws1653/JBWS1653TestCase.java
Log:
JBWS-1771 - Post-handler-chain not invoked for 'Standard Client' configuration
with DII client.
Modified:
trunk/jbossws-core/src/main/java/org/jboss/ws/core/jaxrpc/client/ServiceImpl.java
===================================================================
---
trunk/jbossws-core/src/main/java/org/jboss/ws/core/jaxrpc/client/ServiceImpl.java 2007-08-02
22:06:49 UTC (rev 4125)
+++
trunk/jbossws-core/src/main/java/org/jboss/ws/core/jaxrpc/client/ServiceImpl.java 2007-08-02
22:39:33 UTC (rev 4126)
@@ -410,7 +410,7 @@
// JBoss-4.0.x does not support <stub-properties>
if (initCallProperties(call, seiClass.getName()) > 0)
log.info("Deprecated use of <call-properties> on JAXRPC Stub. Use
<stub-properties>");
-
+
PortProxy handler = new PortProxy(call);
ClassLoader cl = epMetaData.getClassLoader();
Remote proxy = (Remote)Proxy.newProxyInstance(cl, new Class[] { seiClass,
Stub.class, StubExt.class }, handler);
@@ -444,10 +444,12 @@
private int initCallProperties(CallImpl call, String seiName)
{
+ setupHandlerChain(call.getEndpointMetaData());
+
// nothing to do
if (usrMetaData == null)
return 0;
-
+
int propCount = 0;
// General properties
@@ -471,7 +473,7 @@
}
}
}
-
+
return propCount;
}
@@ -520,11 +522,11 @@
log.debug("Adding client side handler to endpoint '" + portName
+ "': " + info);
handlerInfos.add(info);
}
-
+
// register the handlers with the client engine
if (handlerInfos.size() > 0)
registerHandlerChain(portName, handlerInfos, handlerRoles);
-
+
epMetaData.setHandlersInitialized(true);
}
}
Modified:
trunk/jbossws-core/src/test/java/org/jboss/test/ws/jaxrpc/jbws1653/JBWS1653TestCase.java
===================================================================
---
trunk/jbossws-core/src/test/java/org/jboss/test/ws/jaxrpc/jbws1653/JBWS1653TestCase.java 2007-08-02
22:06:49 UTC (rev 4125)
+++
trunk/jbossws-core/src/test/java/org/jboss/test/ws/jaxrpc/jbws1653/JBWS1653TestCase.java 2007-08-02
22:39:33 UTC (rev 4126)
@@ -156,7 +156,7 @@
public void testCustomConfigConfiguredDII() throws Exception
{
- if (true)
+ if (false)
{
System.out.println("FIXME: [JBWS-1771] Post-handler-chain not invoked for
\"Standard Client\" configuration with DII client");
return;
Show replies by date