Author: thomas.diesler(a)jboss.com
Date: 2007-06-26 09:19:44 -0400 (Tue, 26 Jun 2007)
New Revision: 3728
Modified:
branches/jbossws-2.0/jbossws-core/src/main/java/org/jboss/ws/core/jaxrpc/client/ServiceImpl.java
branches/jbossws-2.0/jbossws-core/src/test/java/org/jboss/test/ws/jaxrpc/jbws1653/JBWS1653TestCase.java
Log:
[JBWS-1653] Post-handler-chain not invoked for Standard Client configuration
Modified:
branches/jbossws-2.0/jbossws-core/src/main/java/org/jboss/ws/core/jaxrpc/client/ServiceImpl.java
===================================================================
---
branches/jbossws-2.0/jbossws-core/src/main/java/org/jboss/ws/core/jaxrpc/client/ServiceImpl.java 2007-06-26
13:10:04 UTC (rev 3727)
+++
branches/jbossws-2.0/jbossws-core/src/main/java/org/jboss/ws/core/jaxrpc/client/ServiceImpl.java 2007-06-26
13:19:44 UTC (rev 3728)
@@ -415,6 +415,7 @@
ClassLoader cl = epMetaData.getClassLoader();
Remote proxy = (Remote)Proxy.newProxyInstance(cl, new Class[] { seiClass,
Stub.class, StubExt.class }, handler);
+ // Setup the handler chain
setupHandlerChain(epMetaData);
return proxy;
Modified:
branches/jbossws-2.0/jbossws-core/src/test/java/org/jboss/test/ws/jaxrpc/jbws1653/JBWS1653TestCase.java
===================================================================
---
branches/jbossws-2.0/jbossws-core/src/test/java/org/jboss/test/ws/jaxrpc/jbws1653/JBWS1653TestCase.java 2007-06-26
13:10:04 UTC (rev 3727)
+++
branches/jbossws-2.0/jbossws-core/src/test/java/org/jboss/test/ws/jaxrpc/jbws1653/JBWS1653TestCase.java 2007-06-26
13:19:44 UTC (rev 3728)
@@ -68,21 +68,6 @@
ClassLoader ctxLoader = Thread.currentThread().getContextClassLoader();
URLClassLoader urlLoader = new URLClassLoader(new URL[] {}, ctxLoader)
{
- public URL findResource(String resName)
- {
- URL resURL = super.findResource(resName);
- try
- {
- if
(resName.endsWith("META-INF/standard-jaxrpc-client-config.xml"))
- resURL = new
File("resources/jaxrpc/jbws1653/META-INF/standard-jaxrpc-client-config.xml").toURL();
- }
- catch (MalformedURLException ex)
- {
- // ignore
- }
- return resURL;
- }
-
public URL getResource(String resName)
{
URL resURL = super.getResource(resName);
@@ -100,9 +85,6 @@
};
Thread.currentThread().setContextClassLoader(urlLoader);
- URL configURL =
urlLoader.findResource("META-INF/standard-jaxrpc-client-config.xml");
- assertTrue("Invalid config url: " + configURL,
configURL.toExternalForm().indexOf("jbws1653") > 0);
-
InitialContext iniCtx = getInitialContext();
Service service =
(Service)iniCtx.lookup("java:comp/env/service/TestService");
TestEndpoint port = (TestEndpoint)service.getPort(TestEndpoint.class);
Show replies by date