You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ay...@apache.org on 2012/05/25 18:12:08 UTC
svn commit: r1342710 - in /cxf/trunk/api/src/main:
java/org/apache/cxf/internal/CXFAPINamespaceHandler.java
resources/OSGI-INF/blueprint/cxf-api.xml
Author: ay
Date: Fri May 25 16:12:07 2012
New Revision: 1342710
URL: http://svn.apache.org/viewvc?rev=1342710&view=rev
Log:
add wsdl.xsd in bp schema lookup for offline use
Modified:
cxf/trunk/api/src/main/java/org/apache/cxf/internal/CXFAPINamespaceHandler.java
cxf/trunk/api/src/main/resources/OSGI-INF/blueprint/cxf-api.xml
Modified: cxf/trunk/api/src/main/java/org/apache/cxf/internal/CXFAPINamespaceHandler.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/internal/CXFAPINamespaceHandler.java?rev=1342710&r1=1342709&r2=1342710&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/internal/CXFAPINamespaceHandler.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/internal/CXFAPINamespaceHandler.java Fri May 25 16:12:07 2012
@@ -42,6 +42,8 @@ public class CXFAPINamespaceHandler impl
return getClass().getClassLoader().getResource("/schemas/configuration/parameterized-types.xsd");
} else if ("http://cxf.apache.org/configuration/security".equals(namespace)) {
return getClass().getClassLoader().getResource("/schemas/configuration/security.xsd");
+ } else if ("http://schemas.xmlsoap.org/wsdl/".equals(namespace)) {
+ return getClass().getClassLoader().getResource("/schemas/wsdl/wsdl.xsd");
}
return null;
}
Modified: cxf/trunk/api/src/main/resources/OSGI-INF/blueprint/cxf-api.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/resources/OSGI-INF/blueprint/cxf-api.xml?rev=1342710&r1=1342709&r2=1342710&view=diff
==============================================================================
--- cxf/trunk/api/src/main/resources/OSGI-INF/blueprint/cxf-api.xml (original)
+++ cxf/trunk/api/src/main/resources/OSGI-INF/blueprint/cxf-api.xml Fri May 25 16:12:07 2012
@@ -39,4 +39,10 @@
<entry key="osgi.service.blueprint.namespace" value="http://cxf.apache.org/configuration/security"/>
</service-properties>
</service>
+ <!-- additional namespaces that are referenced by cxf configuration schemas -->
+ <service ref="CXFAPINamespaceHandler" interface="org.apache.aries.blueprint.NamespaceHandler">
+ <service-properties>
+ <entry key="osgi.service.blueprint.namespace" value="http://schemas.xmlsoap.org/wsdl/"/>
+ </service-properties>
+ </service>
</blueprint>
\ No newline at end of file