cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r946238 - in /cxf/branches/2.2.x-fixes: ./ rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/spi/ProviderImpl.java
Date Wed, 19 May 2010 15:52:45 GMT
Author: dkulp
Date: Wed May 19 15:52:45 2010
New Revision: 946238

URL: http://svn.apache.org/viewvc?rev=946238&view=rev
Log:
Merged revisions 946236 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r946236 | dkulp | 2010-05-19 11:47:44 -0400 (Wed, 19 May 2010) | 1 line
  
  We only understand the "standard" features.
........

Modified:
    cxf/branches/2.2.x-fixes/   (props changed)
    cxf/branches/2.2.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/spi/ProviderImpl.java

Propchange: cxf/branches/2.2.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.2.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/spi/ProviderImpl.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/spi/ProviderImpl.java?rev=946238&r1=946237&r2=946238&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/spi/ProviderImpl.java
(original)
+++ cxf/branches/2.2.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/spi/ProviderImpl.java
Wed May 19 15:52:45 2010
@@ -68,6 +68,11 @@ public class ProviderImpl extends javax.
                                                  Class serviceClass,
                                                  WebServiceFeature ... features) {
         Bus bus = BusFactory.getThreadDefaultBus();
+        for (WebServiceFeature f : features) {
+            if (!f.getClass().getName().startsWith("javax.xml.ws")) {
+                throw new WebServiceException("Unknown feature error: " + f.getClass().getName());
+            }
+        }
         return new ServiceImpl(bus, wsdlDocumentLocation,
                                serviceName, serviceClass, features);
         



Mime
View raw message