You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by jo...@apache.org on 2011/03/23 05:28:43 UTC

svn commit: r1084474 [4/4] - in /cxf/sandbox/cxf-blueprint: ./ core/ core/src/ core/src/main/ core/src/main/java/ core/src/main/java/org/ core/src/main/java/org/apache/ core/src/main/java/org/apache/cxf/ core/src/main/java/org/apache/cxf/blueprint/ cor...

Added: cxf/sandbox/cxf-blueprint/jaxws/src/main/resources/OSGI-INF/blueprint/jaxws.xml
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/jaxws/src/main/resources/OSGI-INF/blueprint/jaxws.xml?rev=1084474&view=auto
==============================================================================
--- cxf/sandbox/cxf-blueprint/jaxws/src/main/resources/OSGI-INF/blueprint/jaxws.xml (added)
+++ cxf/sandbox/cxf-blueprint/jaxws/src/main/resources/OSGI-INF/blueprint/jaxws.xml Wed Mar 23 04:28:40 2011
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+    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.
+
+-->
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+           xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
+           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+           xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
+
+
+  <reference id="cxfBusRegistry" interface="org.apache.cxf.blueprint.core.CxfBusRegistry" filter="(simpleBusRegistry=true)"/>
+
+  <!-- This is simply being called as a dummy -->
+  <service interface="org.apache.aries.blueprint.NamespaceHandler">
+    <service-properties>
+      <entry key="osgi.service.blueprint.namespace" value="http://cxf.apache.org/ws/addressing"/>
+    </service-properties>
+    <bean class="org.apache.cxf.blueprint.jaxws.WsAddressingHandler">
+    </bean>
+  </service>
+
+  <service interface="org.apache.aries.blueprint.NamespaceHandler">
+    <service-properties>
+      <entry key="osgi.service.blueprint.namespace" value="http://cxf.apache.org/blueprint/jaxws"/>
+    </service-properties>
+    <bean class="org.apache.cxf.blueprint.jaxws.JaxWsNameSpaceHandler" depends-on="cxfBusRegistry">
+      <property name="cxfBusRegistry" ref="cxfBusRegistry"/>
+    </bean>
+  </service>
+
+</blueprint>
\ No newline at end of file

Added: cxf/sandbox/cxf-blueprint/jaxws/src/main/resources/jaxws.xsd
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/jaxws/src/main/resources/jaxws.xsd?rev=1084474&view=auto
==============================================================================
--- cxf/sandbox/cxf-blueprint/jaxws/src/main/resources/jaxws.xsd (added)
+++ cxf/sandbox/cxf-blueprint/jaxws/src/main/resources/jaxws.xsd Wed Mar 23 04:28:40 2011
@@ -0,0 +1,530 @@
+<?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="http://cxf.apache.org/blueprint/jaxws"
+            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+            xmlns:cxf-beans="http://cxf.apache.org/configuration/beans"
+            targetNamespace="http://cxf.apache.org/blueprint/jaxws"
+            attributeFormDefault="unqualified"
+            xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
+            jaxb:version="2.0"
+            elementFormDefault="qualified">
+
+  <xsd:import namespace="http://cxf.apache.org/configuration/beans" schemaLocation="http://cxf.apache.org/schemas/configuration/cxf-beans.xsd"/>
+
+  <xsd:complexType name="identifiedType" abstract="true">
+    <xsd:attribute name="id" type="xsd:ID">
+    </xsd:attribute>
+  </xsd:complexType>
+
+  <xsd:complexType name="Map">
+    <xsd:sequence minOccurs="0" maxOccurs="unbounded">
+      <xsd:element name="entry" type="entryType"/>
+    </xsd:sequence>
+  </xsd:complexType>
+
+  <xsd:complexType name="entryType">
+    <xsd:sequence/>
+
+    <xsd:attribute name="key" type="xsd:string">
+      <xsd:annotation>
+        <xsd:documentation><![CDATA[
+	Each map element must specify its key as attribute or as child element.
+	A key attribute is always a String value.
+				]]></xsd:documentation>
+      </xsd:annotation>
+    </xsd:attribute>
+    <!--
+    <xsd:attribute name="key-ref" type="xsd:string">
+      <xsd:annotation>
+        <xsd:documentation><![CDATA[
+	A short-cut alternative to a to a "key" element with a nested
+	"<ref bean='...'/>".
+				]]></xsd:documentation>
+      </xsd:annotation>
+
+
+    </xsd:attribute>
+    -->
+    <xsd:attribute name="value" type="xsd:string">
+      <xsd:annotation>
+        <xsd:documentation><![CDATA[
+	A short-cut alternative to a nested "<value>...</value>"
+	element.
+				]]></xsd:documentation>
+      </xsd:annotation>
+    </xsd:attribute>
+    <!--
+    <xsd:attribute name="value-ref" type="xsd:string">
+      <xsd:annotation>
+        <xsd:documentation><![CDATA[
+	A short-cut alternative to a nested "<ref bean='...'/>".
+				]]></xsd:documentation>
+      </xsd:annotation>
+    </xsd:attribute>
+        -->
+  </xsd:complexType>
+
+  <xsd:element name="endpoint">
+    <xsd:annotation>
+      <xsd:documentation>Configures a JAX-WS server. This element is associated with the org.apache.cxf.jaxws.EndpointImpl object.</xsd:documentation>
+    </xsd:annotation>
+    <xsd:complexType>
+      <xsd:complexContent>
+        <xsd:extension base="identifiedType">
+          <xsd:all>
+            <xsd:element name="binding" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Configures the message binding used by the endpoint. Message bindings are configured using implementations of the
+                  org.apache.cxf.binding.BindingFactory interface. The SOAP binding is configured using the soap:soapBinding bean.
+                </xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="dataBinding" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Configures the data binding used by the endpoint. The class implementing the JAXB data binding is
+                  org.apache.cxf.jaxb.JAXBDataBinding.
+                </xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="executor" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Configures a Java executor to handle the service.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="features" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a list of beans that configure advanced features like WS-RM.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="handlers" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a list of JAX-WS handlers to add to the endpoint's processing chain.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="implementor" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:appinfo>
+                  <jaxb:property name="idElement"
+                                 xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"/>
+                </xsd:appinfo>
+                <xsd:documentation>Configures the bean implementing the service. If this child is used you should not use the implementor attribute.
+                </xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="inInterceptors" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a list of interceptors to process incoming requests.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="inFaultInterceptors" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a list of interceptors to process incoming fault messages.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="invoker" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies an implementation of the org.apache.cxf.service.Invoker interface to be used by the service. The Invoker
+                  implementation controls how a service is invoked. For example, it controls if each request is handled by a new instance of the
+                  service implementation or if state is preserved across invocations.
+                </xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="outInterceptors" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a list of interceptors to process outgoing responses.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="outFaultInterceptors" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a list of interceptors to process outgoing fault messages.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="properties" type="Map">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a map of properties that are passed to the endpoint.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="schemaLocations" type="schemasType" minOccurs="0"/>
+            <xsd:element name="serviceFactory" type="xsd:anyType" minOccurs="0"/>
+          </xsd:all>
+          <xsd:attributeGroup ref="cxf-beans:beanAttributes"/>
+          <xsd:attribute name="address" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the HTTP address of the endpoint. This value will override the value specified in the services
+                contract.
+              </xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="bindingUri" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the ID of the data binding the service will use. For SOAP bindings the IDs are defined in the JAX-WS
+                specification. For other data bindings, the ID is the namespace of the WSDL extensions used to configure the
+                binding.
+              </xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="bus" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the ID of the Spring bean configuring the bus managing the endpoint.</xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="implementor" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the class implementing the service. You can specify the implementation class using either the class
+                name or an ID reference to a Spring bean configuring the implementation class. This class needs to be on the
+                classpath.
+              </xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="implementorClass" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the name of the class implementing the service. This attribute is useful when you specify the implementor
+                with the ref bean which is wrapped by using Spring AOP.
+              </xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="publish" type="xsd:boolean" default="true">
+            <xsd:annotation>
+              <xsd:documentation>Specifies if the service should be automatically published.</xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="publishedEndpointUrl" type="xsd:string"/>
+          <xsd:attribute name="endpointName" type="xsd:QName">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the value of the service's WSDL port element's name attribute.</xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="serviceName" type="xsd:QName">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the value of the service's WSDL service element's name attribute.</xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="transportId" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the transportId that endpoint will use, it will override the transport which is defined in the wsdl.
+              </xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="wsdlLocation" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the location of the endpoint's WSDL contract. The WSDL contract's location is relative to the folder
+                from which the service is deployed.
+              </xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+        </xsd:extension>
+      </xsd:complexContent>
+    </xsd:complexType>
+  </xsd:element>
+
+  <xsd:element name="server">
+    <xsd:annotation>
+      <xsd:documentation>Configures a JAX-WS server. The element is associated with the org.apache.cxf.jaxws.support.JaxWsServerFactoryBean object.
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:complexType>
+      <xsd:complexContent>
+        <xsd:extension base="identifiedType">
+          <xsd:all>
+            <xsd:element name="binding" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Configures the message binding used by the endpoint. Message bindings are configured using implementations of the
+                  org.apache.cxf.binding.BindingFactory interface. The SOAP binding is configured using the soap:soapBinding bean.
+                </xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="dataBinding" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Configures the data binding used by the endpoint. The class implementing the JAXB data binding is
+                  org.apache.cxf.jaxb.JAXBDataBinding.
+                </xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="executor" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Configures a Java executor to handle the service.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="features" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a list of beans that configure advanced features like WS-RM.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="handlers" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a list of JAX-WS handlers to add to the endpoint's processing chain.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="inInterceptors" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a list of interceptors to process incoming requests.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="inFaultInterceptors" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a list of interceptors to process incoming fault messages.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="invoker" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies an implementation of the org.apache.cxf.service.Invoker interface to be used by the service. The Invoker
+                  implementation controls how a service is invoked. For example, it controls if each request is handled by a new instance of the
+                  service implementation or if state is preserved across invocations.
+                </xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="outInterceptors" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a list of interceptors to process outgoing responses.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="outFaultInterceptors" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a list of interceptors to process outgoing fault messages.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="properties" type="Map" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a map of properties that are passed to the endpoint.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="schemaLocations" type="schemasType" minOccurs="0"/>
+            <xsd:element name="serviceBean" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:appinfo>
+                  <jaxb:property name="idElement"
+                                 xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"/>
+                </xsd:appinfo>
+                <xsd:documentation>Configures the bean implementing the service. If this child is used you should not use the serviceBean attribute.
+                </xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="serviceFactory" type="xsd:anyType" minOccurs="0"/>
+          </xsd:all>
+          <xsd:attributeGroup ref="cxf-beans:beanAttributes"/>
+          <xsd:attribute name="address" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the HTTP address of the endpoint. This value will override the value specified in the services
+                contract.
+              </xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="bindingId" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the ID of the data binding the service will use. For SOAP bindings the IDs are defined in the JAX-WS
+                specification. For other data bindings, the ID is the namespace of the WSDL extensions used to configure the
+                binding.
+              </xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="bus" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the ID of the Spring bean configuring the bus managing the endpoint.</xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="serviceClass" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the name of the class implementing the service. This attribute is useful when you specify the implementor
+                with the ref bean which is wrapped by using Spring AOP.
+              </xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="serviceBean" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the class implementing the service. You can specify the implementation class using either the class
+                name or an ID reference to a Spring bean configuring the implementation class. This class needs to be on the
+                classpath.
+              </xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="start" type="xsd:boolean" default="true">
+            <xsd:annotation>
+              <xsd:documentation>Specifies if the service should be automatically published.</xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="transportId" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the transportId that endpoint will use, it will override the transport which is defined in the wsdl.
+              </xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="wsdlLocation" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the location of the endpoint's WSDL contract. The WSDL contract's location is relative to the folder
+                from which the service is deployed.
+              </xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="endpointName" type="xsd:QName">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the value of the service's WSDL port element's name attribute.</xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="serviceName" type="xsd:QName">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the value of the service's WSDL service element's name attribute.</xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+        </xsd:extension>
+      </xsd:complexContent>
+    </xsd:complexType>
+  </xsd:element>
+
+  <xsd:element name="client">
+    <xsd:annotation>
+      <xsd:documentation>Configures a JAX-WS client.</xsd:documentation>
+    </xsd:annotation>
+    <xsd:complexType>
+      <xsd:complexContent>
+        <xsd:extension base="identifiedType">
+          <xsd:all>
+            <xsd:element name="binding" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Configures the message binding used by the endpoint. Message bindings are configured using implementations of the
+                  org.apache.cxf.binding.BindingFactory interface. The SOAP binding is configured using the soap:soapBinding bean.
+                </xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="dataBinding" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Configures the data binding used by the endpoint. The class implementing the JAXB data binding is
+                  org.apache.cxf.jaxb.JAXBDataBinding.
+                </xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="features" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a list of beans that configure advanced features like WS-RM.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="handlers" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a list of JAX-WS handlers to add to the endpoint's processing chain.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="inInterceptors" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a list of interceptors to process incoming responses.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="inFaultInterceptors" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a list of interceptors to process incoming fault messages.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="outInterceptors" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a list of interceptors to process outgoing requests.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="outFaultInterceptors" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a list of interceptors to process outgoing fault messages.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="properties" type="Map" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a map of properties that are passed to the endpoint.</xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="conduitSelector" type="xsd:anyType" minOccurs="0">
+              <xsd:annotation>
+                <xsd:documentation>Specifies a org.apache.cxf.endpoint.ConduitSelector implementation. ConduitSelector implementations override the
+                  strategy used to select the Conduit used to process outgoing messages.
+                </xsd:documentation>
+              </xsd:annotation>
+            </xsd:element>
+          </xsd:all>
+          <xsd:attributeGroup ref="cxf-beans:beanAttributes"/>
+          <xsd:attribute name="address" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the HTTP address of the endpoint on which the client makes requests. This value will override the value
+                specified in the services contract.
+              </xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="bindingId" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the ID of the data binding the client will use. For SOAP bindings the IDs are defined in the JAX-WS
+                specification. For other data bindings, the ID is the namespace of the WSDL extensions used to configure the
+                binding.
+              </xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="bus" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the ID of the Spring bean configuring the bus managing the endpoint.</xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="endpointName" type="xsd:QName">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the value of the WSDL port element's name attribute for the service on which the client is making
+                requests.
+              </xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="password" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies a password that is used for simple username/password authentication.</xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="serviceClass" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the name of the class implementing the client.</xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="serviceName" type="xsd:QName">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the value of the WSDL service element's name attribute for the service on which the client is making
+                requests.
+              </xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="username" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies a password that is used for simple username/password authentication.</xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="transportId" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the transportId that endpoint will use, it will override the transport which is defined in the wsdl.
+              </xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+          <xsd:attribute name="wsdlLocation" type="xsd:string">
+            <xsd:annotation>
+              <xsd:documentation>Specifies the location of the endpoint's WSDL contract. The WSDL contract's location is relative to the folder
+                from which the client is deployed.
+              </xsd:documentation>
+            </xsd:annotation>
+          </xsd:attribute>
+        </xsd:extension>
+      </xsd:complexContent>
+    </xsd:complexType>
+  </xsd:element>
+
+  <xsd:complexType name="schemasType">
+    <xsd:sequence>
+      <xsd:element name="schemaLocation" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+  </xsd:complexType>
+
+</xsd:schema>
+

Added: cxf/sandbox/cxf-blueprint/jaxws/src/main/resources/ws-addr-conf.xsd
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/jaxws/src/main/resources/ws-addr-conf.xsd?rev=1084474&view=auto
==============================================================================
--- cxf/sandbox/cxf-blueprint/jaxws/src/main/resources/ws-addr-conf.xsd (added)
+++ cxf/sandbox/cxf-blueprint/jaxws/src/main/resources/ws-addr-conf.xsd Wed Mar 23 04:28:40 2011
@@ -0,0 +1,37 @@
+<?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.
+-->
+
+<xs:schema xmlns="http://cxf.apache.org/ws/addressing"
+           targetNamespace="http://cxf.apache.org/ws/addressing"
+           xmlns:tns="http://cxf.apache.org/ws/addressing"
+           xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           elementFormDefault="qualified"
+           attributeFormDefault="unqualified">
+
+  <xs:element name="addressing">
+    <xs:complexType>
+      <xs:attribute name="allowDuplicates" type="xs:boolean"/>
+      <xs:attribute name="usingAddressingAdvisory" type="xs:boolean"/>
+      <xs:attribute name="addressingRequired" type="xs:boolean"/>
+      <xs:attribute name="messageIdCache" type="xs:string"/>
+    </xs:complexType>
+  </xs:element>
+
+</xs:schema>
\ No newline at end of file

Added: cxf/sandbox/cxf-blueprint/jaxws/src/test/java/org/apache/cxf/blueprint/jaxws/BaseNsHandlerSetup.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/jaxws/src/test/java/org/apache/cxf/blueprint/jaxws/BaseNsHandlerSetup.java?rev=1084474&view=auto
==============================================================================
--- cxf/sandbox/cxf-blueprint/jaxws/src/test/java/org/apache/cxf/blueprint/jaxws/BaseNsHandlerSetup.java (added)
+++ cxf/sandbox/cxf-blueprint/jaxws/src/test/java/org/apache/cxf/blueprint/jaxws/BaseNsHandlerSetup.java Wed Mar 23 04:28:40 2011
@@ -0,0 +1,99 @@
+/*
+ * *
+ *  * 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.cxf.blueprint.jaxws;
+
+import java.net.URI;
+import java.net.URL;
+import java.util.Arrays;
+import java.util.Properties;
+import java.util.Set;
+
+import org.apache.aries.blueprint.ComponentDefinitionRegistry;
+import org.apache.aries.blueprint.NamespaceHandler;
+import org.apache.aries.blueprint.container.NamespaceHandlerRegistry;
+import org.apache.aries.blueprint.container.Parser;
+import org.apache.aries.blueprint.mutable.MutableBeanMetadata;
+import org.apache.aries.blueprint.namespace.ComponentDefinitionRegistryImpl;
+import org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl;
+import org.apache.aries.blueprint.reflect.PassThroughMetadataImpl;
+import org.apache.aries.mocks.BundleContextMock;
+import org.apache.aries.mocks.BundleMock;
+import org.apache.aries.unittest.mocks.MethodCall;
+import org.apache.aries.unittest.mocks.Skeleton;
+import org.apache.cxf.blueprint.core.CxfBusRegistry;
+import org.junit.After;
+import org.junit.Before;
+import org.osgi.framework.Bundle;
+import org.osgi.framework.BundleContext;
+import org.osgi.service.blueprint.container.BlueprintContainer;
+
+public class BaseNsHandlerSetup {
+
+    protected Bundle b;
+    protected NamespaceHandlerRegistry nhri;
+    protected JaxWsNameSpaceHandler namespaceHandler;
+
+    @Before
+    public void setUp() {
+        b = Skeleton.newMock(new BundleMock("org.apache.cxf.blueprint.jaxws", new Properties()), Bundle.class);
+
+        BundleContext ctx = b.getBundleContext();
+        nhri = new NamespaceHandlerRegistryImpl(ctx);
+
+        CxfBusRegistry registry = Skeleton.newMock(CxfBusRegistry.class);
+
+        namespaceHandler = new JaxWsNameSpaceHandler();
+        namespaceHandler.setCxfBusRegistry(registry);
+
+        BlueprintContainer container = Skeleton.newMock(BlueprintContainer.class);
+        Skeleton.getSkeleton(container).setReturnValue(new MethodCall(BlueprintContainer.class, "getComponentInstance", "BOB"),
+            MutableBeanMetadata.class);
+        namespaceHandler.setBlueprintContainer(container);
+
+        Properties props = new Properties();
+        props.put("osgi.service.blueprint.namespace", new String[]{"http://cxf.apache.org/blueprint/jaxws", "http://cxf.apache.org/blueprint/jaxws"});
+        ctx.registerService(NamespaceHandler.class.getName(), namespaceHandler, props);
+    }
+
+    @After
+    public void tearDown() throws Exception {
+        b = null;
+        nhri = null;
+
+        BundleContextMock.clear();
+    }
+
+    protected ComponentDefinitionRegistry parseCDR(String name) throws Exception {
+        Parser p = new Parser();
+
+        URL bpxml = this.getClass().getClassLoader().getResource(name);
+        p.parse(Arrays.asList(bpxml));
+
+        Set<URI> nsuris = p.getNamespaces();
+        NamespaceHandlerRegistry.NamespaceHandlerSet nshandlers = nhri.getNamespaceHandlers(nsuris, b);
+        p.validate(nshandlers.getSchema());
+
+        ComponentDefinitionRegistry cdr = new ComponentDefinitionRegistryImpl();
+        cdr.registerComponentDefinition(new PassThroughMetadataImpl("blueprintBundle", b));
+        p.populate(nshandlers, cdr);
+
+        return cdr;
+    }
+}

Added: cxf/sandbox/cxf-blueprint/jaxws/src/test/java/org/apache/cxf/blueprint/jaxws/NsHandlerTest.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/jaxws/src/test/java/org/apache/cxf/blueprint/jaxws/NsHandlerTest.java?rev=1084474&view=auto
==============================================================================
--- cxf/sandbox/cxf-blueprint/jaxws/src/test/java/org/apache/cxf/blueprint/jaxws/NsHandlerTest.java (added)
+++ cxf/sandbox/cxf-blueprint/jaxws/src/test/java/org/apache/cxf/blueprint/jaxws/NsHandlerTest.java Wed Mar 23 04:28:40 2011
@@ -0,0 +1,71 @@
+/*
+ * *
+ *  * 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.cxf.blueprint.jaxws;
+
+import org.apache.aries.blueprint.ComponentDefinitionRegistry;
+import org.junit.Test;
+import org.osgi.service.blueprint.reflect.BeanArgument;
+import org.osgi.service.blueprint.reflect.BeanMetadata;
+import org.osgi.service.blueprint.reflect.BeanProperty;
+import org.osgi.service.blueprint.reflect.CollectionMetadata;
+import org.osgi.service.blueprint.reflect.RefMetadata;
+
+
+import static junit.framework.Assert.assertTrue;
+
+public class NsHandlerTest extends BaseNsHandlerSetup {
+
+    @Test
+    public void testParsingNameSpace() throws Exception {
+        ComponentDefinitionRegistry cdr = parseCDR("org/apache/cxf/blueprint/jaxws/cxf.xml");
+
+        BeanMetadata comp = (BeanMetadata) cdr.getComponentDefinition("bob");
+
+        BeanProperty bp = (BeanProperty) comp.getProperties().get(1);
+        RefMetadata anon = (RefMetadata) bp.getValue();
+
+        assertTrue("cxf.bus.threaded.default".equals(anon.getComponentId()));
+    }
+
+    @Test
+    public void testInterceptors() throws Exception {
+        ComponentDefinitionRegistry cdr = parseCDR("org/apache/cxf/blueprint/jaxws/cxf.xml");
+
+        BeanMetadata comp = (BeanMetadata) cdr.getComponentDefinition("bob");
+
+        BeanProperty bp = (BeanProperty) comp.getProperties().get(3);
+        CollectionMetadata anon = (CollectionMetadata) bp.getValue();
+
+        RefMetadata interceptor = (RefMetadata) anon.getValues().get(0);
+
+        assertTrue(interceptor.getComponentId().startsWith(".cxf.supporting.bean."));
+    }
+
+    @Test
+    public void testArguments() throws Exception {
+        ComponentDefinitionRegistry cdr = parseCDR("org/apache/cxf/blueprint/jaxws/cxf.xml");
+
+        BeanMetadata comp = (BeanMetadata) cdr.getComponentDefinition("bob");
+
+        BeanArgument anon = (BeanArgument) (comp.getArguments().get(0));
+        RefMetadata impler = (RefMetadata) anon.getValue();
+        assertTrue("impler".equals(impler.getComponentId()));
+    }
+}

Added: cxf/sandbox/cxf-blueprint/jaxws/src/test/resources/org/apache/cxf/blueprint/jaxws/cxf.xml
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/jaxws/src/test/resources/org/apache/cxf/blueprint/jaxws/cxf.xml?rev=1084474&view=auto
==============================================================================
--- cxf/sandbox/cxf-blueprint/jaxws/src/test/resources/org/apache/cxf/blueprint/jaxws/cxf.xml (added)
+++ cxf/sandbox/cxf-blueprint/jaxws/src/test/resources/org/apache/cxf/blueprint/jaxws/cxf.xml Wed Mar 23 04:28:40 2011
@@ -0,0 +1,66 @@
+<!--
+  ~ /**
+  ~  * 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.
+  ~  */
+  -->
+
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+           xmlns:jaxws="http://cxf.apache.org/blueprint/jaxws"
+           xsi:schemaLocation="
+           http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
+
+  <bean class="org.apache.servicemix.samples.wsdl_first.PersonImpl" id="impler"/>
+
+  <jaxws:endpoint id="bob"
+                  implementor="#impler"
+                  address="http://localhost:9090/hello_world"
+
+    >
+
+    <jaxws:inInterceptors>
+      <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
+    </jaxws:inInterceptors>
+
+    <jaxws:outInterceptors>
+      <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
+    </jaxws:outInterceptors>
+
+    <jaxws:properties>
+      <jaxws:entry key="mtom_enabled" value="true"/>
+    </jaxws:properties>
+
+  </jaxws:endpoint>
+
+  <jaxws:server id="exampleServer"
+                serviceBean="org.apache.servicemix.samples.wsdl_first.PersonImpl"
+                address="http://localhost:9091/hello_world">
+
+    <jaxws:inInterceptors>
+      <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
+    </jaxws:inInterceptors>
+
+    <jaxws:outInterceptors>
+      <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
+    </jaxws:outInterceptors>
+
+    <jaxws:properties>
+      <jaxws:entry key="mtom_enabled" value="true"/>
+    </jaxws:properties>
+
+  </jaxws:server>
+
+</blueprint>
\ No newline at end of file

Added: cxf/sandbox/cxf-blueprint/jaxws/target/cxf-blueprint-jaxws-2.4.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/jaxws/target/cxf-blueprint-jaxws-2.4.0-SNAPSHOT.jar?rev=1084474&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cxf/sandbox/cxf-blueprint/jaxws/target/cxf-blueprint-jaxws-2.4.0-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cxf/sandbox/cxf-blueprint/jaxws/target/cxf.osgi.version.txt
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/jaxws/target/cxf.osgi.version.txt?rev=1084474&view=auto
==============================================================================
--- cxf/sandbox/cxf-blueprint/jaxws/target/cxf.osgi.version.txt (added)
+++ cxf/sandbox/cxf-blueprint/jaxws/target/cxf.osgi.version.txt Wed Mar 23 04:28:40 2011
@@ -0,0 +1,2 @@
+cxf.osgi.version.clean = 2.4.0.SNAPSHOT
+                  csc.schema.version = 2.4
\ No newline at end of file

Added: cxf/sandbox/cxf-blueprint/pom.xml
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/pom.xml?rev=1084474&view=auto
==============================================================================
--- cxf/sandbox/cxf-blueprint/pom.xml (added)
+++ cxf/sandbox/cxf-blueprint/pom.xml Wed Mar 23 04:28:40 2011
@@ -0,0 +1,388 @@
+<?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/maven-v4_0_0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.cxf</groupId>
+    <artifactId>cxf</artifactId>
+    <version>2.4.0-SNAPSHOT</version>
+  </parent>
+  <packaging>pom</packaging>
+
+  <modules>
+    <module>core</module>
+    <module>jaxws</module>
+    <module>jaxrs</module>
+  </modules>
+
+  <name>Apache CXF :: CXF Blueprint</name>
+
+  <artifactId>cxf-blueprint</artifactId>
+  <groupId>org.apache.cxf.blueprint</groupId>
+
+  <properties>
+    <commmons.logging.version>1.1.1</commmons.logging.version>
+    <cxf.version>2.3.2</cxf.version>
+    <junit.version>4.8</junit.version>
+
+    <jaxb-version>2.1.13</jaxb-version>
+    <jaxb-api-version>2.1</jaxb-api-version>
+
+    <slf4j.version>1.5.10</slf4j.version>
+
+    <camel.version>2.6</camel.version>
+
+    <!-- plugin -->
+
+    <felix.bundle.plugin.version>2.3.4</felix.bundle.plugin.version>
+
+    <!-- Osgi build setup -->
+
+    <!-- OSGi bundles properties -->
+    <cxf.osgi.import.version>
+      version="[$(version;==;${cxf.osgi.version.clean}),$(version;=+;${cxf.osgi.version.clean}))"
+    </cxf.osgi.import.version>
+    <cxf.osgi.import.strict.version>
+      version="[$(version;===;${cxf.osgi.version.clean}),$(version;==+;${cxf.osgi.version.clean}))"
+    </cxf.osgi.import.strict.version>
+    <cxf.osgi.import.default.version>[$(version;==;$(@)),$(version;+;$(@)))</cxf.osgi.import.default.version>
+
+    <cxf.osgi.import.defaults>
+      org.apache.commons.logging.*;version="[1.1,2)",
+      org.apache.cxf.*;version="[2.3.0,2.5)",
+      org.apache.velocity.*;version="[1.6.2,2)",
+      org.apache.xmlbeans.*;version="[2.4,3)",
+      org.eclipse.jetty.*;version="[7.0,8)",
+    </cxf.osgi.import.defaults>
+    <cxf.osgi.import.before.defaults/>
+    <cxf.osgi.import.additional/>
+    <cxf.osgi.import.pkg>
+      !${cxf.osgi.export.pkg},
+      org.apache.cxf.blueprint.*;${cxf.osgi.import.version},
+      ${cxf.osgi.import.before.defaults},
+      ${cxf.osgi.import.defaults},
+      ${cxf.osgi.import.additional},
+      *
+    </cxf.osgi.import.pkg>
+    <cxf.osgi.activator/>
+    <cxf.osgi.failok>false</cxf.osgi.failok>
+
+    <cxf.osgi.private.pkg>!*</cxf.osgi.private.pkg>
+    <cxf.osgi.export>${cxf.osgi.export.pkg};${cxf.osgi.version}</cxf.osgi.export>
+    <cxf.osgi.version>version=${project.version}</cxf.osgi.version>
+    <cxf.osgi.split.pkg>-split-package:=first</cxf.osgi.split.pkg>
+    <cxf.osgi.import>${cxf.osgi.import.pkg}</cxf.osgi.import>
+    <cxf.osgi.dynamic/>
+
+    <cxf.osgi.symbolic.name>${project.groupId}.${project.artifactId}</cxf.osgi.symbolic.name>
+    <cxf.osgi.exclude.dependencies>false</cxf.osgi.exclude.dependencies>
+    <cxf.osgi.embed.dependency/>
+
+    <!-- encoding -->
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+
+    <osgi.version>4.2.0</osgi.version>
+    <aries.version>0.3</aries.version>
+  </properties>
+
+  <dependencyManagement>
+    <dependencies>
+
+      <dependency>
+        <groupId>org.apache.cxf</groupId>
+        <artifactId>cxf-bundle</artifactId>
+        <version>${cxf.version}</version>
+      </dependency>
+
+      <dependency>
+        <groupId>org.apache.cxf.blueprint</groupId>
+        <artifactId>cxf-blueprint-core</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+
+      <dependency>
+        <groupId>org.osgi</groupId>
+        <artifactId>org.osgi.core</artifactId>
+        <version>${osgi.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.osgi</groupId>
+        <artifactId>org.osgi.compendium</artifactId>
+        <version>${osgi.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.aries.blueprint</groupId>
+        <artifactId>org.apache.aries.blueprint</artifactId>
+        <version>${aries.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>javax.xml.bind</groupId>
+        <artifactId>jaxb-api</artifactId>
+        <version>${jaxb-api-version}</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-logging</groupId>
+        <artifactId>commons-logging</artifactId>
+        <version>${commmons.logging.version}</version>
+
+      </dependency>
+
+      <!-- for testing -->
+      <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>slf4j-api</artifactId>
+        <version>${slf4j.version}</version>
+      </dependency>
+
+      <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>slf4j-log4j12</artifactId>
+        <version>${slf4j.version}</version>
+      </dependency>
+
+      <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <version>${junit.version}</version>
+        <scope>test</scope>
+      </dependency>
+
+    </dependencies>
+  </dependencyManagement>
+
+  <build>
+
+    <pluginManagement>
+      <plugins>
+
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <configuration>
+            <source>1.6</source>
+            <target>1.6</target>
+            <fork>true</fork>
+          </configuration>
+        </plugin>
+
+        <plugin>
+
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-source-plugin</artifactId>
+          <version>2.1.2</version>
+          <configuration>
+            <archive>
+              <manifestEntries>
+                <Bundle-SymbolicName>${project.groupId}.${project.artifactId}.source
+                </Bundle-SymbolicName>
+
+                <Bundle-Version>${cxf.osgi.version.clean}</Bundle-Version>
+                <Eclipse-SourceBundle>
+                  ${project.groupId}.${project.artifactId};version="${cxf.osgi.version.clean}"
+                </Eclipse-SourceBundle>
+              </manifestEntries>
+            </archive>
+          </configuration>
+          <dependencies>
+            <dependency>
+              <groupId>org.apache.camel</groupId>
+              <artifactId>camel-buildtools</artifactId>
+              <version>${camel.version}</version>
+            </dependency>
+          </dependencies>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-antrun-plugin</artifactId>
+          <version>1.2</version>
+        </plugin>
+
+      </plugins>
+
+    </pluginManagement>
+
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+      </resource>
+    </resources>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <inherited>true</inherited>
+        <executions>
+          <execution>
+
+            <id>create-prop</id>
+            <phase>initialize</phase>
+            <configuration>
+              <tasks>
+                <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath"/>
+                <property name="ant.regexp.regexpimpl" value="org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp"/>
+                <property name="mv" value="${project.version}"/>
+                <echo message="Maven version: ${mv}"/>
+
+                <propertyregex property="ov.p1" input="${mv}" regexp="(\d+)(?:\.(\d+)(?:\.(\d+))?)?(?:[^a-zA-Z0-9](.*))?" replace="\1"
+                               defaultValue="0"/>
+                <propertyregex property="ov.p2" input="${mv}" regexp="(\d+)(?:\.(\d+)(?:\.(\d+))?)?(?:[^a-zA-Z0-9](.*))?" replace=".\2"
+                               defaultValue=".0"/>
+                <propertyregex property="ov.p3" input="${mv}" regexp="(\d+)(?:\.(\d+)(?:\.(\d+))?)?(?:[^a-zA-Z0-9](.*))?" replace=".\3"
+                               defaultValue=".0"/>
+                <propertyregex property="ov.p4" input="${mv}" regexp="(\d+)(?:\.(\d+)(?:\.(\d+))?)?(?:[^a-zA-Z0-9](.*))?" replace=".\4"
+                               defaultValue=""/>
+                <propertyregex property="ov.p1a" input="${ov.p1}" regexp="(.+)" replace="\1" defaultValue="0"/>
+                <propertyregex property="ov.p2a" input="${ov.p2}" regexp="(\..+)" replace="\1" defaultValue=".0"/>
+                <propertyregex property="ov.p3a" input="${ov.p3}" regexp="(\..+)" replace="\1" defaultValue=".0"/>
+                <propertyregex property="ov.p4a" input="${ov.p4}" regexp="(\..+)" replace="\1" defaultValue=""/>
+                <property name="ov" value="${ov.p1a}${ov.p2a}${ov.p3a}${ov.p4a}"/>
+
+                <property name="os" value="${ov.p1a}${ov.p2a}"/>
+                <echo message="OSGi version: ${ov}"/>
+                <mkdir dir="target"/>
+                <echo file="target/cxf.osgi.version.txt">
+                  cxf.osgi.version.clean = ${ov}
+                  csc.schema.version = ${os}
+                </echo>
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+        <dependencies>
+          <dependency>
+            <groupId>javax.xml.bind</groupId>
+            <artifactId>jaxb-api</artifactId>
+
+            <version>${jaxb-api-version}</version>
+          </dependency>
+          <dependency>
+            <groupId>com.sun.xml.bind</groupId>
+            <artifactId>jaxb-impl</artifactId>
+            <version>${jaxb-version}</version>
+          </dependency>
+
+          <dependency>
+            <groupId>com.sun.xml.bind</groupId>
+            <artifactId>jaxb-xjc</artifactId>
+            <version>${jaxb-version}</version>
+          </dependency>
+          <dependency>
+            <groupId>ant-contrib</groupId>
+
+            <artifactId>ant-contrib</artifactId>
+            <version>1.0b3</version>
+          </dependency>
+          <dependency>
+            <groupId>ant</groupId>
+            <artifactId>ant-optional</artifactId>
+            <version>1.5.3-1</version>
+
+          </dependency>
+        </dependencies>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>properties-maven-plugin</artifactId>
+        <inherited>true</inherited>
+
+        <executions>
+          <execution>
+            <phase>initialize</phase>
+            <goals>
+              <goal>read-project-properties</goal>
+            </goals>
+            <configuration>
+              <files>
+
+                <file>target/cxf.osgi.version.txt</file>
+              </files>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <version>2.1.2</version>
+        <configuration>
+          <archive>
+            <manifestEntries>
+              <Bundle-Name>SEARCH :: ${project.artifactId}</Bundle-Name>
+              <Bundle-SymbolicName>${cxf.osgi.symbolic.name}</Bundle-SymbolicName>
+              <Bundle-Version>${cxf.osgi.version.clean}</Bundle-Version>
+              <Eclipse-SourceBundle>
+                ${project.groupId}.${project.artifactId};version="${cxf.osgi.version.clean}"
+              </Eclipse-SourceBundle>
+            </manifestEntries>
+          </archive>
+        </configuration>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-buildtools</artifactId>
+            <version>${camel.version}</version>
+          </dependency>
+        </dependencies>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <extensions>true</extensions>
+        <version>${felix.bundle.plugin.version}</version>
+        <inherited>true</inherited>
+        <configuration>
+          <excludeDependencies>${cxf.osgi.exclude.dependencies}</excludeDependencies>
+          <instructions>
+            <Bundle-Name>${project.artifactId}</Bundle-Name>
+            <Bundle-SymbolicName>${cxf.osgi.symbolic.name}</Bundle-SymbolicName>
+            <Bundle-Activator>${cxf.osgi.activator}</Bundle-Activator>
+            <Export-Package>${cxf.osgi.export}</Export-Package>
+            <Import-Package>${cxf.osgi.import}</Import-Package>
+            <DynamicImport-Package>${cxf.osgi.dynamic}</DynamicImport-Package>
+            <Private-Package>${cxf.osgi.private.pkg}</Private-Package>
+            <Implementation-Title>Apache CXF</Implementation-Title>
+            <Implementation-Version>${project.version}</Implementation-Version>
+            <_versionpolicy>${cxf.osgi.import.default.version}</_versionpolicy>
+            <_failok>${cxf.osgi.failok}</_failok>
+            <Embed-Dependency>${cxf.osgi.embed.dependency}</Embed-Dependency>
+            <Require-Bundle>${cxf.osgi.bundles}</Require-Bundle>
+          </instructions>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.6</source>
+          <target>1.6</target>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>resources</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+    </plugins>
+
+  </build>
+
+</project>