Author: thomas.diesler(a)jboss.com
Date: 2007-12-12 08:31:36 -0500 (Wed, 12 Dec 2007)
New Revision: 5266
Added:
stack/cxf/trunk/ant-import/build-testsuite-jars.xml
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/aegis.xsd
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-addr.xml
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-http-binding.xml
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-http-jetty.xml
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-http.xml
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-jaxws.xml
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-jms.xml
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-local.xml
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-management.xml
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-object-binding.xml
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-policy.xml
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-rm.xml
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-soap.xml
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-xml.xml
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-servlet.xml
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf.extension
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf.xml
stack/cxf/trunk/src/test/java/org/
stack/cxf/trunk/src/test/java/org/jboss/
stack/cxf/trunk/src/test/java/org/jboss/test/
stack/cxf/trunk/src/test/java/org/jboss/test/ws/
stack/cxf/trunk/src/test/java/org/jboss/test/ws/jaxws/
stack/cxf/trunk/src/test/java/org/jboss/test/ws/jaxws/cxf/
stack/cxf/trunk/src/test/java/org/jboss/test/ws/jaxws/cxf/reliable/
stack/cxf/trunk/src/test/java/org/jboss/test/ws/jaxws/cxf/reliable/RMEndpoint.java
stack/cxf/trunk/src/test/java/org/jboss/test/ws/jaxws/cxf/reliable/RMEndpointImpl.java
stack/cxf/trunk/src/test/java/org/jboss/test/ws/jaxws/cxf/reliable/RMTestCase.java
stack/cxf/trunk/src/test/resources/jaxws/
stack/cxf/trunk/src/test/resources/jaxws/cxf/
stack/cxf/trunk/src/test/resources/jaxws/cxf/reliable/
stack/cxf/trunk/src/test/resources/jaxws/cxf/reliable/WEB-INF/
stack/cxf/trunk/src/test/resources/jaxws/cxf/reliable/WEB-INF/jbossws-cxf.xml
stack/cxf/trunk/src/test/resources/jaxws/cxf/reliable/WEB-INF/web.xml
stack/cxf/trunk/src/test/resources/jaxws/cxf/reliable/cxf.xml
Removed:
stack/cxf/trunk/src/main/resources/cxf-incubator.jar/
Modified:
stack/cxf/trunk/ant-import/build-testsuite.xml
stack/cxf/trunk/ant-import/build-thirdparty.xml
stack/cxf/trunk/build.xml
stack/cxf/trunk/src/main/java/org/jboss/wsf/stack/cxf/CXFServletExt.java
stack/cxf/trunk/src/main/java/org/jboss/wsf/stack/cxf/DescriptorDeploymentAspect.java
stack/cxf/trunk/version.properties
Log:
Externalize CXF configuration
Initial cut of WS-RM integration
Added: stack/cxf/trunk/ant-import/build-testsuite-jars.xml
===================================================================
--- stack/cxf/trunk/ant-import/build-testsuite-jars.xml (rev 0)
+++ stack/cxf/trunk/ant-import/build-testsuite-jars.xml 2007-12-12 13:31:36 UTC (rev
5266)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ============================================================ -->
+<!-- JBoss, the OpenSource J2EE webOS -->
+<!-- Distributable under LGPL license. -->
+<!-- See terms of license at
http://www.gnu.org. -->
+<!-- ============================================================ -->
+
+<!-- $Id$ -->
+
+<project>
+
+ <description>JBossWS test archive builder</description>
+
+ <!-- ================================================================== -->
+ <!-- Building -->
+ <!-- ================================================================== -->
+
+ <target name="build-testsuite-jars" description="Build the
deployments.">
+
+ <mkdir dir="${tests.output.dir}/libs"/>
+
+ <!-- jaxws-cxf-reliable -->
+ <war warfile="${tests.output.dir}/libs/jaxws-cxf-reliable.war"
webxml="${tests.output.dir}/resources/jaxws/cxf/reliable/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include
name="org/jboss/test/ws/jaxws/cxf/reliable/RMEndpointImpl.class"/>
+ </classes>
+ <!--classes
dir="${tests.output.dir}/resources/jaxws/cxf/reliable">
+ <include name="cxf.xml"/>
+ </classes-->
+ <webinf
dir="${tests.output.dir}/resources/jaxws/cxf/reliable/WEB-INF">
+ <include name="jbossws-cxf.xml"/>
+ </webinf>
+ </war>
+
+ <!-- Please add alphabetically -->
+
+ </target>
+
+</project>
Property changes on: stack/cxf/trunk/ant-import/build-testsuite-jars.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: stack/cxf/trunk/ant-import/build-testsuite.xml
===================================================================
--- stack/cxf/trunk/ant-import/build-testsuite.xml 2007-12-12 12:37:50 UTC (rev 5265)
+++ stack/cxf/trunk/ant-import/build-testsuite.xml 2007-12-12 13:31:36 UTC (rev 5266)
@@ -72,6 +72,7 @@
<target name="tests-jars"
depends="tests-compile,tests-copy-resources" description="Build the
deployments.">
<ant
antfile="${int.cxf.dir}/src/test-framework/ant-import/build-jars-jaxws.xml"
target="build-jars-jaxws"/>
+ <ant antfile="${int.cxf.dir}/ant-import/build-testsuite-jars.xml"
target="build-testsuite-jars"/>
</target>
<target name="tests-main" depends="tests-jars"
description="Build the deployments."/>
Modified: stack/cxf/trunk/ant-import/build-thirdparty.xml
===================================================================
--- stack/cxf/trunk/ant-import/build-thirdparty.xml 2007-12-12 12:37:50 UTC (rev 5265)
+++ stack/cxf/trunk/ant-import/build-thirdparty.xml 2007-12-12 13:31:36 UTC (rev 5266)
@@ -188,6 +188,8 @@
<available property="geronimo-javamail.available"
filepath="${cxf.distribution.lib}"
file="geronimo-javamail_${cxf.geronimo.javamail}.jar"/>
<available property="geronimo-ws-metadata.available"
filepath="${cxf.distribution.lib}"
file="geronimo-ws-metadata_${cxf.geronimo.ws.metadata}.jar"/>
<available property="jaxws-api.available"
filepath="${cxf.distribution.lib}"
file="jaxws-api-${cxf.jaxws.api}.jar"/>
+ <available property="jetty.available"
filepath="${cxf.distribution.lib}" file="jetty-${cxf.jetty}.jar"/>
+ <available property="jetty-util.available"
filepath="${cxf.distribution.lib}"
file="jetty-util-${cxf.jetty}.jar"/>
<available property="jdom.available"
filepath="${cxf.distribution.lib}" file="jdom-${cxf.jdom}.jar"/>
<available property="neethi.available"
filepath="${cxf.distribution.lib}"
file="neethi-${cxf.neethi}.jar"/>
<available property="saaj-api.available"
filepath="${cxf.distribution.lib}"
file="saaj-api-${cxf.saaj}.jar"/>
@@ -203,6 +205,8 @@
<fail message="geronimo-javamail_${cxf.geronimo.javamail}.jar not
available" unless="geronimo-javamail.available"/>
<fail message="geronimo-ws-metadata_${cxf.geronimo.ws.metadata}.jar not
available" unless="geronimo-ws-metadata.available"/>
<fail message="jaxws-api-${cxf.jaxws.api}.jar not available"
unless="jaxws-api.available"/>
+ <fail message="jetty-${cxf.jetty}.jar not available"
unless="jetty.available"/>
+ <fail message="jetty-util-${cxf.jetty}.jar not available"
unless="jetty-util.available"/>
<fail message="jdom-${cxf.jdom}.jar not available"
unless="jdom.available"/>
<fail message="neethi-${cxf.neethi}.jar not available"
unless="neethi.available"/>
<fail message="saaj-api-${cxf.saaj}.jar not available"
unless="saaj-api.available"/>
@@ -220,6 +224,8 @@
<include name="geronimo-javamail_${cxf.geronimo.javamail}.jar"/>
<include
name="geronimo-ws-metadata_${cxf.geronimo.ws.metadata}.jar"/>
<include name="jaxws-api-${cxf.jaxws.api}.jar"/>
+ <include name="jetty-${cxf.jetty}.jar"/>
+ <include name="jetty-util-${cxf.jetty}.jar"/>
<include name="jdom-${cxf.jdom}.jar"/>
<include name="neethi-${cxf.neethi}.jar"/>
<include name="saaj-api-${cxf.saaj}.jar"/>
Modified: stack/cxf/trunk/build.xml
===================================================================
--- stack/cxf/trunk/build.xml 2007-12-12 12:37:50 UTC (rev 5265)
+++ stack/cxf/trunk/build.xml 2007-12-12 13:31:36 UTC (rev 5266)
@@ -128,10 +128,10 @@
</war>
<!-- Update cxf-${cxf.version}.jar -->
- <copy file="${thirdparty.dir}/cxf-${cxf.version}.jar"
todir="${cxf.output.lib.dir}" overwrite="true"/>
- <jar destfile="${cxf.output.lib.dir}/cxf-${cxf.version}.jar"
update="true">
- <fileset dir="${cxf.resources.dir}/cxf-incubator.jar">
- <include name="META-INF/cxf/cxf.extension"/>
+ <unjar src="${thirdparty.dir}/cxf-${cxf.version}.jar"
dest="${cxf.output.lib.dir}/cxf-${cxf.version}"/>
+ <jar destfile="${cxf.output.lib.dir}/cxf-${cxf.version}.jar">
+ <fileset dir="${cxf.output.lib.dir}/cxf-${cxf.version}">
+ <exclude name="META-INF/cxf/**"/>
</fileset>
</jar>
@@ -165,6 +165,8 @@
<include name="geronimo-javamail_${cxf.geronimo.javamail}.jar"/>
<include
name="geronimo-ws-metadata_${cxf.geronimo.ws.metadata}.jar"/>
<include name="jaxws-api-${cxf.jaxws.api}.jar"/>
+ <include name="jetty-${cxf.jetty}.jar"/>
+ <include name="jetty-util-${cxf.jetty}.jar"/>
<include name="jdom-${cxf.jdom}.jar"/>
<include name="neethi-${cxf.neethi}.jar"/>
<include name="saaj-api-${cxf.saaj}.jar"/>
@@ -218,6 +220,8 @@
<include name="geronimo-javamail_${cxf.geronimo.javamail}.jar"/>
<include
name="geronimo-ws-metadata_${cxf.geronimo.ws.metadata}.jar"/>
<include name="jaxws-api-${cxf.jaxws.api}.jar"/>
+ <include name="jetty-${cxf.jetty}.jar"/>
+ <include name="jetty-util-${cxf.jetty}.jar"/>
<include name="jdom-${cxf.jdom}.jar"/>
<include name="neethi-${cxf.neethi}.jar"/>
<include name="saaj-api-${cxf.saaj}.jar"/>
Modified: stack/cxf/trunk/src/main/java/org/jboss/wsf/stack/cxf/CXFServletExt.java
===================================================================
--- stack/cxf/trunk/src/main/java/org/jboss/wsf/stack/cxf/CXFServletExt.java 2007-12-12
12:37:50 UTC (rev 5265)
+++ stack/cxf/trunk/src/main/java/org/jboss/wsf/stack/cxf/CXFServletExt.java 2007-12-12
13:31:36 UTC (rev 5266)
@@ -105,19 +105,18 @@
private void loadAdditionalConfigExt(ApplicationContext ctx, ServletConfig
servletConfig) throws ServletException
{
String location =
servletConfig.getServletContext().getInitParameter(PARAM_CXF_BEANS_URL);
-
- InputStream is;
- try
+ if (location != null)
{
- is = new URL(location).openStream();
- }
- catch (IOException e)
- {
- throw new ServletException(e);
- }
+ InputStream is;
+ try
+ {
+ is = new URL(location).openStream();
+ }
+ catch (IOException e)
+ {
+ throw new ServletException(e);
+ }
- if (is != null)
- {
childCtx = new GenericApplicationContext(ctx);
XmlBeanDefinitionReader reader = new XmlBeanDefinitionReader(childCtx);
reader.setValidationMode(XmlBeanDefinitionReader.VALIDATION_XSD);
Modified:
stack/cxf/trunk/src/main/java/org/jboss/wsf/stack/cxf/DescriptorDeploymentAspect.java
===================================================================
---
stack/cxf/trunk/src/main/java/org/jboss/wsf/stack/cxf/DescriptorDeploymentAspect.java 2007-12-12
12:37:50 UTC (rev 5265)
+++
stack/cxf/trunk/src/main/java/org/jboss/wsf/stack/cxf/DescriptorDeploymentAspect.java 2007-12-12
13:31:36 UTC (rev 5266)
@@ -23,10 +23,13 @@
//$Id: XFireServicesDeployer.java 3802 2007-07-05 16:44:32Z thomas.diesler(a)jboss.com $
+import java.io.IOException;
+import java.net.URL;
import java.util.HashMap;
import java.util.Map;
import org.jboss.logging.Logger;
+import org.jboss.wsf.spi.deployment.ArchiveDeployment;
import org.jboss.wsf.spi.deployment.Deployment;
import org.jboss.wsf.spi.deployment.DeploymentAspect;
import org.jboss.wsf.spi.deployment.Endpoint;
@@ -61,43 +64,79 @@
@Override
public void create(Deployment dep)
{
- DeploymentType depType = dep.getType();
- if (depType != DeploymentType.JAXWS_EJB3 && depType !=
DeploymentType.JAXWS_JSE)
- throw new IllegalStateException("Unsupported deployment type: " +
depType);
-
- DDBeans dd = new DDBeans();
- for (Endpoint ep : dep.getService().getEndpoints())
+ // Look for cxf.xml descriptor
+ ClassLoader initCL = dep.getInitialClassLoader();
+ URL cxfURL = initCL.getResource("cxf.xml");
+ if (cxfURL != null)
{
- String id = ep.getShortName();
- String address = ep.getAddress();
- String implementor = ep.getTargetBeanName();
+ log.info("CXF configuration found: " + cxfURL);
+ }
+ else
+ {
+ // Look for jbossws-cxf.xml descriptor
+ DeploymentType depType = dep.getType();
+
+ String metadir;
+ if (depType == DeploymentType.JAXWS_EJB3)
+ metadir = "META-INF";
+ else if (depType == DeploymentType.JAXWS_JSE)
+ metadir = "WEB-INF";
+ else
+ throw new IllegalStateException("Unsupported deployment type: " +
depType);
- DDEndpoint ddep = new DDEndpoint(id, address, implementor);
-
- if (depType == DeploymentType.JAXWS_EJB3)
+ try
{
- ddep.setInvoker(invokerEJB3);
+ ArchiveDeployment archdep = (ArchiveDeployment)dep;
+ cxfURL = archdep.getMetaDataFileURL(metadir + "/jbossws-cxf.xml");
+ log.info("JBossWS-CXF configuration found: " + cxfURL);
}
-
- if (depType == DeploymentType.JAXWS_JSE)
+ catch (IOException ex)
{
- ddep.setInvoker(invokerJSE);
+ // ignore, jbossws-cxf.xml not found
}
+
+ // Generate the jbossws-cxf.xml descriptor
+ if (cxfURL == null)
+ {
+ DDBeans dd = new DDBeans();
+ for (Endpoint ep : dep.getService().getEndpoints())
+ {
+ String id = ep.getShortName();
+ String address = ep.getAddress();
+ String implementor = ep.getTargetBeanName();
- log.info("Add " + ddep);
- dd.addEndpoint(ddep);
- }
+ DDEndpoint ddep = new DDEndpoint(id, address, implementor);
- dep.addAttachment(DDBeans.class, dd);
+ if (depType == DeploymentType.JAXWS_EJB3)
+ {
+ ddep.setInvoker(invokerEJB3);
+ }
- String propKey = "org.jboss.ws.webapp.ContextParameterMap";
- Map<String, String> contextParams = (Map<String,
String>)dep.getProperty(propKey);
- if (contextParams == null)
- {
- contextParams = new HashMap<String, String>();
- dep.setProperty(propKey, contextParams);
+ if (depType == DeploymentType.JAXWS_JSE)
+ {
+ ddep.setInvoker(invokerJSE);
+ }
+
+ log.info("Add " + ddep);
+ dd.addEndpoint(ddep);
+ }
+
+ cxfURL = dd.createFileURL();
+ log.info("JBossWS-CXF configuration generated: " + cxfURL);
+
+ dep.addAttachment(DDBeans.class, dd);
+ }
+
+ String propKey = "org.jboss.ws.webapp.ContextParameterMap";
+ Map<String, String> contextParams = (Map<String,
String>)dep.getProperty(propKey);
+ if (contextParams == null)
+ {
+ contextParams = new HashMap<String, String>();
+ dep.setProperty(propKey, contextParams);
+ }
+
+ contextParams.put(CXFServletExt.PARAM_CXF_BEANS_URL, cxfURL.toExternalForm());
}
- contextParams.put(CXFServletExt.PARAM_CXF_BEANS_URL,
dd.createFileURL().toExternalForm());
}
@Override
Added: stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/aegis.xsd
===================================================================
--- stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/aegis.xsd
(rev 0)
+++ stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/aegis.xsd 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+
http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="unqualified"
attributeFormDefault="unqualified"
+>
+
+ <xsd:element name="mappings">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="mapping" type="mappingType"
minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:complexType name="mappingType">
+ <xsd:choice minOccurs="0" maxOccurs="unbounded">
+ <xsd:element name="property" type="propertyType" />
+ <xsd:element name="method" type="methodType" />
+ <xsd:element name="component" type="componentTypeType"
/>
+ </xsd:choice>
+ <xsd:attribute name="uri" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+
+ <xsd:complexType name="propertyType">
+ <xsd:attributeGroup ref="mappedType" />
+ <xsd:anyAttribute namespace='##other' processContents='lax' />
+ </xsd:complexType>
+
+ <xsd:complexType name="methodType">
+ <xsd:choice minOccurs="0" maxOccurs="unbounded">
+ <xsd:element name="return-type" type="return-typeType"
/>
+ <xsd:element name="parameter" type="parameterType" />
+ </xsd:choice>
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+
+ <xsd:complexType name="return-typeType">
+ <xsd:attributeGroup ref="mappedType" />
+ <xsd:anyAttribute namespace='##other' processContents='lax' />
+ </xsd:complexType>
+
+ <xsd:complexType name="parameterType">
+ <xsd:attribute name="index" type="xsd:int" />
+ <xsd:attribute name="class" type="xsd:string" />
+ <xsd:attributeGroup ref="mappedType" />
+ <xsd:anyAttribute namespace='##other' processContents='lax' />
+ </xsd:complexType>
+
+ <xsd:complexType name="componentTypeType">
+ <xsd:attribute name="class" type="xsd:string" />
+ <xsd:attributeGroup ref="mappedType" />
+ <xsd:anyAttribute namespace='##other' processContents='lax' />
+ </xsd:complexType>
+
+ <xsd:attributeGroup name="mappedType">
+ <xsd:attribute name="name" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="typeName" type="xsd:string" />
+ <xsd:attribute name="mappedName" type="xsd:string" />
+ <xsd:attribute name="nillable" type="xsd:boolean" />
+ <xsd:attribute name="flag" type="xsd:boolean" />
+ <xsd:attribute name="ignore" type="xsd:boolean" />
+ <xsd:attribute name="componentType" type="xsd:string" />
+ <xsd:attribute name="keyType" type="xsd:string" />
+ <xsd:attribute name="valueType" type="xsd:string" />
+ <xsd:attribute name="minOccurs" type="xsd:int" />
+ <xsd:attribute name="maxOccurs" type="xsd:string" />
+ <xsd:attribute name="style">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="attribute" />
+ <xsd:enumeration value="element" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace='##other' processContents='lax' />
+ </xsd:attributeGroup>
+</xsd:schema>
\ No newline at end of file
Property changes on:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/aegis.xsd
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-addr.xml
===================================================================
---
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-addr.xml
(rev 0)
+++
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-addr.xml 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+
http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<beans
xmlns="http://www.springframework.org/schema/beans"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <bean
class="org.apache.cxf.ws.addressing.policy.AddressingAssertionBuilder">
+ <constructor-arg ref="cxf"/>
+ </bean>
+
+ <bean
class="org.apache.cxf.ws.addressing.policy.AddressingPolicyInterceptorProvider"/>
+
+ <bean
id="org.apache.cxf.ws.addressing.policy.UsingAddressingAssertionBuilder"
+
class="org.apache.cxf.ws.policy.builder.primitive.PrimitiveAssertionBuilder">
+ <property name="knownElements">
+ <set>
+ <bean class="javax.xml.namespace.QName">
+ <constructor-arg
value="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy"...
+ <constructor-arg value="UsingAddressing"/>
+ </bean>
+ <bean class="javax.xml.namespace.QName">
+ <constructor-arg
value="http://www.w3.org/2005/02/addressing/wsdl"/>
+ <constructor-arg value="UsingAddressing"/>
+ </bean>
+ <bean class="javax.xml.namespace.QName">
+ <constructor-arg
value="http://www.w3.org/2006/05/addressing/wsdl"/>
+ <constructor-arg value="UsingAddressing"/>
+ </bean>
+ </set>
+ </property>
+ </bean>
+
+</beans>
\ No newline at end of file
Property changes on:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-addr.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-http-binding.xml
===================================================================
---
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-http-binding.xml
(rev 0)
+++
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-http-binding.xml 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+
http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<beans
xmlns="http://www.springframework.org/schema/beans"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:foo="http://cxf.apache.org/configuration/foo"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <bean class="org.apache.cxf.binding.http.HttpBindingFactory"
lazy-init="true">
+ <property name="activationNamespaces">
+ <set>
+ <
value>http://apache.org/cxf/binding/http</value>
+ </set>
+ </property>
+ <property name="bus" ref="cxf"/>
+ </bean>
+</beans>
Property changes on:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-http-binding.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-http-jetty.xml
===================================================================
---
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-http-jetty.xml
(rev 0)
+++
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-http-jetty.xml 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+
http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<beans
xmlns="http://www.springframework.org/schema/beans"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:foo="http://cxf.apache.org/configuration/foo"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
+
+ <bean
class="org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory"
+ lazy-init="false"
+
depends-on="org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory">
+ <property name="bus" ref="cxf"/>
+ <property name="transportIds">
+ <list>
+ <
value>http://schemas.xmlsoap.org/soap/http</value>
+ <
value>http://schemas.xmlsoap.org/wsdl/http/</value>
+ <
value>http://schemas.xmlsoap.org/wsdl/soap/http</value>
+ <
value>http://www.w3.org/2003/05/soap/bindings/HTTP/</value>
+
<
value>http://cxf.apache.org/transports/http/configuration</value>
+ <
value>http://cxf.apache.org/bindings/xformat</value>
+ </list>
+ </property>
+ </bean>
+
+</beans>
Property changes on:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-http-jetty.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-http.xml
===================================================================
---
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-http.xml
(rev 0)
+++
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-http.xml 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+
http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<beans
xmlns="http://www.springframework.org/schema/beans"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:foo="http://cxf.apache.org/configuration/foo"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <bean
class="org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder"/>
+ <bean
class="org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder"/>
+
+
+ <bean
class="org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory"
+ id="org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory"
+ lazy-init="true">
+ <property name="bus" ref="cxf"/>
+ <property name="transportIds">
+ <list>
+ <
value>http://schemas.xmlsoap.org/soap/http</value>
+ <
value>http://schemas.xmlsoap.org/wsdl/http/</value>
+ <
value>http://schemas.xmlsoap.org/wsdl/soap/http</value>
+ <
value>http://www.w3.org/2003/05/soap/bindings/HTTP/</value>
+
<
value>http://cxf.apache.org/transports/http/configuration</value>
+ <
value>http://cxf.apache.org/bindings/xformat</value>
+ </list>
+ </property>
+ </bean>
+</beans>
Property changes on:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-http.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-jaxws.xml
===================================================================
---
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-jaxws.xml
(rev 0)
+++
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-jaxws.xml 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+
http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<beans
xmlns="http://www.springframework.org/schema/beans"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:foo="http://cxf.apache.org/configuration/foo"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <bean
class="org.apache.cxf.jaxws.context.WebServiceContextResourceResolver"
lazy-init="false"/>
+</beans>
Property changes on:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-jaxws.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-jms.xml
===================================================================
--- stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-jms.xml
(rev 0)
+++
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-jms.xml 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+
http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<beans
xmlns="http://www.springframework.org/schema/beans"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:foo="http://cxf.apache.org/configuration/foo"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <bean class="org.apache.cxf.transport.jms.JMSTransportFactory"
lazy-init="true">
+ <property name="bus" ref="cxf"/>
+ <property name="transportIds">
+ <list>
+ <
value>http://cxf.apache.org/transports/jms</value>
+
<
value>http://cxf.apache.org/transports/jms/configuration</value>
+ </list>
+ </property>
+ </bean>
+</beans>
Property changes on:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-jms.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-local.xml
===================================================================
---
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-local.xml
(rev 0)
+++
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-local.xml 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+
http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<beans
xmlns="http://www.springframework.org/schema/beans"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:foo="http://cxf.apache.org/configuration/foo"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <bean class="org.apache.cxf.transport.local.LocalTransportFactory"
lazy-init="true">
+ <property name="bus" ref="cxf"/>
+ <property name="transportIds">
+ <list>
+ <
value>http://cxf.apache.org/transports/local</value>
+ </list>
+ </property>
+ </bean>
+</beans>
Property changes on:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-local.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-management.xml
===================================================================
---
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-management.xml
(rev 0)
+++
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-management.xml 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+
http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<beans
xmlns="http://www.springframework.org/schema/beans"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:foo="http://cxf.apache.org/configuration/foo"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <bean id="org.apache.cxf.management.jmx.InstrumentationManagerImpl"
class="org.apache.cxf.management.jmx.InstrumentationManagerImpl">
+ <property name="bus" ref="cxf"/>
+ <property name="enabled" value="false"/>
+ <property name="threaded" value="false"/>
+ <property name="daemon" value="false"/>
+ </bean>
+
+</beans>
\ No newline at end of file
Property changes on:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-management.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-object-binding.xml
===================================================================
---
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-object-binding.xml
(rev 0)
+++
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-object-binding.xml 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+
http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<beans
xmlns="http://www.springframework.org/schema/beans"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:foo="http://cxf.apache.org/configuration/foo"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <bean class="org.apache.cxf.binding.object.ObjectBindingFactory"
+ lazy-init="true"
depends-on="org.apache.cxf.endpoint.ServerLifeCycleManager" >
+ <property name="bus" ref="cxf"/>
+ <property name="activationNamespaces">
+ <set>
+ <
value>http://cxf.apache.org/binding/object</value>
+ </set>
+ </property>
+ </bean>
+</beans>
Property changes on:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-object-binding.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-policy.xml
===================================================================
---
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-policy.xml
(rev 0)
+++
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-policy.xml 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+
http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<beans
xmlns="http://www.springframework.org/schema/beans"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <bean id="org.apache.cxf.ws.policy.AssertionBuilderRegistry"
class="org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl">
+ <constructor-arg>
+ <bean
class="org.apache.cxf.configuration.spring.SpringBeanQNameMap">
+ <property name="type"
value="org.apache.cxf.ws.policy.AssertionBuilder"/>
+ <property name="idsProperty"
value="knownElements"/>
+ </bean>
+ </constructor-arg>
+ </bean>
+
+ <bean class="org.apache.cxf.ws.policy.PolicyConstants"/>
+
+ <bean id="org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistry"
class="org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistryImpl">
+ <constructor-arg>
+ <bean
class="org.apache.cxf.configuration.spring.SpringBeanQNameMap">
+ <property name="type"
value="org.apache.cxf.ws.policy.PolicyInterceptorProvider"/>
+ <property name="idsProperty"
value="assertionTypes"/>
+ </bean>
+ </constructor-arg>
+ </bean>
+
+ <bean
id="org.apache.cxf.ws.policy.attachment.external.DomainExpressionBuilderRegistry"
+
class="org.apache.cxf.ws.policy.attachment.external.DomainExpressionBuilderRegistry">
+ <constructor-arg>
+ <bean
class="org.apache.cxf.configuration.spring.SpringBeanQNameMap">
+ <property name="type"
value="org.apache.cxf.ws.policy.attachment.external.DomainExpressionBuilder"/>
+ <property name="idsProperty"
value="domainExpressionTypes"/>
+ </bean>
+ </constructor-arg>
+ </bean>
+
+ <bean
class="org.apache.cxf.ws.policy.attachment.external.EndpointReferenceDomainExpressionBuilder"/>
+
+ <bean id="org.apache.cxf.ws.policy.PolicyBuilder"
class="org.apache.cxf.ws.policy.PolicyBuilderImpl">
+ <property name="assertionBuilderRegistry"
ref="org.apache.cxf.ws.policy.AssertionBuilderRegistry"/>
+ </bean>
+
+ <bean id="org.apache.cxf.ws.policy.PolicyEngine"
class="org.apache.cxf.ws.policy.spring.InitializingPolicyEngine">
+ <property name="bus" ref="cxf"/>
+ </bean>
+
+ <bean
class="org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider">
+ <constructor-arg ref="cxf"/>
+ </bean>
+
+ <bean
class="org.apache.cxf.ws.policy.attachment.ServiceModelPolicyProvider">
+ <constructor-arg ref="cxf"/>
+ </bean>
+
+ <!-- MTOM Policy Support -->
+ <bean class="org.apache.cxf.ws.policy.mtom.MTOMAssertionBuilder">
+ <property name="bus" ref="cxf"/>
+ </bean>
+ <bean
class="org.apache.cxf.ws.policy.mtom.MTOMPolicyInterceptorProvider"/>
+</beans>
Property changes on:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-policy.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-rm.xml
===================================================================
--- stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-rm.xml
(rev 0)
+++
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-rm.xml 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+
http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<beans
xmlns="http://www.springframework.org/schema/beans"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:foo="http://cxf.apache.org/configuration/foo"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <bean id="org.apache.cxf.ws.rm.RMManager"
class="org.apache.cxf.ws.rm.RMManager">
+ <property name="bus" ref="cxf"/>
+ </bean>
+
+ <bean
class="org.apache.cxf.ws.rm.policy.RMPolicyInterceptorProvider">
+ <constructor-arg><ref bean="cxf"/></constructor-arg>
+ </bean>
+
+ <bean id="org.apache.cxf.ws.rm.RMAssertionBuilder"
class="org.apache.cxf.ws.policy.builder.jaxb.JaxbAssertionBuilder">
+ <constructor-arg
value="org.apache.cxf.ws.rm.policy.RMAssertion"/>
+ <constructor-arg>
+ <bean class="javax.xml.namespace.QName">
+ <constructor-arg
value="http://schemas.xmlsoap.org/ws/2005/02/rm/policy"/>
+ <constructor-arg value="RMAssertion"/>
+ </bean>
+ </constructor-arg>
+ </bean>
+
+</beans>
\ No newline at end of file
Property changes on:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-rm.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-soap.xml
===================================================================
---
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-soap.xml
(rev 0)
+++
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-soap.xml 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+
http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<beans
xmlns="http://www.springframework.org/schema/beans"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:foo="http://cxf.apache.org/configuration/foo"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <bean class="org.apache.cxf.binding.soap.SoapBindingFactory"
lazy-init="true">
+ <property name="activationNamespaces">
+ <set>
+ <
value>http://schemas.xmlsoap.org/soap/</value>
+ <
value>http://schemas.xmlsoap.org/wsdl/soap/</value>
+ <
value>http://schemas.xmlsoap.org/wsdl/soap12/</value>
+ <
value>http://www.w3.org/2003/05/soap/bindings/HTTP/</value>
+ <
value>http://schemas.xmlsoap.org/wsdl/soap/http</value>
+ </set>
+ </property>
+ <property name="bus" ref="cxf"/>
+ </bean>
+
+ <bean class="org.apache.cxf.binding.soap.SoapTransportFactory"
lazy-init="true">
+ <property name="transportIds">
+ <list>
+ <
value>http://schemas.xmlsoap.org/soap/</value>
+ <
value>http://schemas.xmlsoap.org/wsdl/soap/</value>
+ <
value>http://schemas.xmlsoap.org/wsdl/soap12/</value>
+ </list>
+ </property>
+ <property name="bus" ref="cxf"/>
+ </bean>
+
+ <bean id="org.apache.cxf.binding.soap.customEditorConfigurer"
+ class="org.springframework.beans.factory.config.CustomEditorConfigurer">
+ <property name="customEditors">
+ <map>
+ <entry key="org.apache.cxf.binding.soap.SoapVersion">
+ <bean
class="org.apache.cxf.binding.soap.SoapVersionPropertyEditor"/>
+ </entry>
+ </map>
+ </property>
+ </bean>
+</beans>
Property changes on:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-soap.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-xml.xml
===================================================================
--- stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-xml.xml
(rev 0)
+++
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-xml.xml 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+
http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<beans
xmlns="http://www.springframework.org/schema/beans"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:foo="http://cxf.apache.org/configuration/foo"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <bean class="org.apache.cxf.binding.xml.XMLBindingFactory"
lazy-init="true">
+ <property name="activationNamespaces">
+ <set>
+ <
value>http://cxf.apache.org/bindings/xformat</value>
+ <
value>http://www.w3.org/2004/08/wsdl/http</value>
+ </set>
+ </property>
+ <property name="bus" ref="cxf"/>
+ </bean>
+
+</beans>
Property changes on:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-extension-xml.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-servlet.xml
===================================================================
--- stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-servlet.xml
(rev 0)
+++
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-servlet.xml 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+
http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<beans
xmlns="http://www.springframework.org/schema/beans"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:foo="http://cxf.apache.org/configuration/foo"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <bean
class="org.apache.cxf.transport.servlet.ServletTransportFactory">
+ <property name="bus" ref="cxf"/>
+ <property name="transportIds">
+ <set>
+ <
value>http://cxf.apache.org/bindings/xformat</value>
+ <
value>http://schemas.xmlsoap.org/soap/http</value>
+ <
value>http://schemas.xmlsoap.org/wsdl/http/</value>
+ <
value>http://schemas.xmlsoap.org/wsdl/soap/http</value>
+ <
value>http://www.w3.org/2003/05/soap/bindings/HTTP/</value>
+
<
value>http://cxf.apache.org/transports/http/configuration</value>
+ </set>
+ </property>
+ </bean>
+</beans>
Property changes on:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf-servlet.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf.extension
===================================================================
--- stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf.extension
(rev 0)
+++
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf.extension 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,14 @@
+META-INF/cxf/cxf-extension-jaxws.xml
+META-INF/cxf/cxf-extension-rm.xml
+META-INF/cxf/cxf-extension-addr.xml
+META-INF/cxf/cxf-extension-http-jetty.xml
+META-INF/cxf/cxf-extension-object-binding.xml
+META-INF/cxf/cxf-extension-http.xml
+META-INF/cxf/cxf-extension-http-binding.xml
+META-INF/cxf/cxf-extension-xml.xml
+META-INF/cxf/cxf-extension-policy.xml
+META-INF/cxf/cxf-extension-jms.xml
+META-INF/cxf/cxf-extension-local.xml
+META-INF/cxf/cxf-extension-management.xml
+META-INF/cxf/cxf-extension-soap.xml
+META-INF/cxf/cxf-extension-jbossws.xml
\ No newline at end of file
Added: stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf.xml
===================================================================
--- stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf.xml
(rev 0)
+++ stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf.xml 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+
http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<beans
xmlns="http://www.springframework.org/schema/beans"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:foo="http://cxf.apache.org/configuration/foo"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl"/>
+ <bean class="org.apache.cxf.bus.spring.Jsr250BeanPostProcessor"
id="org.apache.cxf.bus.spring.Jsr250BeanPostProcessor"/>
+ <bean class="org.apache.cxf.bus.spring.BusExtensionPostProcessor"
id="org.apache.cxf.bus.spring.BusExtensionPostProcessor"/>
+
+ <bean id="org.apache.cxf.resource.ResourceManager"
class="org.apache.cxf.bus.resource.ResourceManagerImpl">
+ <constructor-arg>
+ <list>
+ <bean
class="org.apache.cxf.resource.ClasspathResolver"/>
+ <bean
class="org.apache.cxf.resource.ClassLoaderResolver"/>
+ <bean
class="org.apache.cxf.bus.spring.BusApplicationContextResourceResolver"/>
+ </list>
+ </constructor-arg>
+ <property name="bus" ref="cxf"/>
+ </bean>
+ <bean id="org.apache.cxf.configuration.Configurer"
+ class="org.apache.cxf.configuration.spring.ConfigurerImpl">
+ </bean>
+
+ <bean id="org.apache.cxf.binding.BindingFactoryManager"
class="org.apache.cxf.binding.BindingFactoryManagerImpl">
+ <constructor-arg>
+ <bean
class="org.apache.cxf.configuration.spring.SpringBeanMap">
+ <property name="type"
value="org.apache.cxf.binding.BindingFactory"/>
+ <property name="idsProperty"
value="activationNamespaces"/>
+ </bean>
+ </constructor-arg>
+ <property name="bus" ref="cxf"/>
+ </bean>
+
+ <bean id="org.apache.cxf.transport.DestinationFactoryManager"
class="org.apache.cxf.transport.DestinationFactoryManagerImpl">
+ <constructor-arg>
+ <bean
class="org.apache.cxf.configuration.spring.SpringBeanMap">
+ <property name="type"
value="org.apache.cxf.transport.DestinationFactory"/>
+ <property name="idsProperty"
value="transportIds"/>
+ </bean>
+ </constructor-arg>
+ <property name="bus" ref="cxf"/>
+ </bean>
+
+ <bean id="org.apache.cxf.transport.ConduitInitiatorManager"
class="org.apache.cxf.transport.ConduitInitiatorManagerImpl">
+ <constructor-arg>
+ <bean
class="org.apache.cxf.configuration.spring.SpringBeanMap">
+ <property name="type"
value="org.apache.cxf.transport.ConduitInitiator"/>
+ <property name="idsProperty"
value="transportIds"/>
+ </bean>
+ </constructor-arg>
+ <property name="bus" ref="cxf"/>
+ </bean>
+
+ <bean id="org.apache.cxf.wsdl.WSDLManager"
class="org.apache.cxf.wsdl11.WSDLManagerImpl">
+ <property name="bus" ref="cxf"/>
+ </bean>
+
+ <bean id="org.apache.cxf.phase.PhaseManager"
class="org.apache.cxf.phase.PhaseManagerImpl">
+
+ </bean>
+
+ <bean id="org.apache.cxf.workqueue.WorkQueueManager"
class="org.apache.cxf.workqueue.WorkQueueManagerImpl">
+ <property name="bus" ref="cxf"/>
+ </bean>
+
+ <bean id="org.apache.cxf.buslifecycle.BusLifeCycleManager"
class="org.apache.cxf.buslifecycle.CXFBusLifeCycleManager">
+ <property name="bus" ref="cxf"/>
+ </bean>
+
+ <bean id="org.apache.cxf.endpoint.ServerRegistry"
class="org.apache.cxf.endpoint.ServerRegistryImpl">
+ <property name="bus" ref="cxf"/>
+ </bean>
+
+ <bean id="org.apache.cxf.endpoint.ServerLifeCycleManager"
class="org.apache.cxf.endpoint.ServerLifeCycleManagerImpl"/>
+ <bean id="org.apache.cxf.endpoint.ClientLifeCycleManager"
class="org.apache.cxf.endpoint.ClientLifeCycleManagerImpl"/>
+
+
+ <bean id="org.apache.cxf.transports.http.QueryHandlerRegistry"
class="org.apache.cxf.transport.http.QueryHandlerRegistryImpl">
+ <constructor-arg ref="cxf"/>
+ <constructor-arg>
+ <list>
+ <bean class="org.apache.cxf.transport.http.WSDLQueryHandler">
+ <constructor-arg ref="cxf"/>
+ </bean>
+ </list>
+ </constructor-arg>
+ </bean>
+
+ <bean id="org.apache.cxf.endpoint.EndpointResolverRegistry"
class="org.apache.cxf.endpoint.EndpointResolverRegistryImpl">
+ <property name="bus" ref="cxf"/>
+ </bean>
+ <bean id="org.apache.cxf.headers.HeaderManager"
class="org.apache.cxf.headers.HeaderManagerImpl">
+ <property name="bus" ref="cxf"/>
+ </bean>
+ <bean id="org.apache.cxf.catalog.OASISCatalogManager"
class="org.apache.cxf.catalog.OASISCatalogManager">
+ <property name="bus" ref="cxf"/>
+ </bean>
+</beans>
Property changes on:
stack/cxf/trunk/src/main/resources/jbossws-cxf.sar/META-INF/cxf/cxf.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/trunk/src/test/java/org/jboss/test/ws/jaxws/cxf/reliable/RMEndpoint.java
===================================================================
--- stack/cxf/trunk/src/test/java/org/jboss/test/ws/jaxws/cxf/reliable/RMEndpoint.java
(rev 0)
+++
stack/cxf/trunk/src/test/java/org/jboss/test/ws/jaxws/cxf/reliable/RMEndpoint.java 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.cxf.reliable;
+
+// $Id$
+
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+/**
+ * Test the CXF WS-ReliableMessaging
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 12-Dec-2007
+ */
+@WebService(name = "RMEndpoint", targetNamespace =
"http://org.jboss.ws.jaxws.cxf/reliable", serviceName = "RMService")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+public interface RMEndpoint
+{
+ String echo(String input);
+}
Property changes on:
stack/cxf/trunk/src/test/java/org/jboss/test/ws/jaxws/cxf/reliable/RMEndpoint.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/cxf/trunk/src/test/java/org/jboss/test/ws/jaxws/cxf/reliable/RMEndpointImpl.java
===================================================================
---
stack/cxf/trunk/src/test/java/org/jboss/test/ws/jaxws/cxf/reliable/RMEndpointImpl.java
(rev 0)
+++
stack/cxf/trunk/src/test/java/org/jboss/test/ws/jaxws/cxf/reliable/RMEndpointImpl.java 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,45 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.cxf.reliable;
+
+// $Id$
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+/**
+ * Test the CXF WS-ReliableMessaging
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 12-Dec-2007
+ */
+@WebService(name = "RMEndpoint", targetNamespace =
"http://org.jboss.ws.jaxws.cxf/reliable", serviceName = "RMService")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+public class RMEndpointImpl
+{
+ @WebMethod
+ public String echo(String input)
+ {
+ return input;
+ }
+}
Property changes on:
stack/cxf/trunk/src/test/java/org/jboss/test/ws/jaxws/cxf/reliable/RMEndpointImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/trunk/src/test/java/org/jboss/test/ws/jaxws/cxf/reliable/RMTestCase.java
===================================================================
--- stack/cxf/trunk/src/test/java/org/jboss/test/ws/jaxws/cxf/reliable/RMTestCase.java
(rev 0)
+++
stack/cxf/trunk/src/test/java/org/jboss/test/ws/jaxws/cxf/reliable/RMTestCase.java 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,61 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.cxf.reliable;
+
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test the CXF WS-ReliableMessaging
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 12-Dec-2007
+ */
+public class RMTestCase extends JBossWSTest
+{
+ private String endpointURL = "http://" + getServerHost() +
":8080/jaxws-cxf-reliable/TestService";
+ private String targetNS = "http://org.jboss.ws.jaxws.cxf/reliable";
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(RMTestCase.class, "jaxws-cxf-reliable.war");
+ }
+
+ public void testLegalAccess() throws Exception
+ {
+ URL wsdlURL = new URL(endpointURL + "?wsdl");
+ QName serviceName = new QName(targetNS, "RMService");
+
+ Service service = Service.create(wsdlURL, serviceName);
+ RMEndpoint port = (RMEndpoint)service.getPort(RMEndpoint.class);
+
+ Object retObj = port.echo("Hello");
+ assertEquals("Hello", retObj);
+ }
+}
\ No newline at end of file
Property changes on:
stack/cxf/trunk/src/test/java/org/jboss/test/ws/jaxws/cxf/reliable/RMTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/trunk/src/test/resources/jaxws/cxf/reliable/WEB-INF/jbossws-cxf.xml
===================================================================
--- stack/cxf/trunk/src/test/resources/jaxws/cxf/reliable/WEB-INF/jbossws-cxf.xml
(rev 0)
+++
stack/cxf/trunk/src/test/resources/jaxws/cxf/reliable/WEB-INF/jbossws-cxf.xml 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,31 @@
+<beans
xmlns='http://www.springframework.org/schema/beans'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:beans='http://www.springframework.org/schema/beans'
+
xmlns:jaxws='http://cxf.apache.org/jaxws'
xmlns:p="http://cxf.apache.org/policy"
+
xsi:schemaLocation='http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+
http://cxf.apache.org/policy http://cxf.apache.org/schemas/policy.xsd
+
http://www.w3.org/2006/07/ws-policy http://www.w3.org/2006/11/ws-policy.xsd
+
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd'>
+
+ <!--wsp:Policy wsu:Id="RM"
xmlns:wsp="http://www.w3.org/2006/07/ws-policy"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
+ <wsam:Addressing
xmlns:wsam="http://www.w3.org/2007/02/addressing/metadata">
+ <wsp:Policy/>
+ </wsam:Addressing>
+ <wsrmp:RMAssertion
xmlns:wsrmp="http://schemas.xmlsoap.org/ws/2005/02/rm/policy">
+ <wsrmp:BaseRetransmissionInterval Milliseconds="10000"/>
+ </wsrmp:RMAssertion>
+ </wsp:Policy-->
+
+ <jaxws:endpoint id='TestService'
address='http://@jboss.bind.address@:8080/jaxws-cxf-reliable'
implementor='org.jboss.test.ws.jaxws.cxf.reliable.RMEndpointImpl'>
+
+ <jaxws:invoker>
+ <bean class='org.jboss.wsf.stack.cxf.InvokerJSE'/>
+ </jaxws:invoker>
+
+ <!--jaxws:features>
+ <p:policies>
+ <wsp:PolicyReference URI="#RM"
xmlns:wsp="http://www.w3.org/2006/07/ws-policy"/>
+ </p:policies>
+ </jaxws:features-->
+
+ </jaxws:endpoint>
+
+</beans>
\ No newline at end of file
Property changes on:
stack/cxf/trunk/src/test/resources/jaxws/cxf/reliable/WEB-INF/jbossws-cxf.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/trunk/src/test/resources/jaxws/cxf/reliable/WEB-INF/web.xml
===================================================================
--- stack/cxf/trunk/src/test/resources/jaxws/cxf/reliable/WEB-INF/web.xml
(rev 0)
+++ stack/cxf/trunk/src/test/resources/jaxws/cxf/reliable/WEB-INF/web.xml 2007-12-12
13:31:36 UTC (rev 5266)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app
xmlns="http://java.sun.com/xml/ns/j2ee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>TestService</servlet-name>
+
<servlet-class>org.jboss.test.ws.jaxws.cxf.reliable.RMEndpointImpl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>TestService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on:
stack/cxf/trunk/src/test/resources/jaxws/cxf/reliable/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/trunk/src/test/resources/jaxws/cxf/reliable/cxf.xml
===================================================================
--- stack/cxf/trunk/src/test/resources/jaxws/cxf/reliable/cxf.xml
(rev 0)
+++ stack/cxf/trunk/src/test/resources/jaxws/cxf/reliable/cxf.xml 2007-12-12 13:31:36 UTC
(rev 5266)
@@ -0,0 +1,31 @@
+<beans
xmlns='http://www.springframework.org/schema/beans'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:beans='http://www.springframework.org/schema/beans'
+
xmlns:jaxws='http://cxf.apache.org/jaxws'
xmlns:p="http://cxf.apache.org/policy"
+
xsi:schemaLocation='http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+
http://cxf.apache.org/policy http://cxf.apache.org/schemas/policy.xsd
+
http://www.w3.org/2006/07/ws-policy http://www.w3.org/2006/11/ws-policy.xsd
+
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd'>
+
+ <wsp:Policy wsu:Id="RM"
xmlns:wsp="http://www.w3.org/2006/07/ws-policy"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
+ <wsam:Addressing
xmlns:wsam="http://www.w3.org/2007/02/addressing/metadata">
+ <wsp:Policy/>
+ </wsam:Addressing>
+ <wsrmp:RMAssertion
xmlns:wsrmp="http://schemas.xmlsoap.org/ws/2005/02/rm/policy">
+ <wsrmp:BaseRetransmissionInterval Milliseconds="10000"/>
+ </wsrmp:RMAssertion>
+ </wsp:Policy>
+
+ <jaxws:endpoint id='TestService'
address='http://@jboss.bind.address@:8080/jaxws-cxf-reliable'
implementor='org.jboss.test.ws.jaxws.cxf.reliable.RMEndpointImpl'>
+
+ <jaxws:invoker>
+ <bean class='org.jboss.wsf.stack.cxf.InvokerJSE'/>
+ </jaxws:invoker>
+
+ <jaxws:features>
+ <p:policies>
+ <wsp:PolicyReference URI="#RM"
xmlns:wsp="http://www.w3.org/2006/07/ws-policy"/>
+ </p:policies>
+ </jaxws:features>
+
+ </jaxws:endpoint>
+
+</beans>
\ No newline at end of file
Property changes on: stack/cxf/trunk/src/test/resources/jaxws/cxf/reliable/cxf.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: stack/cxf/trunk/version.properties
===================================================================
--- stack/cxf/trunk/version.properties 2007-12-12 12:37:50 UTC (rev 5265)
+++ stack/cxf/trunk/version.properties 2007-12-12 13:31:36 UTC (rev 5266)
@@ -24,6 +24,7 @@
cxf.geronimo.javamail=1.4_spec-1.0-M1
cxf.geronimo.ws.metadata=2.0_spec-1.1.1
cxf.jaxws.api=2.0
+cxf.jetty=6.1.5
cxf.jdom=1.0
cxf.neethi=2.0.2
cxf.saaj=1.3