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 19:27:07 UTC
svn commit: r1342744 - in /cxf/branches/2.5.x-fixes/rt/core/src/main:
java/org/apache/cxf/bus/blueprint/CXFCoreNamespaceHandler.java
resources/OSGI-INF/blueprint/cxf-core.xml
Author: ay
Date: Fri May 25 17:27:07 2012
New Revision: 1342744
URL: http://svn.apache.org/viewvc?rev=1342744&view=rev
Log:
add wsdl.xsd in bp schema lookup for offline use
Modified:
cxf/branches/2.5.x-fixes/rt/core/src/main/java/org/apache/cxf/bus/blueprint/CXFCoreNamespaceHandler.java
cxf/branches/2.5.x-fixes/rt/core/src/main/resources/OSGI-INF/blueprint/cxf-core.xml
Modified: cxf/branches/2.5.x-fixes/rt/core/src/main/java/org/apache/cxf/bus/blueprint/CXFCoreNamespaceHandler.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.5.x-fixes/rt/core/src/main/java/org/apache/cxf/bus/blueprint/CXFCoreNamespaceHandler.java?rev=1342744&r1=1342743&r2=1342744&view=diff
==============================================================================
--- cxf/branches/2.5.x-fixes/rt/core/src/main/java/org/apache/cxf/bus/blueprint/CXFCoreNamespaceHandler.java (original)
+++ cxf/branches/2.5.x-fixes/rt/core/src/main/java/org/apache/cxf/bus/blueprint/CXFCoreNamespaceHandler.java Fri May 25 17:27:07 2012
@@ -49,6 +49,8 @@ public class CXFCoreNamespaceHandler imp
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/branches/2.5.x-fixes/rt/core/src/main/resources/OSGI-INF/blueprint/cxf-core.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.5.x-fixes/rt/core/src/main/resources/OSGI-INF/blueprint/cxf-core.xml?rev=1342744&r1=1342743&r2=1342744&view=diff
==============================================================================
--- cxf/branches/2.5.x-fixes/rt/core/src/main/resources/OSGI-INF/blueprint/cxf-core.xml (original)
+++ cxf/branches/2.5.x-fixes/rt/core/src/main/resources/OSGI-INF/blueprint/cxf-core.xml Fri May 25 17:27:07 2012
@@ -44,4 +44,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="CXFCoreNamespaceHandler" 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