cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r957093 - in /cxf/trunk: api/src/main/java/org/apache/cxf/ api/src/main/java/org/apache/cxf/ws/addressing/ api/src/test/java/org/apache/cxf/ rt/core/src/main/java/org/apache/cxf/wsdl11/ rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/
Date Wed, 23 Jun 2010 01:00:11 GMT
Author: dkulp
Date: Wed Jun 23 01:00:11 2010
New Revision: 957093

URL: http://svn.apache.org/viewvc?rev=957093&view=rev
Log:
Fix some issues where BindingProvider interface might not be loadable
from the classloader of the other interface.

Added:
    cxf/trunk/api/src/main/java/org/apache/cxf/ws/addressing/NSManager.java   (contents, props
changed)
      - copied, changed from r956660, cxf/trunk/api/src/main/java/org/apache/cxf/NSManager.java
Removed:
    cxf/trunk/api/src/main/java/org/apache/cxf/NSManager.java
Modified:
    cxf/trunk/api/src/test/java/org/apache/cxf/NSManagerTest.java
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/ServiceWSDLBuilder.java
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsProxyFactoryBean.java

Copied: cxf/trunk/api/src/main/java/org/apache/cxf/ws/addressing/NSManager.java (from r956660,
cxf/trunk/api/src/main/java/org/apache/cxf/NSManager.java)
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/ws/addressing/NSManager.java?p2=cxf/trunk/api/src/main/java/org/apache/cxf/ws/addressing/NSManager.java&p1=cxf/trunk/api/src/main/java/org/apache/cxf/NSManager.java&r1=956660&r2=957093&rev=957093&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/NSManager.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/ws/addressing/NSManager.java Wed Jun 23 01:00:11
2010
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.cxf;
+package org.apache.cxf.ws.addressing;
 
 import java.lang.reflect.Field;
 import java.lang.reflect.Modifier;
@@ -26,7 +26,6 @@ import java.util.Map;
 import java.util.Set;
 
 import org.apache.cxf.common.WSDLConstants;
-import org.apache.cxf.ws.addressing.JAXWSAConstants;
 
 /***
  * Only public/static/final fields can be resolved

Propchange: cxf/trunk/api/src/main/java/org/apache/cxf/ws/addressing/NSManager.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/api/src/main/java/org/apache/cxf/ws/addressing/NSManager.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: cxf/trunk/api/src/test/java/org/apache/cxf/NSManagerTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/test/java/org/apache/cxf/NSManagerTest.java?rev=957093&r1=957092&r2=957093&view=diff
==============================================================================
--- cxf/trunk/api/src/test/java/org/apache/cxf/NSManagerTest.java (original)
+++ cxf/trunk/api/src/test/java/org/apache/cxf/NSManagerTest.java Wed Jun 23 01:00:11 2010
@@ -21,6 +21,8 @@ package org.apache.cxf;
 
 import org.apache.cxf.common.WSDLConstants;
 import org.apache.cxf.ws.addressing.JAXWSAConstants;
+import org.apache.cxf.ws.addressing.NSManager;
+
 import org.junit.Assert;
 import org.junit.Test;
 

Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/ServiceWSDLBuilder.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/ServiceWSDLBuilder.java?rev=957093&r1=957092&r2=957093&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/ServiceWSDLBuilder.java (original)
+++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/ServiceWSDLBuilder.java Wed Jun
23 01:00:11 2010
@@ -59,7 +59,6 @@ import org.w3c.dom.Element;
 
 import com.ibm.wsdl.extensions.schema.SchemaImpl;
 import org.apache.cxf.Bus;
-import org.apache.cxf.NSManager;
 import org.apache.cxf.common.WSDLConstants;
 import org.apache.cxf.helpers.CastUtils;
 import org.apache.cxf.helpers.XMLUtils;
@@ -77,6 +76,7 @@ import org.apache.cxf.service.model.Mess
 import org.apache.cxf.service.model.OperationInfo;
 import org.apache.cxf.service.model.SchemaInfo;
 import org.apache.cxf.service.model.ServiceInfo;
+import org.apache.cxf.ws.addressing.NSManager;
 import org.apache.cxf.wsdl.WSDLManager;
 
 /**

Modified: cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsProxyFactoryBean.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsProxyFactoryBean.java?rev=957093&r1=957092&r2=957093&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsProxyFactoryBean.java
(original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsProxyFactoryBean.java
Wed Jun 23 01:00:11 2010
@@ -104,7 +104,13 @@ public class JaxWsProxyFactoryBean exten
 
     protected Class[] getImplementingClasses() {
         Class cls = getClientFactoryBean().getServiceClass();
-        return new Class[] {cls, BindingProvider.class};
+        Class ret[] = new Class[] {cls, BindingProvider.class};
+        try {
+            Proxy.getProxyClass(cls.getClassLoader(), ret);
+        } catch (Throwable t) {
+            ret = new Class[] {cls};
+        }
+        return ret;
     }
     
     /**



Mime
View raw message