servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ksobkow...@apache.org
Subject [10/25] servicemix-features git commit: Old modules removed
Date Wed, 08 Feb 2017 20:27:49 GMT
http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/examples/cxf/cxf-ws-addressing/README.txt
----------------------------------------------------------------------
diff --git a/examples/cxf/cxf-ws-addressing/README.txt b/examples/cxf/cxf-ws-addressing/README.txt
deleted file mode 100644
index 6361562..0000000
--- a/examples/cxf/cxf-ws-addressing/README.txt
+++ /dev/null
@@ -1,308 +0,0 @@
-/*
- * 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.
- */
-
-CXF WS-Addressing Example
-=========================
-
-Purpose
--------
-Use CXF to create a web service enabled for WS-Addressing and
-expose it through the OSGi HTTP Service.
-
-
-Explanation
------------
-This example is based on the WS-Addressing sample in Apache CXF
-(http://cxf.apache.org/). There is a more complete explanation
-of WS-Addressing in that sample's README.
-
-The WS-Addressing functionality is implemented as interceptors.
-It is configured in the beans.xml file, which is located in the
-src/main/resources/META-INF/spring directory of this example.
-The configuration can be explained as follows:
-
-1. The following entry adds the addressing interceptors (org.apache.
-   cxf.ws.addressing.MAPAggregator and org.apache.cxf.ws.addressing.
-   soap.MAPCodec) to the inbound and outbound interceptor chains.
-   The interceptors add the appropriate WS-Addressing headers to the
-   SOAP messages and remove them at the service end.
-
-  <bean id="mapAggregator" class="org.apache.cxf.ws.addressing.MAPAggregator"/>
-  <bean id="mapCodec" class="org.apache.cxf.ws.addressing.soap.MAPCodec"/>
-
-    <!--bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl">
-        <property name="inInterceptors">
-            <list>
-                <ref bean="mapAggregator"/>
-                <ref bean="mapCodec"/>
-            </list>
-        </property>
-        <property name="inFaultInterceptors">
-            <list>
-                <ref bean="mapAggregator"/>
-                <ref bean="mapCodec"/>
-                <ref bean="logInbound"/>
-            </list>
-        </property>
-        <property name="outInterceptors">
-            <list>
-                <ref bean="mapAggregator"/>
-                <ref bean="mapCodec"/>
-            </list>
-        </property>
-        <property name="outFaultInterceptors">
-            <list>
-                <ref bean="mapAggregator"/>
-                <ref bean="mapCodec"/>
-            </list>
-        </property>
-    </bean--> 
-
-2. The following entry enables WS-Addressing for all services
-   on the bus:
-
-   <cxf:bus>
-       <cxf:features>
-           <wsa:addressing/>
-       </cxf:features>
-   </cxf:bus>
-
-In addition, the service WSDL, hello_world_addr.wsdl, includes
-WS-Addressing configuration as shown below:
-
-    <wsdl:service ... >
-        <wsdl:port ...>
-            <soap:address ... />
-            <wswa:UsingAddressing xmlns:wswa="http://www.w3.org/2005/02/addressing/wsdl"/>
-        </wsdl:port>
-    </wsdl:service>
-
-The WSDL file is located in the src/main/resources/wsdl
-directory of this example.
-
-The various clients send the request.xml file, located in src/main/
-resources/org/apache/servicemix/examples/cxf/wsaddressing. It
-contains SOAP request with some WS-Addressing headers set in it.
-
-
-Prerequisites for Running the Example
--------------------------------------
-1. You must have the following installed on your machine:
-
-   - JDK 1.6 or higher
-   
-   - Maven 2.2.1 or higher
-   
-  For more information, see the README in the top-level examples
-  directory.
-
-
-2. Start ServiceMix by running the following command:
-
-  <servicemix_home>/bin/servicemix          (on UNIX)
-  <servicemix_home>\bin\servicemix          (on Windows)
-
-
-Running the Example
--------------------
-You can run the example in two ways:
-
-- A. Using a Prebuilt Deployment Bundle: Quick and Easy
-This option is useful if you want to see the example up and
-running as quickly as possible.
-
-- B. Building the Example Bundle Yourself
-This option is useful if you want to change the example in any
-way. It tells you how to build and deploy the example. This
-option might be slower than option A because, if you do not
-already have the required bundles in your local Maven
-repository, Maven will have to download the bundles it needs.
-
-A. Using a Prebuilt Deployment Bundle: Quick and Easy
------------------------------------------------------
-To install and run a prebuilt version of this example, enter
-the following command in the ServiceMix console:
-
-  features:install examples-cxf-ws-addressing
-  
-This command makes use of the ServiceMix features facility. For
-more information about the features facility, see the README.txt
-file in the examples parent directory.
-
-To view the service WSDL, open your browser and go to the following
-URL:
-
-  http://localhost:8181/cxf/SoapContext/SoapPort?wsdl
-
-Note, if you use Safari, right click the window and select
-'Show Source'.
-
-Running a Client
-----------------
-To run the web client:
-
-1. Open the client.html, which is located in the same directory as
-   this README file, in your favorite browser.
-
-2. Click the Send button to send a request.
-
-   Once the request has been successfully sent, you should receive
-   a SOAP message similar to the following as a response. It should
-   appear in the right-hand panel of the web page:
-   
-   STATUS: 200
-   <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
-     <soap:Header>
-       <Action xmlns="http://www.w3.org/2005/08/addressing">
-       http://apache.org/hello_world_soap_http/Greeter/sayHiResponse
-       </Action>
-       <MessageID xmlns="http://www.w3.org/2005/08/addressing">
-       urn:uuid:4352861b-3451-4ae8-b97f-11f7e2535807</MessageID>
-       <To xmlns="http://www.w3.org/2005/08/addressing">
-       http://www.w3.org/2005/08/addressing/anonymous</To>
-       <RelatesTo xmlns="http://www.w3.org/2005/08/addressing">
-       urn:uuid:10fb2ee6-43db-4d88-a3e5-6316f1763669</RelatesTo>
-     </soap:Header>
-     <soap:Body>
-       <sayHiResponse xmlns="http://apache.org/hello_world_soap_http/types">
-       <responseType>Bonjour</responseType>
-       </sayHiResponse>
-     </soap:Body>
-   </soap:Envelope>
-
-
-To run the java code client:
-
-1. Change to the <servicemix_home>/examples/cxf/cxf-ws-addressing
-   directory.
-
-2. Run the following command:
-
-     mvn compile exec:java
-
-   It makes an invocation with WS-Addressing headers and displays,
-   in the ServiceMix console, a response similar to that shown 
-   in the web client (see above).
-
-Changing /cxf servlet alias
----------------------------
-By default CXF Servlet is assigned a '/cxf' alias. You can
-change it in a couple of ways:
-
-a. Add org.apache.cxf.osgi.cfg to the /etc directory and
-   set the 'org.apache.cxf.servlet.context' property, for example:
-   
-     org.apache.cxf.servlet.context=/custom
-
-b. Use shell config commands, for example:
-
-     config:edit org.apache.cxf.osgi   
-     config:propset org.apache.cxf.servlet.context /super
-     config:update
-
-
-B. Building the Example Bundle Yourself
----------------------------------------
-To install and run the example where you build the example bundle
-yourself, complete the following steps:
-
-1. If you have already run the example using the prebuilt version as
-   described above, you must first uninstall the
-   examples-cxf-ws-addressing feature by entering the following
-   command in the ServiceMix console:
-
-     features:uninstall examples-cxf-ws-addressing
-
-   
-2. Build the example by opening a command prompt, changing directory
-   to examples/cxf-ws-addressing (this example) and entering the
-   following Maven command:
-
-     mvn install
-   
-   If all of the required OSGi bundles are available in your local
-   Maven repository, the example will build very quickly. Otherwise
-   it may take some time for Maven to download everything it needs.
-   
-   The mvn install command builds the example deployment bundle and
-   copies it to your local Maven repository and to the target directory
-   of this example.
-     
-3. Install the example by entering the following command in
-   the ServiceMix console:
-   
-     features:install examples-cxf-ws-addressing
-       
-   It makes use of the ServiceMix features facility. For more
-   information about the features facility, see the README.txt file
-   in the examples parent directory.
-
-To view the service WSDL, open your browser and go to the following
-URL:
-
-    http://localhost:8181/cxf/SoapContext/SoapPort?wsdl
-
-Note, if you use Safari, right click the window and select
-'Show Source'.
-
-You can try running a client against your service by following the
-instructions in the "Running a Client" section above.
-
-
-Stopping and Uninstalling the Example
--------------------------------------
-To stop the example, you must first know the bundle ID that ServiceMix
-has assigned to it. To get the bundle ID, enter the following command
-in the ServiceMix console (Note, the text you are typing will
-intermingle with the output being logged. This is nothing to worry
-about.):
-
-  osgi:list
-
-At the end of the listing, you should see an entry similar to the
-following:
-
-  [171] [Active     ] [Started] [  60] Apache ServiceMix Example :: CXF WS-ADDRESSING OSGI (4.2.0)
-
-In this case, the bundle ID is 171.
-
-To stop the example, enter the following command in the ServiceMix
-console:
-
-  osgi:stop <bundle_id>
-
-For example:
-
-  osgi:stop 171
-
-To uninstall the example, enter one of the following commands in
-the ServiceMix console:
-
-  features:uninstall examples-cxf-ws-addressing
- 
-or
- 
-  osgi:uninstall <bundle_id>
-  
-
-Viewing the Log Entries
------------------------
-You can view the entries in the log file in the data/log
-directory of your ServiceMix installation, or by typing
-the following command in the ServiceMix console:
-
-  log:display

http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/examples/cxf/cxf-ws-addressing/client.html
----------------------------------------------------------------------
diff --git a/examples/cxf/cxf-ws-addressing/client.html b/examples/cxf/cxf-ws-addressing/client.html
deleted file mode 100644
index 4fe3431..0000000
--- a/examples/cxf/cxf-ws-addressing/client.html
+++ /dev/null
@@ -1,145 +0,0 @@
-<!--
-    
-    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.
-
--->
-<html>
-<head>
-<title>ServiceMix 4 CXF-OSGi Example</title>
-<script type="text/javascript">
-var urlToOpen = "http://localhost:8181/cxf/SoapContext/SoapPort"; //default URL to open
-
-function getHTTPObject() {
-  var xmlhttp = false;
-
-  /* Compilation conditionnelle d'IE */
-  /* Check if we are using IE */
-  /*@cc_on
-  @if (@_jscript_version >= 5)
-     try {
-        xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
-     } catch (e) {
-        try {
-           xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
-        } catch (E) {
-           xmlhttp = false;
-        }
-     }
-  @else
-     xmlhttp = false;
-  @end @*/
-
-  /* on essaie de cr�er l'objet si ce n'est pas d�j� fait */
-  /* Create the xmlhttp object if it is not yet defined */
-  if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
-     try {
-        xmlhttp = new XMLHttpRequest();
-     } catch (e) {
-        xmlhttp = false;
-     }
-  }
-
-  if (xmlhttp) {
-     /* on d�finit ce qui doit se passer quand la page r�pondra */
-     /* Define the callback function for the response */
-     xmlhttp.onreadystatechange=function() {
-        if (xmlhttp.readyState == 4) { /* 4 : �tat "complete" */
-           var response = document.getElementById("response");
-           var responseStatus = "";
-           try {
-             responseStatus = xmlhttp.status + "";
-           } catch (e) {
-             responseStatus = "ERROR WHILE RETRIEVING STATUS; MAYBE UNABLE TO CONNECT.";
-           }
-           response.value = "STATUS: " + responseStatus + "\n" + xmlhttp.responseText;
-        }
-     }
-  }
-  return xmlhttp;
-}
-
-function send() {
-  if ((document.getElementById("urlToOpen").value != urlToOpen) && (document.getElementById("urlToOpen").value != "")) {
-    // use user entry if it is not the empty string
-    urlToOpen = document.getElementById("urlToOpen").value;
-  }  
-  var xmlhttp = getHTTPObject();
-  if (!xmlhttp) {
-    alert('cound not create XMLHttpRequest object');
-    return;
-  }
-  var request = document.getElementById("request");
-  var response = document.getElementById("response");
-  try {
-    netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead UniversalBrowserWrite");
-  } catch (e) {
-  }
-  try {
-    xmlhttp.open("POST", urlToOpen, true);
-  } catch (e) {
-    alert('error opening');
-  }
-  xmlhttp.send(request.value);
-}
-
-</script>
-</head>
-
-<body>
-
-<h1>ServiceMix 4 CXF WS-Addressing Example</h1>
-
-<p>Welcome to the CXF WS-Addressing example for ServiceMix 4</p>
-
-<p>Perform a POST into the HTTP binding. This requires JavaScript.</p> 
-<p>Target: <input type="text" size="50" id="urlToOpen" value=""><script type="text/javascript">document.getElementById("urlToOpen").value = urlToOpen;</script>.</p>
-  
-<table>
-  <tr>
-    <td>
-  <textarea id="request" style="width:600px;height:400px"><?xml version="1.0" encoding="UTF-8"?>
-<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
-   <soap:Header>
-      <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:10fb2ee6-43db-4d88-a3e5-6316f1763669</MessageID>
-      <To xmlns="http://www.w3.org/2005/08/addressing">http://localhost:9001/SoapContext/SoapPort</To>
-      <ReplyTo xmlns="http://www.w3.org/2005/08/addressing">
-         <Address>http://www.w3.org/2005/08/addressing/anonymous</Address>
-      </ReplyTo>
-      <FaultTo xmlns="http://www.w3.org/2005/08/addressing">
-         <Address>http://www.w3.org/2005/08/addressing/anonymou</Address>
-      </FaultTo>
-      <Action xmlns="http://www.w3.org/2005/08/addressing">http://apache.org/hello_world_soap_http/Greeter/sayHiRequest</Action>
-   </soap:Header>
-   <soap:Body>
-      <sayHi xmlns="http://apache.org/hello_world_soap_http/types"/>
-   </soap:Body>
-</soap:Envelope>
-
-  </textarea>
-    </td>
-    <td>
-  <textarea id="response" style="width:600px;height:400px">
-  </textarea>
-    </td>
-  </tr>
-  <tr>
-    <td colspan=2>
-  <input type="button" value="Send" onClick="send();"/>
-    </td>
-  </tr>
-</table>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/examples/cxf/cxf-ws-addressing/pom.xml
----------------------------------------------------------------------
diff --git a/examples/cxf/cxf-ws-addressing/pom.xml b/examples/cxf/cxf-ws-addressing/pom.xml
deleted file mode 100644
index 7db558f..0000000
--- a/examples/cxf/cxf-ws-addressing/pom.xml
+++ /dev/null
@@ -1,134 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
-    <!--
-
-        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.
-    -->
-
-    <modelVersion>4.0.0</modelVersion>
-
-    <parent>
-        <groupId>org.apache.servicemix.examples</groupId>
-        <artifactId>cxf</artifactId>
-        <version>4.6.0-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>cxf-ws-addressing</artifactId>
-    <packaging>bundle</packaging>
-    <name>Apache ServiceMix :: Features :: Examples :: CXF WS-Addressing OSGI</name>
-    <description>CXF example using WS-Addressing</description>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-rt-frontend-jaxws</artifactId>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-rt-transports-http</artifactId>
-            <version>${cxf.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.geronimo.specs</groupId>
-            <artifactId>geronimo-ws-metadata_2.0_spec</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.servicemix</groupId>
-            <artifactId>servicemix-utils</artifactId>
-            <version>1.5.0</version>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.cxf</groupId>
-                <artifactId>cxf-codegen-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>generate-test-sources</id>
-                        <phase>generate-sources</phase>
-                        <configuration>
-                            <sourceRoot>${basedir}/target/generated/src/main/java</sourceRoot>
-                            <wsdlOptions>
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_addr.wsdl</wsdl>
-                                </wsdlOption>
-                            </wsdlOptions>
-                        </configuration>
-                        <goals>
-                            <goal>wsdl2java</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Description>${project.description}</Bundle-Description>
-                        <Import-Package>
-                            javax.jws,
-                            javax.wsdl,
-                            javax.xml.bind,
-                            javax.xml.bind.annotation,
-                            javax.xml.namespace,
-                            javax.xml.soap,
-                            javax.xml.transform,
-                            javax.xml.ws,
-                            javax.xml.ws.handler,
-                            javax.xml.ws.handler.soap,
-                            META-INF.cxf,
-                            org.apache.cxf.bus,
-                            org.apache.cxf.bus.spring,
-                            org.apache.cxf.bus.resource,
-                            org.apache.cxf.configuration.spring,
-                            org.apache.cxf.resource,
-                            org.apache.cxf.transport.http,
-                            org.apache.cxf.feature,
-                            org.apache.cxf.interceptor,
-                            org.apache.cxf.ws.addressing,
-                            org.apache.cxf.ws.addressing.soap,
-                            org.apache.servicemix.util,
-                            org.apache.cxf.message, 
-                            org.apache.cxf.phase,
-                            org.springframework.beans.factory.config
-                        </Import-Package>
-                        <Export-Package>
-                            org.apache.servicemix.examples.cxf.wsaddressing,
-                            org.apache.hello_world_soap_http,
-                            org.apache.hello_world_soap_http.types
-                        </Export-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>exec-maven-plugin</artifactId>
-                <configuration>
-                    <mainClass>org.apache.servicemix.examples.cxf.wsaddressing.Client</mainClass>
-                    <includePluginDependencies>false</includePluginDependencies>
-                </configuration>
-            </plugin>
-
-        </plugins>
-    </build>
-
-</project>

http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/examples/cxf/cxf-ws-addressing/src/main/java/org/apache/servicemix/examples/cxf/EnableCORSInterceptor.java
----------------------------------------------------------------------
diff --git a/examples/cxf/cxf-ws-addressing/src/main/java/org/apache/servicemix/examples/cxf/EnableCORSInterceptor.java b/examples/cxf/cxf-ws-addressing/src/main/java/org/apache/servicemix/examples/cxf/EnableCORSInterceptor.java
deleted file mode 100644
index 9cf28b1..0000000
--- a/examples/cxf/cxf-ws-addressing/src/main/java/org/apache/servicemix/examples/cxf/EnableCORSInterceptor.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
- * 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.
- */
-package org.apache.servicemix.examples.cxf;
-
-import java.util.Arrays;
-import java.util.List;
-import java.util.Map;
-
-import org.apache.cxf.interceptor.Fault;
-import org.apache.cxf.message.Message;
-import org.apache.cxf.phase.AbstractPhaseInterceptor;
-import org.apache.cxf.phase.Phase;
-import org.apache.cxf.transport.http.Headers;
-
-public class EnableCORSInterceptor extends AbstractPhaseInterceptor<Message> {
-
-    public EnableCORSInterceptor() {
-        super(Phase.PRE_PROTOCOL);
-    }
-
-    @Override
-    public void handleMessage(Message message) throws Fault {
-        Map<String, List<String>> headers = Headers.getSetProtocolHeaders(message);
-        try {
-            //Access-Control-Allow-Origin:* Access-Control-Allow-Methods:POST,GET
-            headers.put("Access-Control-Allow-Origin", Arrays.asList("*"));
-            headers.put("Access-Control-Allow-Methods", Arrays.asList("POST", "GET"));
-        } catch (Exception ce) {
-            throw new Fault(ce);
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/examples/cxf/cxf-ws-addressing/src/main/java/org/apache/servicemix/examples/cxf/wsaddressing/Client.java
----------------------------------------------------------------------
diff --git a/examples/cxf/cxf-ws-addressing/src/main/java/org/apache/servicemix/examples/cxf/wsaddressing/Client.java b/examples/cxf/cxf-ws-addressing/src/main/java/org/apache/servicemix/examples/cxf/wsaddressing/Client.java
deleted file mode 100644
index fa906c3..0000000
--- a/examples/cxf/cxf-ws-addressing/src/main/java/org/apache/servicemix/examples/cxf/wsaddressing/Client.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * 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.
- */
-package org.apache.servicemix.examples.cxf.wsaddressing;
-
-import java.io.ByteArrayOutputStream;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.net.HttpURLConnection;
-import java.net.URL;
-import java.net.URLConnection;
-
-import org.apache.servicemix.util.FileUtil;
-
-public class Client{
-    public static void main(String[] args) {
-        try {
-        new Client().sendRequest();
-        } catch (Exception e) {
-            e.printStackTrace();
-        }
-    }
-    
-    public void sendRequest() throws Exception {
-        URLConnection connection = new URL("http://localhost:8181/cxf/SoapContext/SoapPort")
-                .openConnection();
-        connection.setDoInput(true);
-        connection.setDoOutput(true);
-        OutputStream os = connection.getOutputStream();
-        // Post the request file.
-        InputStream fis = getClass().getClassLoader().getResourceAsStream("org/apache/servicemix/examples/cxf/wsaddressing/request.xml");
-        FileUtil.copyInputStream(fis, os);
-        // Read the response.
-        InputStream is = connection.getInputStream();
-        ByteArrayOutputStream baos = new ByteArrayOutputStream();
-        FileUtil.copyInputStream(is, baos);
-        System.out.println("the response is =====>");
-        System.out.println(baos.toString());
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/examples/cxf/cxf-ws-addressing/src/main/java/org/apache/servicemix/examples/cxf/wsaddressing/GreeterImpl.java
----------------------------------------------------------------------
diff --git a/examples/cxf/cxf-ws-addressing/src/main/java/org/apache/servicemix/examples/cxf/wsaddressing/GreeterImpl.java b/examples/cxf/cxf-ws-addressing/src/main/java/org/apache/servicemix/examples/cxf/wsaddressing/GreeterImpl.java
deleted file mode 100644
index 4da6bd4..0000000
--- a/examples/cxf/cxf-ws-addressing/src/main/java/org/apache/servicemix/examples/cxf/wsaddressing/GreeterImpl.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/**
- * 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.
- */
-
-package org.apache.servicemix.examples.cxf.wsaddressing;
-
-import java.util.logging.Logger;
-
-import javax.jws.WebService;
-
-import org.apache.hello_world_soap_http.Greeter;
-import org.apache.hello_world_soap_http.PingMeFault;
-import org.apache.hello_world_soap_http.types.FaultDetail;
-
-@WebService(name = "SoapPort",
-            portName = "SoapPort",
-            serviceName = "SOAPService",
-            targetNamespace = "http://apache.org/hello_world_soap_http",
-            wsdlLocation = "wsdl/hello_world_addr.wsdl")
-
-public class GreeterImpl implements Greeter {
-
-    private static final Logger LOG =
-        Logger.getLogger(GreeterImpl.class.getPackage().getName());
-
-    /* (non-Javadoc)
-     * @see org.apache.hello_world_soap_http.Greeter#greetMe(java.lang.String)
-     */
-    public String greetMe(String me) {
-        LOG.info("Executing operation greetMe");
-        System.out.println("Executing operation greetMe");
-        System.out.println("Message received: " + me + "\n");
-        return "Hello " + me;
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.hello_world_soap_http.Greeter#greetMeOneWay(java.lang.String)
-     */
-    public void greetMeOneWay(String me) {
-        LOG.info("Executing operation greetMeOneWay");
-        System.out.println("Executing operation greetMeOneWay\n");
-        System.out.println("Hello there " + me);
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.hello_world_soap_http.Greeter#sayHi()
-     */
-    public String sayHi() {
-        LOG.info("Executing operation sayHi");
-        System.out.println("Executing operation sayHi\n");
-        return "Bonjour";
-    }
-
-    public void pingMe() throws PingMeFault {
-        FaultDetail faultDetail = new FaultDetail();
-        faultDetail.setMajor((short)2);
-        faultDetail.setMinor((short)1);
-        LOG.info("Executing operation pingMe, throwing PingMeFault exception");
-        System.out.println("Executing operation pingMe, throwing PingMeFault exception\n");
-        throw new PingMeFault("PingMeFault raised by server", faultDetail);
-    }
-
-
-}

http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/examples/cxf/cxf-ws-addressing/src/main/resources/META-INF/spring/beans.xml
----------------------------------------------------------------------
diff --git a/examples/cxf/cxf-ws-addressing/src/main/resources/META-INF/spring/beans.xml b/examples/cxf/cxf-ws-addressing/src/main/resources/META-INF/spring/beans.xml
deleted file mode 100644
index 26d1a38..0000000
--- a/examples/cxf/cxf-ws-addressing/src/main/resources/META-INF/spring/beans.xml
+++ /dev/null
@@ -1,109 +0,0 @@
-<?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.
--->
-<!-- START SNIPPET: beans -->
-<beans xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xmlns:jaxws="http://cxf.apache.org/jaxws"
-    xmlns:cxf="http://cxf.apache.org/core" 
-    xmlns:osgi="http://www.springframework.org/schema/osgi"
-    xmlns:wsa="http://cxf.apache.org/ws/addressing"
-    xsi:schemaLocation="
-        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
-        http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd 
-        http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
-        http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd">
-
-    <import resource="classpath:META-INF/cxf/cxf.xml" />
-    <jaxws:endpoint id="WsAddressingEndpoint"
-        implementor="org.apache.servicemix.examples.cxf.wsaddressing.GreeterImpl"
-        address="/SoapContext/SoapPort"
-        wsdlLocation="wsdl/hello_world_addr.wsdl"
-        endpointName="e:SoapPort"
-        serviceName="s:SOAPService"
-        xmlns:e="http://apache.org/hello_world_soap_http"
-            xmlns:s="http://apache.org/hello_world_soap_http">
-            <jaxws:features>
-                <bean class="org.apache.cxf.feature.LoggingFeature"/>
-            </jaxws:features>
-            <jaxws:outInterceptors>
-                <bean class="org.apache.servicemix.examples.cxf.EnableCORSInterceptor"/>
-            </jaxws:outInterceptors>
-        </jaxws:endpoint>
-
-       
-       <jaxws:client id="client" 
-             serviceClass="org.apache.hello_world_soap_http.Greeter"    
-        endpointName="e:SoapPort"
-        serviceName="s:SOAPService"
-        xmlns:e="http://apache.org/hello_world_soap_http"
-            xmlns:s="http://apache.org/hello_world_soap_http"
-             wsdlLocation="wsdl/hello_world_addr.wsdl"
-             address="http://localhost:8080/cxf/SoapContext/SoapPort">
-         </jaxws:client>
- 
-       <osgi:service id="testWSAddressing" ref="client"
-            interface="org.apache.hello_world_soap_http.Greeter"/>
-
-       <osgi:service id="businstance" ref="cxf"
-            interface="org.apache.cxf.bus.CXFBusImpl"/>
-
-
-    <bean id="mapAggregator" class="org.apache.cxf.ws.addressing.MAPAggregator"/>
-    <bean id="mapCodec" class="org.apache.cxf.ws.addressing.soap.MAPCodec"/>
-    <bean id="logInbound" class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
-    <bean id="logOutbound" class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
-    <!-- We are adding the interceptors to the bus as we will have only one endpoint/service/bus. -->
-
-    <!--bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl">
-        <property name="inInterceptors">
-            <list>
-                <ref bean="mapAggregator"/>
-                <ref bean="mapCodec"/>
-            </list>
-        </property>
-        <property name="inFaultInterceptors">
-            <list>
-                <ref bean="mapAggregator"/>
-                <ref bean="mapCodec"/>
-                <ref bean="logInbound"/>
-            </list>
-        </property>
-        <property name="outInterceptors">
-            <list>
-                <ref bean="mapAggregator"/>
-                <ref bean="mapCodec"/>
-            </list>
-        </property>
-        <property name="outFaultInterceptors">
-            <list>
-                <ref bean="mapAggregator"/>
-                <ref bean="mapCodec"/>
-            </list>
-        </property>
-    </bean-->
-    <cxf:bus>
-        <cxf:features>
-            <wsa:addressing/>
-        </cxf:features>
-    </cxf:bus>
-
-      
-</beans>
-<!-- END SNIPPET: beans -->

http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/examples/cxf/cxf-ws-addressing/src/main/resources/org/apache/servicemix/examples/cxf/wsaddressing/request.xml
----------------------------------------------------------------------
diff --git a/examples/cxf/cxf-ws-addressing/src/main/resources/org/apache/servicemix/examples/cxf/wsaddressing/request.xml b/examples/cxf/cxf-ws-addressing/src/main/resources/org/apache/servicemix/examples/cxf/wsaddressing/request.xml
deleted file mode 100644
index d0756d7..0000000
--- a/examples/cxf/cxf-ws-addressing/src/main/resources/org/apache/servicemix/examples/cxf/wsaddressing/request.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
-   <soap:Header>
-      <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:123456789</MessageID>
-      <To xmlns="http://www.w3.org/2005/08/addressing">http://localhost:8080/SoapContext/SoapPort</To>
-      <ReplyTo xmlns="http://www.w3.org/2005/08/addressing">
-         <Address>http://www.w3.org/2005/08/addressing/anonymous</Address>
-      </ReplyTo>
-      <FaultTo xmlns="http://www.w3.org/2005/08/addressing">
-         <Address>http://www.w3.org/2005/08/addressing/anonymous</Address>
-      </FaultTo>
-      <Action xmlns="http://www.w3.org/2005/08/addressing">http://apache.org/hello_world_soap_http/Greeter/sayHiRequest</Action>
-   </soap:Header>
-   <soap:Body>
-      <sayHi xmlns="http://apache.org/hello_world_soap_http/types"/>
-   </soap:Body>
-</soap:Envelope>
-

http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/examples/cxf/cxf-ws-addressing/src/main/resources/wsdl/hello_world_addr.wsdl
----------------------------------------------------------------------
diff --git a/examples/cxf/cxf-ws-addressing/src/main/resources/wsdl/hello_world_addr.wsdl b/examples/cxf/cxf-ws-addressing/src/main/resources/wsdl/hello_world_addr.wsdl
deleted file mode 100644
index 2ea02aa..0000000
--- a/examples/cxf/cxf-ws-addressing/src/main/resources/wsdl/hello_world_addr.wsdl
+++ /dev/null
@@ -1,174 +0,0 @@
-<?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.
--->
-<wsdl:definitions name="HelloWorld" targetNamespace="http://apache.org/hello_world_soap_http" 
-    xmlns="http://schemas.xmlsoap.org/wsdl/" 
-    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
-    xmlns:tns="http://apache.org/hello_world_soap_http"
-    xmlns:x1="http://apache.org/hello_world_soap_http/types"
-    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-    <wsdl:types>
-        <schema targetNamespace="http://apache.org/hello_world_soap_http/types" 
-            xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
-            <element name="sayHi">
-                <complexType/>
-            </element>
-            <element name="sayHiResponse">
-                <complexType>
-                    <sequence>
-                        <element name="responseType" type="xsd:string"/>
-                    </sequence>
-                </complexType>
-            </element>
-            <element name="greetMe">
-                <complexType>
-                    <sequence>
-                        <element name="requestType" type="xsd:string"/>
-                    </sequence>
-                </complexType>
-            </element>
-            <element name="greetMeResponse">
-                <complexType>
-                    <sequence>
-                        <element name="responseType" type="xsd:string"/>
-                    </sequence>
-                </complexType>
-            </element>
-            <element name="greetMeOneWay">
-                <complexType>
-                    <sequence>
-                        <element name="requestType" type="xsd:string"/>
-                    </sequence>
-                </complexType>
-            </element>
-            <element name="pingMe">
-                <complexType/>
-            </element>
-            <element name="pingMeResponse">
-                <complexType/>
-            </element>
-            <element name="faultDetail">
-                <complexType>
-                    <sequence>
-                        <element name="minor" type="xsd:short"/>
-                        <element name="major" type="xsd:short"/>
-                    </sequence>
-                </complexType>
-            </element>
-        </schema>
-    </wsdl:types>
-    <wsdl:message name="sayHiRequest">
-        <wsdl:part element="x1:sayHi" name="in"/>
-    </wsdl:message>
-    <wsdl:message name="sayHiResponse">
-        <wsdl:part element="x1:sayHiResponse" name="out"/>
-    </wsdl:message>
-    <wsdl:message name="greetMeRequest">
-        <wsdl:part element="x1:greetMe" name="in"/>
-    </wsdl:message>
-    <wsdl:message name="greetMeResponse">
-        <wsdl:part element="x1:greetMeResponse" name="out"/>
-    </wsdl:message>
-    <wsdl:message name="greetMeOneWayRequest">
-        <wsdl:part element="x1:greetMeOneWay" name="in"/>
-    </wsdl:message>
-    <wsdl:message name="pingMeRequest">
-        <wsdl:part name="in" element="x1:pingMe"/>
-    </wsdl:message>
-    <wsdl:message name="pingMeResponse">
-        <wsdl:part name="out" element="x1:pingMeResponse"/>
-    </wsdl:message>        
-    <wsdl:message name="pingMeFault">
-        <wsdl:part name="faultDetail" element="x1:faultDetail"/>
-    </wsdl:message>
-    
-    <wsdl:portType name="Greeter">
-        <wsdl:operation name="sayHi">
-            <wsdl:input message="tns:sayHiRequest" name="sayHiRequest"/>
-            <wsdl:output message="tns:sayHiResponse" name="sayHiResponse"/>
-        </wsdl:operation>
-        
-        <wsdl:operation name="greetMe">
-            <wsdl:input message="tns:greetMeRequest" name="greetMeRequest"/>
-            <wsdl:output message="tns:greetMeResponse" name="greetMeResponse"/>
-        </wsdl:operation>
-        
-        <wsdl:operation name="greetMeOneWay">
-            <wsdl:input message="tns:greetMeOneWayRequest" name="greetMeOneWayRequest"/>
-        </wsdl:operation>
-
-        <wsdl:operation name="pingMe">
-            <wsdl:input name="pingMeRequest" message="tns:pingMeRequest"/>
-            <wsdl:output name="pingMeResponse" message="tns:pingMeResponse"/>
-            <wsdl:fault name="pingMeFault" message="tns:pingMeFault"/>
-        </wsdl:operation> 
-    </wsdl:portType>
-    <wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter">
-        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-        
-        <wsdl:operation name="sayHi">
-            <soap:operation soapAction="" style="document"/>
-            <wsdl:input name="sayHiRequest">
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output name="sayHiResponse">
-                <soap:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-        
-        <wsdl:operation name="greetMe">
-            <soap:operation soapAction="" style="document"/>
-            <wsdl:input name="greetMeRequest">
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output name="greetMeResponse">
-                <soap:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-        
-        <wsdl:operation name="greetMeOneWay">
-            <soap:operation soapAction="" style="document"/>
-            <wsdl:input name="greetMeOneWayRequest">
-                <soap:body use="literal"/>
-            </wsdl:input>
-        </wsdl:operation>
-
-            <wsdl:operation name="pingMe">
-            <soap:operation style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="pingMeFault">
-                <soap:fault name="pingMeFault" use="literal"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        
-    </wsdl:binding>
-    <wsdl:service name="SOAPService">
-        <wsdl:port binding="tns:Greeter_SOAPBinding" name="SoapPort">
-            <soap:address location="http://localhost:8181/cxf/SoapContext/SoapPort"/>
-            <wswa:UsingAddressing xmlns:wswa="http://www.w3.org/2005/02/addressing/wsdl"/>
-        </wsdl:port>
-    </wsdl:service>
-</wsdl:definitions>
-

http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/examples/cxf/cxf-ws-rm/README.txt
----------------------------------------------------------------------
diff --git a/examples/cxf/cxf-ws-rm/README.txt b/examples/cxf/cxf-ws-rm/README.txt
deleted file mode 100644
index b203c0e..0000000
--- a/examples/cxf/cxf-ws-rm/README.txt
+++ /dev/null
@@ -1,214 +0,0 @@
-/*
- * 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.
- */
-
-CXF OSGi HTTP WEB SERVICE
-=========================
-
-Purpose
--------
-Create a web service with CXF and ws_rm feature enabled.
-
-
-Explanation
------------
-The client and server both apply the reliableMessaging feature to the bus.
-This ensures installation of the WS-RM interceptors,
-comprising logical interceptors (RMInInterceptor/RMOutInterceptor)
-responsible for managing the reliability properties of the current message, and a
-protocol interceptor (RMSoapInterceptor) responsible for encoding/decoding
-these properties as SOAP Headers.
-
-As WS-RM is dependent on WS-Addressing, the demo uses 
-the same approach as the ws_addressing sample to enable this
-functionality. However, you may notice that the WS-Addressing
-namespace URI is different in this case (i.e.
-http://schemas.xmlsoap.org/ws/2004/08/addressing as opposed to
-http://www.w3.org/2005/08/addressing). This is because the WS-RM
-specification is still based on an older version of WS-Addressing.
-
-The logging feature is used to log the inbound and outbound
-SOAP messages and display these to the console. Notice the usage of 
-out-of-band RM protocol messages (CreateSequence and CreateSequenceResponse)
-and the WS-RM headers in application-level messages (Sequence,
-SequenceAcknowledgement, AckRequested etc.)  
-
-Finally, the MessageLossSimulator interceptor is installed
-on the client-side to simulate message loss by discarding every second
-application level message. This simulated unreliability allows the retransmission
-of unacknowledged messages to be observed.
-
-This demo also illustrates usage of the decoupled HTTP transport, whereby
-a separate server->client HTTP connection is used to deliver responses
-to (application or RM protocol) requests and server side originated 
-standalone acknowledgments.
-The "partial response" referred to in the log output is the payload of
-the HTTP 202 Accepted response sent on the back-channel of the original 
-client->server connection. 
-
-
-The beans.xml file, located in the src/main/resources/META-INF/spring
-directory:
-
-1. Imports the configuration files needed to enable CXF and OSGi work
-   together.
-
-2. Configures the web service endpoint as follows:
-
-  <jaxws:endpoint id="helloWorld"
-                        implementor="org.apache.servicemix.examples.cxf.HelloWorldImpl"
-                        wsdlLocation="classpath:HelloWorld.wsdl"
-                        address="http://localhost:9191/HelloWorld"/>
-
-Prerequisites for Running the Example
--------------------------------------
-1. You must have the following installed on your machine:
-
-   - JDK 1.6 or higher
-   
-   - Maven 2.2.1 or higher
-   
-  For more information, see the README in the top-level examples
-  directory.
-
-
-2. Start ServiceMix by running the following command:
-
-  <servicemix_home>/bin/servicemix          (on UNIX)
-  <servicemix_home>\bin\servicemix          (on Windows)
-
-
-Running the Example
--------------------
-You can run the example in two ways:
-
-- A. Using a Prebuilt Deployment Bundle: Quick and Easy
-This option is useful if you want to see the example up and
-running as quickly as possible.
-
-- B. Building the Example Bundle Yourself
-This option is useful if you want to change the example in any
-way. It tells you how to build and deploy the example. This
-option might be slower than option A because, if you do not
-already have the required bundles in your local Maven
-repository, Maven will have to download the bundles it needs.
-
-A. Using a Prebuilt Deployment Bundle: Quick and Easy
------------------------------------------------------
-To install and run a prebuilt version of this example, enter
-the following command in the ServiceMix console:
-
-  features:install examples-cxf-ws-rm
-  
-This command makes use of the ServiceMix features facility. For
-more information about the features facility, see the README.txt
-file in the examples parent directory.
-
-
-Running a Client
-----------------
-To run the java code client:
-
-1. Change to the <servicemix_home>/examples/cxf/cxf-ws-rm
-   directory.
-
-2. Run the following command:
-
-     mvn compile exec:java
-
-
-
-B. Building the Example Bundle Yourself
----------------------------------------
-To install and run the example where you build the example bundle
-yourself, complete the following steps:
-
-1. If you have already run the example using the prebuilt version as
-   described above, you must first uninstall the examples-cxf-ws-rm
-   feature by entering the following command in the ServiceMix console:
-
-     features:uninstall examples-cxf-ws-rm
-
-   
-2. Build the example by opening a command prompt, changing directory to
-   examples/cxf-ws-rm (this example) and entering the following Maven
-   command:
-
-     mvn install
-   
-   If all of the required OSGi bundles are available in your local
-   Maven repository, the example will build very quickly. Otherwise
-   it may take some time for Maven to download everything it needs.
-   
-   The mvn install command builds the example deployment bundle and
-   copies it to your local Maven repository and to the target directory
-   of this example.
-     
-3. Install the example by entering the following command in
-   the ServiceMix console:
-   
-     features:install examples-cxf-ws-rm
-       
-   It makes use of the ServiceMix features facility. For more
-   information about the features facility, see the README.txt file
-   in the examples parent directory.
-
-
-You can try running a client against your service by following the
-instructions in the "Running a Client" section above.
-
-
-Stopping and Uninstalling the Example
--------------------------------------
-To stop the example, you must first know the bundle ID that ServiceMix
-has assigned to it. To get the bundle ID, enter the following command
-at the ServiceMix console:
-
-  osgi:list
-
-At the end of the listing, you should see an entry similar to the
-following:
-
-  [170] [Active     ] [Started] [  60] Apache ServiceMix Example :: CXF WS-RM (4.2.0.0)
-
-In this case, the bundle ID is 170.
-
-To stop the example, enter the following command at the ServiceMix
-console:
-
-  osgi:stop <bundle_id>
-
-For example:
-
-  osgi:stop 170
-
-To uninstall the example, enter one of the following commands in
-the ServiceMix console:
-
-  features:uninstall examples-cxf-ws-rm
- 
-or
- 
-  osgi:uninstall <bundle_id>
-  
-
-Viewing the Log Entries
------------------------
-You can view the entries in the log file in the data/log
-directory of your ServiceMix installation, or by typing
-the following command in the ServiceMix console:
-
-  log:display

http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/examples/cxf/cxf-ws-rm/pom.xml
----------------------------------------------------------------------
diff --git a/examples/cxf/cxf-ws-rm/pom.xml b/examples/cxf/cxf-ws-rm/pom.xml
deleted file mode 100644
index 2f39d10..0000000
--- a/examples/cxf/cxf-ws-rm/pom.xml
+++ /dev/null
@@ -1,118 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
-    <!--
-
-        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.
-    -->
-
-    <modelVersion>4.0.0</modelVersion>
-
-    <parent>
-        <groupId>org.apache.servicemix.examples</groupId>
-        <artifactId>cxf</artifactId>
-        <version>4.6.0-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>cxf-ws-rm</artifactId>
-    <packaging>bundle</packaging>
-    <name>Apache ServiceMix :: Features :: Examples :: CXF WS-RM OSGi</name>
-    <description>CXF example using WS-RM</description>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.geronimo.specs</groupId>
-            <artifactId>geronimo-ws-metadata_2.0_spec</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.servicemix</groupId>
-            <artifactId>servicemix-utils</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-rt-frontend-jaxws</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-rt-transports-http</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-rt-transports-http-jetty</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-rt-ws-rm</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-rt-ws-addr</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-rt-ws-policy</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-api</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.springframework</groupId>
-            <artifactId>spring-context</artifactId>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Description>${project.description}</Bundle-Description>
-                        <Import-Package>
-                            javax.jws,
-                            javax.wsdl,
-                            javax.xml.ws,
-                            javax.xml.namespace,
-                            org.apache.cxf, 
-                            org.apache.cxf.bus.spring, 
-                            org.apache.cxf.interceptor, 
-                            org.apache.cxf.io, 
-                            org.apache.cxf.message, 
-                            org.apache.cxf.phase, 
-                            org.apache.cxf.ws.addressing, 
-                            org.apache.cxf.ws.rm, 
-                            org.apache.cxf.ws.rm.v200702,
-                            org.springframework.beans.factory.config
-                        </Import-Package>
-                        <Private-Package>org.apache.servicemix.examples.cxf</Private-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>exec-maven-plugin</artifactId>
-                <configuration>
-                    <mainClass>org.apache.servicemix.samples.cxf_ws_rm.Client</mainClass>
-                    <includePluginDependencies>false</includePluginDependencies>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
-</project>

http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/examples/cxf/cxf-ws-rm/src/main/java/org/apache/servicemix/examples/cxf/HelloWorld.java
----------------------------------------------------------------------
diff --git a/examples/cxf/cxf-ws-rm/src/main/java/org/apache/servicemix/examples/cxf/HelloWorld.java b/examples/cxf/cxf-ws-rm/src/main/java/org/apache/servicemix/examples/cxf/HelloWorld.java
deleted file mode 100755
index 14dad3a..0000000
--- a/examples/cxf/cxf-ws-rm/src/main/java/org/apache/servicemix/examples/cxf/HelloWorld.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * 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.
- */
-// START SNIPPET: service
-package org.apache.servicemix.examples.cxf;
-
-import javax.jws.WebService;
-
-@WebService
-public interface HelloWorld {
-    String sayHi(String text);
-}
-// END SNIPPET: service

http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/examples/cxf/cxf-ws-rm/src/main/java/org/apache/servicemix/examples/cxf/HelloWorldImpl.java
----------------------------------------------------------------------
diff --git a/examples/cxf/cxf-ws-rm/src/main/java/org/apache/servicemix/examples/cxf/HelloWorldImpl.java b/examples/cxf/cxf-ws-rm/src/main/java/org/apache/servicemix/examples/cxf/HelloWorldImpl.java
deleted file mode 100755
index 85fd25f..0000000
--- a/examples/cxf/cxf-ws-rm/src/main/java/org/apache/servicemix/examples/cxf/HelloWorldImpl.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * 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.
- */
-// START SNIPPET: service
-package org.apache.servicemix.examples.cxf;
-
-import javax.jws.WebService;
-
-@WebService(endpointInterface = "org.apache.servicemix.examples.cxf.HelloWorld")
-public class HelloWorldImpl implements HelloWorld {
-
-    public String sayHi(String text) {
-        return "Hello " + text;
-    }
-}
-// END SNIPPET: service

http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/examples/cxf/cxf-ws-rm/src/main/java/org/apache/servicemix/samples/cxf_ws_rm/Client.java
----------------------------------------------------------------------
diff --git a/examples/cxf/cxf-ws-rm/src/main/java/org/apache/servicemix/samples/cxf_ws_rm/Client.java b/examples/cxf/cxf-ws-rm/src/main/java/org/apache/servicemix/samples/cxf_ws_rm/Client.java
deleted file mode 100755
index b7dd088..0000000
--- a/examples/cxf/cxf-ws-rm/src/main/java/org/apache/servicemix/samples/cxf_ws_rm/Client.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * 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.
- */
-package org.apache.servicemix.samples.cxf_ws_rm;
-
-import java.lang.reflect.UndeclaredThrowableException;
-import java.net.URL;
-import java.io.File;
-
-import javax.xml.namespace.QName;
-import javax.xml.ws.Service;
-import javax.xml.ws.soap.SOAPBinding;
-
-import org.apache.cxf.Bus;
-import org.apache.cxf.bus.spring.SpringBusFactory;
-import org.apache.servicemix.examples.cxf.HelloWorld;
-
-
-public final class Client {
-
-    private static final String USER_NAME = System.getProperty("user.name");
-
-    private static final QName SERVICE_NAME 
-        = new QName("http://cxf.examples.servicemix.apache.org/", "HelloWorldImplService");
-    private static final QName PORT_NAME 
-        = new QName("http://cxf.examples.servicemix.apache.org/", "HelloWorldImplPort");
-
-    private Client() {
-    }
-
-    public static void main(String args[]) throws Exception {
-        try {
-
-            SpringBusFactory bf = new SpringBusFactory();
-            URL busFile = Client.class.getResource("ws_rm.xml");
-            Bus bus = bf.createBus(busFile.toString());
-            bf.setDefaultBus(bus);
-            bus.getOutInterceptors().add(new MessageLossSimulator());
-            // Endpoint Address
-            Service service = Service.create(Client.class.getResource("/HelloWorld.wsdl"), SERVICE_NAME);
-
-            String endpointAddress = "http://localhost:8181/cxf/HelloWorld";
-
-            // Add a port to the Service
-            service.addPort(PORT_NAME, SOAPBinding.SOAP11HTTP_BINDING, endpointAddress);
-            HelloWorld hw = service.getPort(HelloWorld.class);
-            
-            String[] names = new String[] {"Anne", "Bill", "Chris", "Daisy"};
-            // make a sequence of 4 invocations
-            for (int i = 0; i < 4; i++) {
-                System.out.println("Calling HelloWorld service");
-                System.out.println(hw.sayHi(names[i]));
-            }
-
-            // allow aynchronous resends to occur
-            Thread.sleep(60 * 1000);
-            bus.shutdown(true);
-
-        } catch (Exception ex) {
-            ex.printStackTrace();
-        } finally {
-            System.exit(0);
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/examples/cxf/cxf-ws-rm/src/main/java/org/apache/servicemix/samples/cxf_ws_rm/MessageLossSimulator.java
----------------------------------------------------------------------
diff --git a/examples/cxf/cxf-ws-rm/src/main/java/org/apache/servicemix/samples/cxf_ws_rm/MessageLossSimulator.java b/examples/cxf/cxf-ws-rm/src/main/java/org/apache/servicemix/samples/cxf_ws_rm/MessageLossSimulator.java
deleted file mode 100755
index 461519a..0000000
--- a/examples/cxf/cxf-ws-rm/src/main/java/org/apache/servicemix/samples/cxf_ws_rm/MessageLossSimulator.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/**
- * 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.
- */
-
-package org.apache.servicemix.samples.cxf_ws_rm;
-
-import java.io.IOException;
-import java.io.OutputStream;
-import java.math.BigInteger;
-import java.util.ListIterator;
-import java.util.logging.Level;
-import java.util.logging.Logger;
-
-import org.apache.cxf.interceptor.Fault;
-import org.apache.cxf.interceptor.InterceptorChain;
-import org.apache.cxf.interceptor.MessageSenderInterceptor;
-import org.apache.cxf.io.AbstractWrappedOutputStream;
-import org.apache.cxf.message.Message;
-import org.apache.cxf.phase.AbstractPhaseInterceptor;
-import org.apache.cxf.phase.Phase;
-import org.apache.cxf.phase.PhaseInterceptor;
-import org.apache.cxf.ws.addressing.AddressingProperties;
-import org.apache.cxf.ws.rm.RMContextUtils;
-
-/**
- * 
- */
-public class MessageLossSimulator extends AbstractPhaseInterceptor<Message> {
-
-    private static final Logger LOG = Logger.getLogger(MessageLossSimulator.class.getName());
-    private int appMessageCount; 
-    
-    public MessageLossSimulator() {
-        super(Phase.PREPARE_SEND);
-        addBefore(MessageSenderInterceptor.class.getName());
-    }
-
-    
-    public void handleMessage(Message message) throws Fault {
-        AddressingProperties maps =
-            RMContextUtils.retrieveMAPs(message, false, true);
-        String action = null;
-        if (maps != null && null != maps.getAction()) {
-            action = maps.getAction().getValue();
-        }
-        if (RMContextUtils.isRMProtocolMessage(action)) { 
-            return;
-        }
-        appMessageCount++;
-        // do not discard odd-numbered messages
-        if (0 != (appMessageCount % 2)) {
-            return;
-        }
-        
-        // discard even-numbered message
-        InterceptorChain chain = message.getInterceptorChain();
-        ListIterator it = chain.getIterator();
-        while (it.hasNext()) {
-            PhaseInterceptor pi = (PhaseInterceptor)it.next();
-            if (MessageSenderInterceptor.class.getName().equals(pi.getId())) {
-                chain.remove(pi);
-                LOG.fine("Removed MessageSenderInterceptor from interceptor chain.");
-                break;
-            }
-        }
-        
-        message.setContent(OutputStream.class, new WrappedOutputStream(message));  
-
-        message.getInterceptorChain().add(new AbstractPhaseInterceptor<Message>(Phase.PREPARE_SEND_ENDING) {
-
-            public void handleMessage(Message message) throws Fault {
-                try {
-                    message.getContent(OutputStream.class).close();
-                } catch (IOException e) {
-                    throw new Fault(e);
-                }
-            }
-            
-        });   
-    }
-    
-    private class WrappedOutputStream extends AbstractWrappedOutputStream {
-
-        private Message outMessage;
-
-        public WrappedOutputStream(Message m) {
-            this.outMessage = m;
-        }
-
-        @Override
-        protected void onFirstWrite() throws IOException {
-            if (LOG.isLoggable(Level.FINE)) {
-                Long nr = RMContextUtils.retrieveRMProperties(outMessage, true)
-                    .getSequence().getMessageNumber();
-                LOG.fine("Losing message " + nr);
-            }
-            wrappedStream = new DummyOutputStream();
-        }
-    }    
-
-            
-    
-    private class DummyOutputStream extends OutputStream {
-
-        @Override
-        public void write(int b) throws IOException {
-            // TODO Auto-generated method stub
-            
-        }
-        
-    }
-    
-    
-    
-}

http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/examples/cxf/cxf-ws-rm/src/main/resources/HelloWorld.wsdl
----------------------------------------------------------------------
diff --git a/examples/cxf/cxf-ws-rm/src/main/resources/HelloWorld.wsdl b/examples/cxf/cxf-ws-rm/src/main/resources/HelloWorld.wsdl
deleted file mode 100644
index 4450026..0000000
--- a/examples/cxf/cxf-ws-rm/src/main/resources/HelloWorld.wsdl
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?><wsdl:definitions name="HelloWorldImplService" targetNamespace="http://cxf.examples.servicemix.apache.org/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://cxf.examples.servicemix.apache.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-  <wsdl:types>
-    <xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://cxf.examples.servicemix.apache.org/" xmlns="http://cxf.examples.servicemix.apache.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
-      <xs:complexType name="sayHi">
-        <xs:sequence>
-          <xs:element minOccurs="0" name="arg0" type="xs:string"/>
-        </xs:sequence>
-      </xs:complexType>
-      <xs:complexType name="sayHiResponse">
-        <xs:sequence>
-          <xs:element minOccurs="0" name="return" type="xs:string"/>
-        </xs:sequence>
-      </xs:complexType>
-      <xs:element name="sayHi" nillable="true" type="sayHi"/>
-      <xs:element name="sayHiResponse" nillable="true" type="sayHiResponse"/>
-    </xs:schema>
-  </wsdl:types>
-  <wsdl:message name="sayHi">
-    <wsdl:part element="tns:sayHi" name="parameters">
-    </wsdl:part>
-  </wsdl:message>
-  <wsdl:message name="sayHiResponse">
-    <wsdl:part element="tns:sayHiResponse" name="parameters">
-    </wsdl:part>
-  </wsdl:message>
-  <wsdl:portType name="HelloWorld">
-    <wsdl:operation name="sayHi">
-      <wsdl:input message="tns:sayHi" name="sayHi">
-      </wsdl:input>
-      <wsdl:output message="tns:sayHiResponse" name="sayHiResponse">
-      </wsdl:output>
-    </wsdl:operation>
-  </wsdl:portType>
-  <wsdl:binding name="HelloWorldImplServiceSoapBinding" type="tns:HelloWorld">
-    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-    <wsdl:operation name="sayHi">
-      <soap:operation soapAction="" style="document"/>
-      <wsdl:input name="sayHi">
-        <soap:body use="literal"/>
-      </wsdl:input>
-      <wsdl:output name="sayHiResponse">
-        <soap:body use="literal"/>
-      </wsdl:output>
-    </wsdl:operation>
-  </wsdl:binding>
-  <wsdl:service name="HelloWorldImplService">
-    <wsdl:port binding="tns:HelloWorldImplServiceSoapBinding" name="HelloWorldImplPort">
-      <soap:address location="http://localhost:9191/HelloWorld"/>
-      <wswa:UsingAddressing xmlns:wswa="http://www.w3.org/2005/02/addressing/wsdl"/>
-    </wsdl:port>
-  </wsdl:service>
-</wsdl:definitions>

http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/examples/cxf/cxf-ws-rm/src/main/resources/META-INF/spring/beans.xml
----------------------------------------------------------------------
diff --git a/examples/cxf/cxf-ws-rm/src/main/resources/META-INF/spring/beans.xml b/examples/cxf/cxf-ws-rm/src/main/resources/META-INF/spring/beans.xml
deleted file mode 100755
index b2a90cb..0000000
--- a/examples/cxf/cxf-ws-rm/src/main/resources/META-INF/spring/beans.xml
+++ /dev/null
@@ -1,61 +0,0 @@
-<?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.
--->
-<!-- START SNIPPET: beans -->
-<beans xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xmlns:jaxws="http://cxf.apache.org/jaxws"
-        xmlns:cxf="http://cxf.apache.org/core"
-        xmlns:wsa="http://cxf.apache.org/ws/addressing"
-        xmlns:http="http://cxf.apache.org/transports/http/configuration"
-        xmlns:wsrm-policy="http://schemas.xmlsoap.org/ws/2005/02/rm/policy"
-        xmlns:wsrm-mgr="http://cxf.apache.org/ws/rm/manager"
-        xsi:schemaLocation="
-          http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
-          http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
-          http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd
-          http://schemas.xmlsoap.org/ws/2005/02/rm/policy http://schemas.xmlsoap.org/ws/2005/02/rm/wsrm-policy.xsd
-          http://cxf.apache.org/ws/rm/manager http://cxf.apache.org/schemas/configuration/wsrm-manager.xsd
-          http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
-
-
-    <jaxws:endpoint id="helloWorld"
-                    implementor="org.apache.servicemix.examples.cxf.HelloWorldImpl"
-                    wsdlLocation="classpath:HelloWorld.wsdl"
-                        address="/HelloWorld"/>
-        <cxf:bus>
-        <cxf:features>
-            <cxf:logging/>
-            <wsa:addressing/>
-            <wsrm-mgr:reliableMessaging>
-                <wsrm-policy:RMAssertion>
-                    <wsrm-policy:BaseRetransmissionInterval Milliseconds="4000"/>           
-                    <wsrm-policy:AcknowledgementInterval Milliseconds="2000"/>          
-                </wsrm-policy:RMAssertion>
-                <wsrm-mgr:destinationPolicy>
-                    <wsrm-mgr:acksPolicy intraMessageThreshold="0" />
-                </wsrm-mgr:destinationPolicy>
-            </wsrm-mgr:reliableMessaging>
-        </cxf:features>
-        </cxf:bus>
-        <http:conduit name="{http://cxf.examples.servicemix.apache.org/}HelloWorldImplPort.http-conduit">
-            <http:client DecoupledEndpoint="http://localhost:9990/decoupled_endpoint"/>
-        </http:conduit>
-</beans>
-<!-- END SNIPPET: beans -->

http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/examples/cxf/cxf-ws-rm/src/main/resources/org/apache/servicemix/samples/cxf_ws_rm/ws_rm.xml
----------------------------------------------------------------------
diff --git a/examples/cxf/cxf-ws-rm/src/main/resources/org/apache/servicemix/samples/cxf_ws_rm/ws_rm.xml b/examples/cxf/cxf-ws-rm/src/main/resources/org/apache/servicemix/samples/cxf_ws_rm/ws_rm.xml
deleted file mode 100644
index 984f14a..0000000
--- a/examples/cxf/cxf-ws-rm/src/main/resources/org/apache/servicemix/samples/cxf_ws_rm/ws_rm.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?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:cxf="http://cxf.apache.org/core"
-       xmlns:wsa="http://cxf.apache.org/ws/addressing"
-       xmlns:http="http://cxf.apache.org/transports/http/configuration"
-       xmlns:wsrm-policy="http://schemas.xmlsoap.org/ws/2005/02/rm/policy"
-       xmlns:wsrm-mgr="http://cxf.apache.org/ws/rm/manager"
-       xsi:schemaLocation="
-       http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
-       http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd
-       http://schemas.xmlsoap.org/ws/2005/02/rm/policy http://schemas.xmlsoap.org/ws/2005/02/rm/wsrm-policy.xsd
-       http://cxf.apache.org/ws/rm/manager http://cxf.apache.org/schemas/configuration/wsrm-manager.xsd
-       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
- 
-    <cxf:bus>
-        <cxf:features>
-            <cxf:logging/>
-            <wsa:addressing/>
-            <wsrm-mgr:reliableMessaging>
-                <wsrm-policy:RMAssertion>
-                    <wsrm-policy:BaseRetransmissionInterval Milliseconds="4000"/>           
-                    <wsrm-policy:AcknowledgementInterval Milliseconds="2000"/>          
-                </wsrm-policy:RMAssertion>
-                <wsrm-mgr:destinationPolicy>
-                    <wsrm-mgr:acksPolicy intraMessageThreshold="0" />
-                </wsrm-mgr:destinationPolicy>
-            </wsrm-mgr:reliableMessaging>
-        </cxf:features>
-    </cxf:bus>
-    
-    <http:conduit name="{http://cxf.examples.servicemix.apache.org/}HelloWorldImplPort.http-conduit">
-      <http:client DecoupledEndpoint="http://localhost:9990/decoupled_endpoint"/>
-    </http:conduit>
-</beans>
-


Mime
View raw message