[jbossws-commits] JBossWS SVN: r12771 - in stack/cxf/branches/cxf-2.3/modules/client/src/main/resources/META-INF: cxf and 1 other directory.
jbossws-commits at lists.jboss.org
jbossws-commits at lists.jboss.org
Tue Aug 10 13:16:12 EDT 2010
Author: alessio.soldano at jboss.com
Date: 2010-08-10 13:16:12 -0400 (Tue, 10 Aug 2010)
New Revision: 12771
Modified:
stack/cxf/branches/cxf-2.3/modules/client/src/main/resources/META-INF/bus-extensions.xml
stack/cxf/branches/cxf-2.3/modules/client/src/main/resources/META-INF/cxf/cxf-extension-jbossws.xml
Log:
[JBWS-3079] Installing ServletTransportFactory by default as a http transport factory while waiting for implementation replacing jetty. This fixes failures in org.jboss.test.ws.jaxws.samples.httpbinding samples.
Modified: stack/cxf/branches/cxf-2.3/modules/client/src/main/resources/META-INF/bus-extensions.xml
===================================================================
--- stack/cxf/branches/cxf-2.3/modules/client/src/main/resources/META-INF/bus-extensions.xml 2010-08-10 11:22:20 UTC (rev 12770)
+++ stack/cxf/branches/cxf-2.3/modules/client/src/main/resources/META-INF/bus-extensions.xml 2010-08-10 17:16:12 UTC (rev 12771)
@@ -20,5 +20,12 @@
<extensions xmlns="http://cxf.apache.org/bus/extension">
<extension class="org.apache.cxf.endpoint.ServerLifeCycleManagerImpl" interface="org.apache.cxf.endpoint.ServerLifeCycleManager" />
<extension class="org.apache.cxf.endpoint.ClientLifeCycleManagerImpl" interface="org.apache.cxf.endpoint.ClientLifeCycleManager" />
+ <!-- The following is to be removed when providing a http transport factory implementation (for instance, using Jetty, see cxf-rt-transports-http-jetty.jar) -->
+ <extension class="org.apache.cxf.transport.servlet.ServletTransportFactory" deferred="false">
+ <namespace>http://cxf.apache.org/transports/http</namespace>
+ <namespace>http://cxf.apache.org/transports/http/configuration</namespace>
+ <namespace>http://schemas.xmlsoap.org/wsdl/http</namespace>
+ <namespace>http://schemas.xmlsoap.org/wsdl/http/</namespace>
+ </extension>
</extensions>
Modified: stack/cxf/branches/cxf-2.3/modules/client/src/main/resources/META-INF/cxf/cxf-extension-jbossws.xml
===================================================================
--- stack/cxf/branches/cxf-2.3/modules/client/src/main/resources/META-INF/cxf/cxf-extension-jbossws.xml 2010-08-10 11:22:20 UTC (rev 12770)
+++ stack/cxf/branches/cxf-2.3/modules/client/src/main/resources/META-INF/cxf/cxf-extension-jbossws.xml 2010-08-10 17:16:12 UTC (rev 12771)
@@ -17,4 +17,20 @@
</cxf:inFaultInterceptors>
</cxf:bus>
-->
+
+ <!-- The following is to be removed when providing a http transport factory implementation (for instance, using Jetty, see cxf-rt-transports-http-jetty.jar) -->
+ <bean class="org.apache.cxf.transport.servlet.ServletTransportFactory"
+ id="org.apache.cxf.transport.servlet.ServletTransportFactory"
+ lazy-init="true">
+ <property name="bus" ref="cxf"/>
+ <property name="transportIds">
+ <list>
+ <value>http://cxf.apache.org/transports/http</value>
+ <value>http://cxf.apache.org/transports/http/configuration</value>
+ <value>http://schemas.xmlsoap.org/wsdl/http</value>
+ <value>http://schemas.xmlsoap.org/wsdl/http/</value>
+ </list>
+ </property>
+ </bean>
+
</beans>
\ No newline at end of file
More information about the jbossws-commits
mailing list