incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From z..@apache.org
Subject svn commit: r1032274 - in /incubator/aries/trunk/samples-sandbox/dgoat: ./ dgoat-assembly/ dgoat-assembly/src/main/filtered-resources/ dgoat-assembly/src/main/filtered-resources/clientConfigCXFSample/ dgoat-assembly/src/main/filtered-resources/serverCo...
Date Sun, 07 Nov 2010 13:28:08 GMT
Author: zoe
Date: Sun Nov  7 13:28:06 2010
New Revision: 1032274

URL: http://svn.apache.org/viewvc?rev=1032274&view=rev
Log:
ARIES-476 Checking in the still failing cxf goat sample and working cxf greeter samples for comparison, also start-up scripts for debugging.


Added:
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/client.sh
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/clientConfigCXFSample/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/clientConfigCXFSample/config.ini
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/clientsample.sh
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/server.sh
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/serverConfigCXFSample/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/serverConfigCXFSample/config.ini
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/serversample.sh
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/pom.xml
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/GreeterData.java
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/GreeterException.java
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/GreeterService.java
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/GreetingPhrase.java
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/pom.xml
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/cxf/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/cxf/dosgi/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/cxf/dosgi/samples/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/cxf/dosgi/samples/greeter/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/cxf/dosgi/samples/greeter/client/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/cxf/dosgi/samples/greeter/client/Activator.java
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/cxf/dosgi/samples/greeter/client/GreeterDataImpl.java
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/cxf/dosgi/samples/greeter/client/GreeterDialog.java
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/resources/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/resources/OSGI-INF/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/resources/OSGI-INF/cxf/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/resources/OSGI-INF/cxf/intents/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/resources/OSGI-INF/cxf/intents/intent-map.xml
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/resources/OSGI-INF/remote-service/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/resources/OSGI-INF/remote-service/remote-services.xml
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/pom.xml
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/src/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/src/main/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/src/main/java/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/src/main/java/org/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/src/main/java/org/apache/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/src/main/java/org/apache/cxf/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/src/main/java/org/apache/cxf/dosgi/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/src/main/java/org/apache/cxf/dosgi/samples/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/src/main/java/org/apache/cxf/dosgi/samples/greeter/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/src/main/java/org/apache/cxf/dosgi/samples/greeter/impl/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/src/main/java/org/apache/cxf/dosgi/samples/greeter/impl/Activator.java
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/src/main/java/org/apache/cxf/dosgi/samples/greeter/impl/GreeterServiceImpl.java
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-info-enhancer/src/main/resources/OSGI-INF/remote-service/
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-info-enhancer/src/main/resources/OSGI-INF/remote-service/remote-services.xml
Removed:
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-info-enhancer/src/main/resources/OSGI-INF/remote-services.xml
Modified:
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/pom.xml
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-bundlecontext-modelprovider/src/main/resources/OSGI-INF/blueprint/blueprint.xml
    incubator/aries/trunk/samples-sandbox/dgoat/dgoat-info-enhancer/pom.xml
    incubator/aries/trunk/samples-sandbox/dgoat/pom.xml

Modified: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/pom.xml?rev=1032274&r1=1032273&r2=1032274&view=diff
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/pom.xml (original)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/pom.xml Sun Nov  7 13:28:06 2010
@@ -169,6 +169,21 @@
 			<artifactId>cxf-dosgi-ri-singlebundle-distribution</artifactId>
 			<version>1.2</version>
 		</dependency>
+		<dependency>
+			<groupId>org.apache.aries.samples.dgoat.cxf-api</groupId>
+			<artifactId>cxf-api</artifactId>
+			<version>0.3-incubating-SNAPSHOT</version>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.aries.samples.dgoat.cxf-client</groupId>
+			<artifactId>cxf-client</artifactId>
+			<version>0.3-incubating-SNAPSHOT</version>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.aries.samples.dgoat.cxf-server</groupId>
+			<artifactId>cxf-server</artifactId>
+			<version>0.3-incubating-SNAPSHOT</version>
+		</dependency>
 		
 		<!-- Required for Tuscany -->
 		<dependency>

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/client.sh
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/client.sh?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/client.sh (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/client.sh Sun Nov  7 13:28:06 2010
@@ -0,0 +1 @@
+java -jar osgi-3.5.0.v20090520.jar -configuration clientConfigCXF -console

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/clientConfigCXFSample/config.ini
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/clientConfigCXFSample/config.ini?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/clientConfigCXFSample/config.ini (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/clientConfigCXFSample/config.ini Sun Nov  7 13:28:06 2010
@@ -0,0 +1,352 @@
+# 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.
+osgi.bundles=\
+ services-3.1.200-v20070605.jar@start,\
+ pax-logging-api-1.4.jar@start,\
+ pax-logging-service-1.4.jar@start,\
+ pax-web-jetty-bundle-0.7.2.jar@start,\
+ pax-web-extender-war-0.7.2.jar@start,\
+ pax-web-jsp-0.7.2.jar@start,\
+ cxf-dosgi-ri-singlebundle-distribution-1.2.jar@start, \
+ org.apache.aries.blueprint-0.3-incubating-SNAPSHOT.jar@start,\
+ cxf-api-0.3-incubating-SNAPSHOT.jar@start, \
+ cxf-client-0.3-incubating-SNAPSHOT.jar@start 
+eclipse.ignoreApp=true
+org.osgi.service.http.port=6666
+org.ops4j.pax.logging.DefaultServiceLog.level=DEBUG
+org.osgi.framework.system.packages=javax.accessibility,\
+javax.activation,\
+javax.activity,\
+javax.annotation,\
+javax.annotation.processing,\
+javax.crypto,\
+javax.crypto.interfaces,\
+javax.crypto.spec,\
+javax.imageio,\
+javax.imageio.event,\
+javax.imageio.metadata,\
+javax.imageio.plugins.bmp,\
+javax.imageio.plugins.jpeg,\
+javax.imageio.spi,\
+javax.imageio.stream,\
+javax.jms,\
+javax.jws,\
+javax.jws.soap,\
+javax.lang.model,\
+javax.lang.model.element,\
+javax.lang.model.type,\
+javax.lang.model.util,\
+javax.management,\
+javax.management.loading,\
+javax.management.modelmbean,\
+javax.management.monitor,\
+javax.management.openmbean,\
+javax.management.relation,\
+javax.management.remote,\
+javax.management.remote.rmi,\
+javax.management.timer,\
+javax.naming,\
+javax.naming.directory,\
+javax.naming.event,\
+javax.naming.ldap,\
+javax.naming.spi,\
+javax.net,\
+javax.net.ssl,\
+javax.print,\
+javax.print.attribute,\
+javax.print.attribute.standard,\
+javax.print.event,\
+javax.rmi,\
+javax.rmi.CORBA,\
+javax.rmi.ssl,\
+javax.script,\
+javax.security.auth,\
+javax.security.auth.callback,\
+javax.security.auth.kerberos,\
+javax.security.auth.login,\
+javax.security.auth.spi,\
+javax.security.auth.x500,\
+javax.security.cert,\
+javax.security.sasl,\
+javax.sound.midi,\
+javax.sound.midi.spi,\
+javax.sound.sampled,\
+javax.sound.sampled.spi,\
+javax.sql,\
+javax.sql.rowset,\
+javax.sql.rowset.serial,\
+javax.sql.rowset.spi,\
+javax.swing,\
+javax.swing.border,\
+javax.swing.colorchooser,\
+javax.swing.event,\
+javax.swing.filechooser,\
+javax.swing.plaf,\
+javax.swing.plaf.basic,\
+javax.swing.plaf.metal,\
+javax.swing.plaf.multi,\
+javax.swing.plaf.synth,\
+javax.swing.table,\
+javax.swing.text,\
+javax.swing.text.html,\
+javax.swing.text.html.parser,\
+javax.swing.text.rtf,\
+javax.swing.tree,\
+javax.swing.undo,\
+javax.tools,\
+javax.transaction,\
+javax.transaction.xa,\
+javax.xml,\
+javax.xml.bind,\
+javax.xml.bind.annotation,\
+javax.xml.bind.annotation.adapters,\
+javax.xml.bind.attachment,\
+javax.xml.bind.helpers,\
+javax.xml.bind.util,\
+javax.xml.crypto,\
+javax.xml.crypto.dom,\
+javax.xml.crypto.dsig,\
+javax.xml.crypto.dsig.dom,\
+javax.xml.crypto.dsig.keyinfo,\
+javax.xml.crypto.dsig.spec,\
+javax.xml.datatype,\
+javax.xml.namespace,\
+javax.xml.parsers,\
+javax.xml.soap,\
+javax.xml.stream,\
+javax.xml.stream.events,\
+javax.xml.stream.util,\
+javax.xml.transform,\
+javax.xml.transform.dom,\
+javax.xml.transform.sax,\
+javax.xml.transform.stax,\
+javax.xml.transform.stream,\
+javax.xml.validation,\
+javax.xml.ws,\
+javax.xml.ws.handler,\
+javax.xml.ws.handler.soap,\
+javax.xml.ws.http,\
+javax.xml.ws.soap,\
+javax.xml.ws.spi,\
+javax.xml.ws.wsaddressing,\
+javax.xml.xpath,\
+org.ietf.jgss,\
+org.omg.CORBA,\
+org.omg.CORBA_2_3,\
+org.omg.CORBA_2_3.portable,\
+org.omg.CORBA.DynAnyPackage,\
+org.omg.CORBA.ORBPackage,\
+org.omg.CORBA.portable,\
+org.omg.CORBA.TypeCodePackage,\
+org.omg.CosNaming,\
+org.omg.CosNaming.NamingContextExtPackage,\
+org.omg.CosNaming.NamingContextPackage,\
+org.omg.Dynamic,\
+org.omg.DynamicAny,\
+org.omg.DynamicAny.DynAnyFactoryPackage,\
+org.omg.DynamicAny.DynAnyPackage,\
+org.omg.IOP,\
+org.omg.IOP.CodecFactoryPackage,\
+org.omg.IOP.CodecPackage,\
+org.omg.Messaging,\
+org.omg.PortableInterceptor,\
+org.omg.PortableInterceptor.ORBInitInfoPackage,\
+org.omg.PortableServer,\
+org.omg.PortableServer.CurrentPackage,\
+org.omg.PortableServer.POAManagerPackage,\
+org.omg.PortableServer.POAPackage,\
+org.omg.PortableServer.portable,\
+org.omg.PortableServer.ServantLocatorPackage,\
+org.omg.SendingContext,\
+org.omg.stub.java.rmi,\
+org.w3c.dom,\
+org.w3c.dom.bootstrap,\
+org.w3c.dom.css,\
+org.w3c.dom.events,\
+org.w3c.dom.html,\
+org.w3c.dom.ls,\
+org.w3c.dom.ranges,\
+org.w3c.dom.stylesheets,\
+org.w3c.dom.traversal,\
+org.w3c.dom.views,\
+org.w3c.dom.xpath,\
+org.xml.sax,\
+org.xml.sax.ext,\
+org.xml.sax.helpers,\
+com.ibm.CORBA.iiop
+
+xxorg.osgi.framework.system.packages=javax.xml.parsers,\
+javax.naming
+xorg.osgi.framework.system.packages=javax.accessibility,\
+javax.activation,\
+javax.activity,\
+javax.annotation,\
+javax.annotation.processing,\
+javax.crypto,\
+javax.crypto.interfaces,\
+javax.crypto.spec,\
+javax.imageio,\
+javax.imageio.event,\
+javax.imageio.metadata,\
+javax.imageio.plugins.bmp,\
+javax.imageio.plugins.jpeg,\
+javax.imageio.spi,\
+javax.imageio.stream,\
+javax.jws,\
+javax.jws.soap,\
+javax.lang.model,\
+javax.lang.model.element,\
+javax.lang.model.type,\
+javax.lang.model.util,\
+javax.management,\
+javax.management.loading,\
+javax.management.modelmbean,\
+javax.management.monitor,\
+javax.management.openmbean,\
+javax.management.relation,\
+javax.management.remote,\
+javax.management.remote.rmi,\
+javax.management.timer,\
+javax.naming,\
+javax.naming.directory,\
+javax.naming.event,\
+javax.naming.ldap,\
+javax.naming.spi,\
+javax.net,\
+javax.net.ssl,\
+javax.print,\
+javax.print.attribute,\
+javax.print.attribute.standard,\
+javax.print.event,\
+javax.rmi,\
+javax.rmi.CORBA,\
+javax.rmi.ssl,\
+javax.script,\
+javax.security.auth,\
+javax.security.auth.callback,\
+javax.security.auth.kerberos,\
+javax.security.auth.login,\
+javax.security.auth.spi,\
+javax.security.auth.x500,\
+javax.security.cert,\
+javax.security.sasl,\
+javax.sound.midi,\
+javax.sound.midi.spi,\
+javax.sound.sampled,\
+javax.sound.sampled.spi,\
+javax.sql,\
+javax.sql.rowset,\
+javax.sql.rowset.serial,\
+javax.sql.rowset.spi,\
+javax.swing,\
+javax.swing.border,\
+javax.swing.colorchooser,\
+javax.swing.event,\
+javax.swing.filechooser,\
+javax.swing.plaf,\
+javax.swing.plaf.basic,\
+javax.swing.plaf.metal,\
+javax.swing.plaf.multi,\
+javax.swing.plaf.synth,\
+javax.swing.table,\
+javax.swing.text,\
+javax.swing.text.html,\
+javax.swing.text.html.parser,\
+javax.swing.text.rtf,\
+javax.swing.tree,\
+javax.swing.undo,\
+javax.tools,\
+javax.transaction,\
+javax.transaction.xa,\
+javax.xml,\
+javax.xml.bind,\
+javax.xml.bind.annotation,\
+javax.xml.bind.annotation.adapters,\
+javax.xml.bind.attachment,\
+javax.xml.bind.helpers,\
+javax.xml.bind.util,\
+javax.xml.crypto,\
+javax.xml.crypto.dom,\
+javax.xml.crypto.dsig,\
+javax.xml.crypto.dsig.dom,\
+javax.xml.crypto.dsig.keyinfo,\
+javax.xml.crypto.dsig.spec,\
+javax.xml.datatype,\
+javax.xml.namespace,\
+javax.xml.parsers,\
+javax.xml.soap,\
+javax.xml.stream,\
+javax.xml.stream.events,\
+javax.xml.stream.util,\
+javax.xml.transform,\
+javax.xml.transform.dom,\
+javax.xml.transform.sax,\
+javax.xml.transform.stax,\
+javax.xml.transform.stream,\
+javax.xml.validation,\
+javax.xml.ws,\
+javax.xml.ws.handler,\
+javax.xml.ws.handler.soap,\
+javax.xml.ws.http,\
+javax.xml.ws.soap,\
+javax.xml.ws.spi,\
+javax.xml.ws.wsaddressing,\
+javax.xml.xpath,\
+org.ietf.jgss,\
+org.omg.CORBA,\
+org.omg.CORBA_2_3,\
+org.omg.CORBA_2_3.portable,\
+org.omg.CORBA.DynAnyPackage,\
+org.omg.CORBA.ORBPackage,\
+org.omg.CORBA.portable,\
+org.omg.CORBA.TypeCodePackage,\
+org.omg.CosNaming,\
+org.omg.CosNaming.NamingContextExtPackage,\
+org.omg.CosNaming.NamingContextPackage,\
+org.omg.Dynamic,\
+org.omg.DynamicAny,\
+org.omg.DynamicAny.DynAnyFactoryPackage,\
+org.omg.DynamicAny.DynAnyPackage,\
+org.omg.IOP,\
+org.omg.IOP.CodecFactoryPackage,\
+org.omg.IOP.CodecPackage,\
+org.omg.Messaging,\
+org.omg.PortableInterceptor,\
+org.omg.PortableInterceptor.ORBInitInfoPackage,\
+org.omg.PortableServer,\
+org.omg.PortableServer.CurrentPackage,\
+org.omg.PortableServer.POAManagerPackage,\
+org.omg.PortableServer.POAPackage,\
+org.omg.PortableServer.portable,\
+org.omg.PortableServer.ServantLocatorPackage,\
+org.omg.SendingContext,\
+org.omg.stub.java.rmi,\
+org.w3c.dom,\
+org.w3c.dom.bootstrap,\
+org.w3c.dom.css,\
+org.w3c.dom.events,\
+org.w3c.dom.html,\
+org.w3c.dom.ls,\
+org.w3c.dom.ranges,\
+org.w3c.dom.stylesheets,\
+org.w3c.dom.traversal,\
+org.w3c.dom.views,\
+org.w3c.dom.xpath,\
+org.xml.sax,\
+org.xml.sax.ext,\
+org.xml.sax.helpers
+

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/clientsample.sh
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/clientsample.sh?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/clientsample.sh (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/clientsample.sh Sun Nov  7 13:28:06 2010
@@ -0,0 +1 @@
+java -jar osgi-3.5.0.v20090520.jar -configuration clientConfigCXFSample -console

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/server.sh
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/server.sh?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/server.sh (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/server.sh Sun Nov  7 13:28:06 2010
@@ -0,0 +1 @@
+java -jar osgi-3.5.0.v20090520.jar -configuration serverConfigCXF -console

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/serverConfigCXFSample/config.ini
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/serverConfigCXFSample/config.ini?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/serverConfigCXFSample/config.ini (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/serverConfigCXFSample/config.ini Sun Nov  7 13:28:06 2010
@@ -0,0 +1,349 @@
+# 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.
+osgi.bundles=\
+ services-3.1.200-v20070605.jar@start,\
+ pax-logging-api-1.4.jar@start,\
+ pax-logging-service-1.4.jar@start,\
+ cxf-dosgi-ri-singlebundle-distribution-1.2.jar@start, \
+ org.apache.aries.blueprint-0.3-incubating-SNAPSHOT.jar@start,\
+ cxf-api-0.3-incubating-SNAPSHOT.jar@start, \
+ cxf-server-0.3-incubating-SNAPSHOT.jar@start
+eclipse.ignoreApp=true
+org.osgi.service.http.port=6969
+org.ops4j.pax.logging.DefaultServiceLog.level=DEBUG
+org.osgi.framework.system.packages=javax.accessibility,\
+javax.activation,\
+javax.activity,\
+javax.annotation,\
+javax.annotation.processing,\
+javax.crypto,\
+javax.crypto.interfaces,\
+javax.crypto.spec,\
+javax.imageio,\
+javax.imageio.event,\
+javax.imageio.metadata,\
+javax.imageio.plugins.bmp,\
+javax.imageio.plugins.jpeg,\
+javax.imageio.spi,\
+javax.imageio.stream,\
+javax.jms,\
+javax.jws,\
+javax.jws.soap,\
+javax.lang.model,\
+javax.lang.model.element,\
+javax.lang.model.type,\
+javax.lang.model.util,\
+javax.management,\
+javax.management.loading,\
+javax.management.modelmbean,\
+javax.management.monitor,\
+javax.management.openmbean,\
+javax.management.relation,\
+javax.management.remote,\
+javax.management.remote.rmi,\
+javax.management.timer,\
+javax.naming,\
+javax.naming.directory,\
+javax.naming.event,\
+javax.naming.ldap,\
+javax.naming.spi,\
+javax.net,\
+javax.net.ssl,\
+javax.print,\
+javax.print.attribute,\
+javax.print.attribute.standard,\
+javax.print.event,\
+javax.rmi,\
+javax.rmi.CORBA,\
+javax.rmi.ssl,\
+javax.script,\
+javax.security.auth,\
+javax.security.auth.callback,\
+javax.security.auth.kerberos,\
+javax.security.auth.login,\
+javax.security.auth.spi,\
+javax.security.auth.x500,\
+javax.security.cert,\
+javax.security.sasl,\
+javax.sound.midi,\
+javax.sound.midi.spi,\
+javax.sound.sampled,\
+javax.sound.sampled.spi,\
+javax.sql,\
+javax.sql.rowset,\
+javax.sql.rowset.serial,\
+javax.sql.rowset.spi,\
+javax.swing,\
+javax.swing.border,\
+javax.swing.colorchooser,\
+javax.swing.event,\
+javax.swing.filechooser,\
+javax.swing.plaf,\
+javax.swing.plaf.basic,\
+javax.swing.plaf.metal,\
+javax.swing.plaf.multi,\
+javax.swing.plaf.synth,\
+javax.swing.table,\
+javax.swing.text,\
+javax.swing.text.html,\
+javax.swing.text.html.parser,\
+javax.swing.text.rtf,\
+javax.swing.tree,\
+javax.swing.undo,\
+javax.tools,\
+javax.transaction,\
+javax.transaction.xa,\
+javax.xml,\
+javax.xml.bind,\
+javax.xml.bind.annotation,\
+javax.xml.bind.annotation.adapters,\
+javax.xml.bind.attachment,\
+javax.xml.bind.helpers,\
+javax.xml.bind.util,\
+javax.xml.crypto,\
+javax.xml.crypto.dom,\
+javax.xml.crypto.dsig,\
+javax.xml.crypto.dsig.dom,\
+javax.xml.crypto.dsig.keyinfo,\
+javax.xml.crypto.dsig.spec,\
+javax.xml.datatype,\
+javax.xml.namespace,\
+javax.xml.parsers,\
+javax.xml.soap,\
+javax.xml.stream,\
+javax.xml.stream.events,\
+javax.xml.stream.util,\
+javax.xml.transform,\
+javax.xml.transform.dom,\
+javax.xml.transform.sax,\
+javax.xml.transform.stax,\
+javax.xml.transform.stream,\
+javax.xml.validation,\
+javax.xml.ws,\
+javax.xml.ws.handler,\
+javax.xml.ws.handler.soap,\
+javax.xml.ws.http,\
+javax.xml.ws.soap,\
+javax.xml.ws.spi,\
+javax.xml.ws.wsaddressing,\
+javax.xml.xpath,\
+org.ietf.jgss,\
+org.omg.CORBA,\
+org.omg.CORBA_2_3,\
+org.omg.CORBA_2_3.portable,\
+org.omg.CORBA.DynAnyPackage,\
+org.omg.CORBA.ORBPackage,\
+org.omg.CORBA.portable,\
+org.omg.CORBA.TypeCodePackage,\
+org.omg.CosNaming,\
+org.omg.CosNaming.NamingContextExtPackage,\
+org.omg.CosNaming.NamingContextPackage,\
+org.omg.Dynamic,\
+org.omg.DynamicAny,\
+org.omg.DynamicAny.DynAnyFactoryPackage,\
+org.omg.DynamicAny.DynAnyPackage,\
+org.omg.IOP,\
+org.omg.IOP.CodecFactoryPackage,\
+org.omg.IOP.CodecPackage,\
+org.omg.Messaging,\
+org.omg.PortableInterceptor,\
+org.omg.PortableInterceptor.ORBInitInfoPackage,\
+org.omg.PortableServer,\
+org.omg.PortableServer.CurrentPackage,\
+org.omg.PortableServer.POAManagerPackage,\
+org.omg.PortableServer.POAPackage,\
+org.omg.PortableServer.portable,\
+org.omg.PortableServer.ServantLocatorPackage,\
+org.omg.SendingContext,\
+org.omg.stub.java.rmi,\
+org.w3c.dom,\
+org.w3c.dom.bootstrap,\
+org.w3c.dom.css,\
+org.w3c.dom.events,\
+org.w3c.dom.html,\
+org.w3c.dom.ls,\
+org.w3c.dom.ranges,\
+org.w3c.dom.stylesheets,\
+org.w3c.dom.traversal,\
+org.w3c.dom.views,\
+org.w3c.dom.xpath,\
+org.xml.sax,\
+org.xml.sax.ext,\
+org.xml.sax.helpers,\
+com.ibm.CORBA.iiop
+
+xxorg.osgi.framework.system.packages=javax.xml.parsers,\
+javax.naming
+xorg.osgi.framework.system.packages=javax.accessibility,\
+javax.activation,\
+javax.activity,\
+javax.annotation,\
+javax.annotation.processing,\
+javax.crypto,\
+javax.crypto.interfaces,\
+javax.crypto.spec,\
+javax.imageio,\
+javax.imageio.event,\
+javax.imageio.metadata,\
+javax.imageio.plugins.bmp,\
+javax.imageio.plugins.jpeg,\
+javax.imageio.spi,\
+javax.imageio.stream,\
+javax.jws,\
+javax.jws.soap,\
+javax.lang.model,\
+javax.lang.model.element,\
+javax.lang.model.type,\
+javax.lang.model.util,\
+javax.management,\
+javax.management.loading,\
+javax.management.modelmbean,\
+javax.management.monitor,\
+javax.management.openmbean,\
+javax.management.relation,\
+javax.management.remote,\
+javax.management.remote.rmi,\
+javax.management.timer,\
+javax.naming,\
+javax.naming.directory,\
+javax.naming.event,\
+javax.naming.ldap,\
+javax.naming.spi,\
+javax.net,\
+javax.net.ssl,\
+javax.print,\
+javax.print.attribute,\
+javax.print.attribute.standard,\
+javax.print.event,\
+javax.rmi,\
+javax.rmi.CORBA,\
+javax.rmi.ssl,\
+javax.script,\
+javax.security.auth,\
+javax.security.auth.callback,\
+javax.security.auth.kerberos,\
+javax.security.auth.login,\
+javax.security.auth.spi,\
+javax.security.auth.x500,\
+javax.security.cert,\
+javax.security.sasl,\
+javax.sound.midi,\
+javax.sound.midi.spi,\
+javax.sound.sampled,\
+javax.sound.sampled.spi,\
+javax.sql,\
+javax.sql.rowset,\
+javax.sql.rowset.serial,\
+javax.sql.rowset.spi,\
+javax.swing,\
+javax.swing.border,\
+javax.swing.colorchooser,\
+javax.swing.event,\
+javax.swing.filechooser,\
+javax.swing.plaf,\
+javax.swing.plaf.basic,\
+javax.swing.plaf.metal,\
+javax.swing.plaf.multi,\
+javax.swing.plaf.synth,\
+javax.swing.table,\
+javax.swing.text,\
+javax.swing.text.html,\
+javax.swing.text.html.parser,\
+javax.swing.text.rtf,\
+javax.swing.tree,\
+javax.swing.undo,\
+javax.tools,\
+javax.transaction,\
+javax.transaction.xa,\
+javax.xml,\
+javax.xml.bind,\
+javax.xml.bind.annotation,\
+javax.xml.bind.annotation.adapters,\
+javax.xml.bind.attachment,\
+javax.xml.bind.helpers,\
+javax.xml.bind.util,\
+javax.xml.crypto,\
+javax.xml.crypto.dom,\
+javax.xml.crypto.dsig,\
+javax.xml.crypto.dsig.dom,\
+javax.xml.crypto.dsig.keyinfo,\
+javax.xml.crypto.dsig.spec,\
+javax.xml.datatype,\
+javax.xml.namespace,\
+javax.xml.parsers,\
+javax.xml.soap,\
+javax.xml.stream,\
+javax.xml.stream.events,\
+javax.xml.stream.util,\
+javax.xml.transform,\
+javax.xml.transform.dom,\
+javax.xml.transform.sax,\
+javax.xml.transform.stax,\
+javax.xml.transform.stream,\
+javax.xml.validation,\
+javax.xml.ws,\
+javax.xml.ws.handler,\
+javax.xml.ws.handler.soap,\
+javax.xml.ws.http,\
+javax.xml.ws.soap,\
+javax.xml.ws.spi,\
+javax.xml.ws.wsaddressing,\
+javax.xml.xpath,\
+org.ietf.jgss,\
+org.omg.CORBA,\
+org.omg.CORBA_2_3,\
+org.omg.CORBA_2_3.portable,\
+org.omg.CORBA.DynAnyPackage,\
+org.omg.CORBA.ORBPackage,\
+org.omg.CORBA.portable,\
+org.omg.CORBA.TypeCodePackage,\
+org.omg.CosNaming,\
+org.omg.CosNaming.NamingContextExtPackage,\
+org.omg.CosNaming.NamingContextPackage,\
+org.omg.Dynamic,\
+org.omg.DynamicAny,\
+org.omg.DynamicAny.DynAnyFactoryPackage,\
+org.omg.DynamicAny.DynAnyPackage,\
+org.omg.IOP,\
+org.omg.IOP.CodecFactoryPackage,\
+org.omg.IOP.CodecPackage,\
+org.omg.Messaging,\
+org.omg.PortableInterceptor,\
+org.omg.PortableInterceptor.ORBInitInfoPackage,\
+org.omg.PortableServer,\
+org.omg.PortableServer.CurrentPackage,\
+org.omg.PortableServer.POAManagerPackage,\
+org.omg.PortableServer.POAPackage,\
+org.omg.PortableServer.portable,\
+org.omg.PortableServer.ServantLocatorPackage,\
+org.omg.SendingContext,\
+org.omg.stub.java.rmi,\
+org.w3c.dom,\
+org.w3c.dom.bootstrap,\
+org.w3c.dom.css,\
+org.w3c.dom.events,\
+org.w3c.dom.html,\
+org.w3c.dom.ls,\
+org.w3c.dom.ranges,\
+org.w3c.dom.stylesheets,\
+org.w3c.dom.traversal,\
+org.w3c.dom.views,\
+org.w3c.dom.xpath,\
+org.xml.sax,\
+org.xml.sax.ext,\
+org.xml.sax.helpers
+

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/serversample.sh
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/serversample.sh?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/serversample.sh (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/serversample.sh Sun Nov  7 13:28:06 2010
@@ -0,0 +1 @@
+java -jar osgi-3.5.0.v20090520.jar -configuration serverConfigCXFSample -console

Modified: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-bundlecontext-modelprovider/src/main/resources/OSGI-INF/blueprint/blueprint.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-bundlecontext-modelprovider/src/main/resources/OSGI-INF/blueprint/blueprint.xml?rev=1032274&r1=1032273&r2=1032274&view=diff
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-bundlecontext-modelprovider/src/main/resources/OSGI-INF/blueprint/blueprint.xml (original)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-bundlecontext-modelprovider/src/main/resources/OSGI-INF/blueprint/blueprint.xml Sun Nov  7 13:28:06 2010
@@ -29,7 +29,7 @@
   	  -->
 		<!-- CXF entries -->
 		<entry key="service.exported.configs" value="org.apache.cxf.ws" />
-		<entry key="org.apache.cxf.ws.address" value="http://localhost:9090/bundlectx" />
+		<entry key="org.apache.cxf.ws.address" value="http://localhost:9191/bundlectx" />
   	</service-properties>
   </service>
 </blueprint>

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/pom.xml?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/pom.xml (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/pom.xml Sun Nov  7 13:28:06 2010
@@ -0,0 +1,57 @@
+<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">
+<!--
+  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>
+    <groupId>org.apache.aries.samples.dgoat.cxf-api</groupId>
+    <artifactId>cxf-api</artifactId>
+    <packaging>bundle</packaging>
+    <name>Distributed OSGI Greeter Interface Bundle</name>
+    <version>0.3-incubating-SNAPSHOT</version>
+
+    <parent>
+      <groupId>org.apache.aries.samples.dgoat</groupId>
+      <artifactId>dgoat</artifactId>
+    <version>0.3-incubating-SNAPSHOT</version>
+    </parent>
+
+    <properties>
+        <bundle.import.package>*</bundle.import.package>
+        <bundle.export.package>org.apache.cxf.dosgi.samples.greeter</bundle.export.package>
+    </properties>
+    
+    <build>
+      <plugins>
+        <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Bundle-Name>CXF Distributed OSGi Greeter Demo Interface Bundle</Bundle-Name>
+                        <Bundle-Description>This bundle contains the implementation of the CXF Distributed OSGi Greeter Demo Interfaces</Bundle-Description>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Import-Package>${bundle.import.package}</Import-Package>
+                        <Export-Package>${bundle.export.package}</Export-Package> 
+                    </instructions>
+                </configuration>
+            </plugin> 
+         </plugins>
+    </build>    
+
+</project>

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/GreeterData.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/GreeterData.java?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/GreeterData.java (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/GreeterData.java Sun Nov  7 13:28:06 2010
@@ -0,0 +1,25 @@
+/** 
+  * 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.dosgi.samples.greeter;
+
+public interface GreeterData {
+    String getName();
+    int getAge();
+    boolean isException();
+}

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/GreeterException.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/GreeterException.java?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/GreeterException.java (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/GreeterException.java Sun Nov  7 13:28:06 2010
@@ -0,0 +1,44 @@
+/** 
+  * 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.dosgi.samples.greeter;
+
+public class GreeterException extends Exception {
+    
+    private String name;
+    
+    public GreeterException() {
+    }
+    
+    public GreeterException(String name) {
+        this.name = name;
+    }
+    
+    public String getName() {
+        return name;
+    }
+    
+    public void setName(String theName) {
+        name = theName;
+    }
+    
+    @Override
+    public String toString() {
+        return "GreeterService can not greet " + name;
+    }
+}

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/GreeterService.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/GreeterService.java?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/GreeterService.java (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/GreeterService.java Sun Nov  7 13:28:06 2010
@@ -0,0 +1,27 @@
+/** 
+  * 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.dosgi.samples.greeter;
+
+import java.util.Map;
+
+
+public interface GreeterService {
+    Map<GreetingPhrase, String> greetMe(String name);
+    GreetingPhrase [] greetMe(GreeterData name) throws GreeterException;
+}

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/GreetingPhrase.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/GreetingPhrase.java?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/GreetingPhrase.java (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-api/src/main/java/org/apache/cxf/dosgi/samples/greeter/GreetingPhrase.java Sun Nov  7 13:28:06 2010
@@ -0,0 +1,52 @@
+/** 
+  * 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.dosgi.samples.greeter;
+
+public class GreetingPhrase {
+    private String phrase;
+    
+    public GreetingPhrase() {
+    }
+    
+    public GreetingPhrase(String phrase) {
+        this.phrase = phrase;
+    }
+
+    public void setPhrase(String thePhrase) {
+        this.phrase = thePhrase;
+    }
+    
+    public String getPhrase() {
+        return phrase;
+    }
+    
+    @Override
+    public int hashCode() {
+        return phrase.hashCode();
+    }
+    
+    @Override
+    public boolean equals(Object other) {
+        if (!GreetingPhrase.class.isAssignableFrom(other.getClass())) {
+            return false;
+        }
+        
+        return phrase.equals(((GreetingPhrase)other).phrase);
+    }
+}

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/pom.xml?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/pom.xml (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/pom.xml Sun Nov  7 13:28:06 2010
@@ -0,0 +1,78 @@
+<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">
+<!--
+  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>
+    <groupId>org.apache.aries.samples.dgoat.cxf-client</groupId>
+    <artifactId>cxf-client</artifactId>
+    <packaging>bundle</packaging>
+    <name>Distributed OSGI Greeter Bundle Client</name>
+    <version>0.3-incubating-SNAPSHOT</version>
+
+    <parent>
+      <groupId>org.apache.aries.samples.dgoat</groupId>
+      <artifactId>dgoat</artifactId>
+    <version>0.3-incubating-SNAPSHOT</version>
+    </parent>
+
+    <properties>
+        <bundle.import.package>*</bundle.import.package>                
+        <bundle.private.package>org.apache.cxf.dosgi.samples.greeter.client</bundle.private.package>
+    </properties>
+    
+    <dependencies>
+        <dependency> 
+            <groupId>org.apache.aries.samples.dgoat.cxf-api</groupId>
+            <artifactId>cxf-api</artifactId>
+            <version>0.3-incubating-SNAPSHOT</version>
+        </dependency> 
+       <dependency> 
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.apache.felix.framework</artifactId>
+            <version>3.0.3</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.felix</groupId>
+                    <artifactId>org.osgi.foundation</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency> 
+    </dependencies> 
+
+    <build>
+      <plugins>
+        <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Bundle-Name>CXF Distributed OSGi Greeter Demo Client Bundle</Bundle-Name>
+                        <Bundle-Description>This bundle contains the implementation the Distributed OSGi Greeter Demo Client</Bundle-Description>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Bundle-Activator>org.apache.cxf.dosgi.samples.greeter.client.Activator</Bundle-Activator>
+                        <Import-Package>${bundle.import.package}</Import-Package>
+                        <Private-Package>${bundle.private.package}</Private-Package> 
+                        <DynamicImport-Package>org.apache.cxf.dosgi.dsw.qos,org.apache.cxf</DynamicImport-Package>
+                    </instructions>
+                </configuration>
+            </plugin> 
+         </plugins>
+    </build>    
+
+</project>

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/cxf/dosgi/samples/greeter/client/Activator.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/cxf/dosgi/samples/greeter/client/Activator.java?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/cxf/dosgi/samples/greeter/client/Activator.java (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/cxf/dosgi/samples/greeter/client/Activator.java Sun Nov  7 13:28:06 2010
@@ -0,0 +1,102 @@
+/** 
+  * 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.dosgi.samples.greeter.client;
+
+import java.util.Map;
+
+import org.apache.cxf.dosgi.samples.greeter.GreeterData;
+import org.apache.cxf.dosgi.samples.greeter.GreeterException;
+import org.apache.cxf.dosgi.samples.greeter.GreeterService;
+import org.apache.cxf.dosgi.samples.greeter.GreetingPhrase;
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.ServiceReference;
+import org.osgi.util.tracker.ServiceTracker;
+
+public class Activator implements BundleActivator {    
+    private ServiceTracker tracker;
+
+    public void start(final BundleContext bc) {
+        tracker = new ServiceTracker(bc, GreeterService.class.getName(), null) {
+            @Override
+            public Object addingService(ServiceReference reference) {
+                Object result = super.addingService(reference);
+
+                useService(bc, reference);
+                
+                return result;
+            }
+        };
+        tracker.open();
+        
+    }
+
+    protected void useService(final BundleContext bc, ServiceReference reference) {
+        Object svc = bc.getService(reference);
+        if (!(svc instanceof GreeterService)) {
+            return;
+        }
+        final GreeterService greeter = (GreeterService) svc;
+
+        Thread t = new Thread(new Runnable() {
+            public void run() {
+                greeterUI(bc, greeter);
+            }
+        });
+        t.start();
+    }
+
+    private void greeterUI(final BundleContext bc, final GreeterService greeter) {
+        while (true) {
+            System.out.println("*** Opening greeter client dialog ***");
+            Object gd = getGreeterData();
+            if (gd instanceof String) {
+                System.out.println("*** Invoking greeter ***");
+                Map<GreetingPhrase, String> result = greeter.greetMe((String) gd);
+
+                System.out.println("greetMe(\"" + gd + "\") returns:");
+                for (Map.Entry<GreetingPhrase, String> greeting : result.entrySet()) {
+                    System.out.println("  " + greeting.getKey().getPhrase() 
+                            + " " + greeting.getValue());
+                }
+            } else if (gd instanceof GreeterData) {
+                System.out.println("*** Invoking greeter ***");
+                try {
+                    GreetingPhrase [] result = greeter.greetMe((GreeterData) gd);
+                    System.out.println("greetMe(\"" + gd + "\") returns:");
+                    for (GreetingPhrase phrase : result) {
+                        System.out.println("  " + phrase.getPhrase());
+                    }
+                } catch (GreeterException ex) {
+                    System.out.println("GreeterException : " + ex.toString());
+                }                
+            }
+        }
+    }
+
+    private static Object getGreeterData() {
+        GreeterDialog gd = new GreeterDialog();
+        gd.setVisible(true);
+        return gd.getSelection();
+    }
+
+    public void stop(BundleContext bc) throws Exception {
+        tracker.close();
+    }
+}

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/cxf/dosgi/samples/greeter/client/GreeterDataImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/cxf/dosgi/samples/greeter/client/GreeterDataImpl.java?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/cxf/dosgi/samples/greeter/client/GreeterDataImpl.java (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/cxf/dosgi/samples/greeter/client/GreeterDataImpl.java Sun Nov  7 13:28:06 2010
@@ -0,0 +1,45 @@
+/** 
+  * 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.dosgi.samples.greeter.client;
+
+import org.apache.cxf.dosgi.samples.greeter.GreeterData;
+
+public class GreeterDataImpl implements GreeterData {
+    private final String name;
+    private final int age;
+    private final boolean exception;
+        
+    public GreeterDataImpl(String n, int a, boolean b) {
+        name = n;
+        age = a;
+        exception = b;
+    }
+    
+    public String getName() {
+        return name;
+    }
+
+    public int getAge() {
+        return age;
+    }
+
+    public boolean isException() {
+        return exception;
+    }
+}

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/cxf/dosgi/samples/greeter/client/GreeterDialog.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/cxf/dosgi/samples/greeter/client/GreeterDialog.java?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/cxf/dosgi/samples/greeter/client/GreeterDialog.java (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/java/org/apache/cxf/dosgi/samples/greeter/client/GreeterDialog.java Sun Nov  7 13:28:06 2010
@@ -0,0 +1,189 @@
+/** 
+  * 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.dosgi.samples.greeter.client;
+
+import java.awt.Component;
+import java.awt.FlowLayout;
+import java.awt.Frame;
+import java.awt.GridBagConstraints;
+import java.awt.GridBagLayout;
+import java.awt.Insets;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+
+import javax.swing.BoxLayout;
+import javax.swing.ButtonGroup;
+import javax.swing.JButton;
+import javax.swing.JCheckBox;
+import javax.swing.JDialog;
+import javax.swing.JLabel;
+import javax.swing.JPanel;
+import javax.swing.JRadioButton;
+import javax.swing.JTextField;
+import javax.swing.event.ChangeEvent;
+import javax.swing.event.ChangeListener;
+
+public class GreeterDialog extends JDialog {
+    private static final long serialVersionUID = 1L;
+    
+    Object selection;
+
+    public GreeterDialog() {
+        super((Frame) null, "Invoke Remote Greeter Service", true);
+        
+        JPanel panel = new JPanel();
+        panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));     
+        setContentPane(panel);
+
+        final JRadioButton rb1 = new JRadioButton("invoke: Map<GreetingPhrase, String> greetMe(String name);");
+        rb1.setSelected(true);
+        rb1.setAlignmentX(Component.LEFT_ALIGNMENT);        
+        panel.add(rb1);
+        
+        final JPanel simplePanel = new JPanel(new GridBagLayout());
+        simplePanel.setAlignmentX(Component.LEFT_ALIGNMENT);
+        GridBagConstraints c1 = new GridBagConstraints();
+        
+        rb1.addChangeListener(new ChangeListener() {
+            public void stateChanged(ChangeEvent e) {
+                enablePanel(simplePanel, rb1.isSelected());
+            }
+        });
+        
+        JLabel lb1 = new JLabel("Name: ");
+        c1.weightx = 0.0;
+        c1.gridx = 0;
+        c1.gridy = 0;
+        c1.insets = new Insets(0, 25, 0, 0);
+        c1.anchor = GridBagConstraints.LINE_START;
+        simplePanel.add(lb1, c1);
+        
+        final JTextField tf1 = new JTextField(20);
+        c1.weightx = 0.2;
+        c1.gridx = 1;
+        c1.gridy = 0;
+        c1.insets = new Insets(0, 10, 0, 0);
+        c1.anchor = GridBagConstraints.LINE_START;
+        simplePanel.add(tf1, c1);
+        panel.add(simplePanel);
+
+        panel.add(new JLabel(" ")); // add a spacer
+        
+        final JRadioButton rb2 = new JRadioButton("invoke: GreetingPhrase [] greetMe(GreeterData data) throws GreeterException;");
+        rb2.setAlignmentX(Component.LEFT_ALIGNMENT);
+        panel.add(rb2);
+        
+        final JPanel complexPanel = new JPanel(new GridBagLayout());
+        complexPanel.setAlignmentX(Component.LEFT_ALIGNMENT);
+        GridBagConstraints c2 = new GridBagConstraints();
+
+        rb2.addChangeListener(new ChangeListener() {            
+            public void stateChanged(ChangeEvent e) {
+                enablePanel(complexPanel, rb2.isSelected());
+            }
+        });            
+        
+        JLabel lb2 = new JLabel("Name: ");
+        c2.weightx = 0.0;
+        c2.gridx = 0;
+        c2.gridy = 0;
+        c2.insets = new Insets(0, 25, 0, 0);
+        c2.anchor = GridBagConstraints.LINE_START;
+        complexPanel.add(lb2, c2);
+        
+        final JTextField tf2 = new JTextField(20);
+        c2.weightx = 0.2;
+        c2.gridx = 1;
+        c2.gridy = 0;
+        c2.insets = new Insets(0, 10, 0, 0);
+        c2.anchor = GridBagConstraints.LINE_START;
+        complexPanel.add(tf2, c2);        
+                
+        JLabel lb3 = new JLabel("Age: ");
+        c2.weightx = 0.0;
+        c2.gridx = 0;
+        c2.gridy = 1;
+        c2.insets = new Insets(0, 25, 0, 0);
+        c2.anchor = GridBagConstraints.LINE_START;
+        complexPanel.add(lb3, c2);
+        
+        final JTextField tf3 = new JTextField(7);
+        c2.weightx = 0.2;
+        c2.gridx = 1;
+        c2.gridy = 1;
+        c2.insets = new Insets(0, 10, 0, 0);
+        c2.anchor = GridBagConstraints.LINE_START;
+        complexPanel.add(tf3, c2);
+        
+        final JCheckBox cb1 = new JCheckBox("Throw Exception");
+        c2.weightx = 0.0;
+        c2.gridx = 0;
+        c2.gridy = 2;
+        c2.gridwidth = 2;
+        c2.insets = new Insets(0, 22, 0, 0);
+        c2.anchor = GridBagConstraints.LINE_START;
+        complexPanel.add(cb1, c2);
+
+        panel.add(complexPanel);
+        enablePanel(complexPanel, false);
+        
+        JPanel buttons = new JPanel(new FlowLayout(FlowLayout.CENTER));        
+        buttons.setAlignmentX(Component.LEFT_ALIGNMENT);
+        
+        JButton b1 = new JButton("Invoke");
+        buttons.add(b1);
+        
+        b1.addActionListener(new ActionListener() {            
+            public void actionPerformed(ActionEvent e) {
+                if (rb1.isSelected()) {
+                    selection = tf1.getText();
+                } else {
+                    selection = new GreeterDataImpl(tf2.getText(), new Integer(tf3.getText()), cb1.isSelected());
+                }                
+                
+                setVisible(false);
+            }
+        });
+        
+        panel.add(buttons);
+        
+        ButtonGroup bg = new ButtonGroup();
+        bg.add(rb1);
+        bg.add(rb2);
+        
+        pack();
+        setLocationRelativeTo(null); // centers frame on screen
+    }
+    
+    public Object getSelection() {
+        return selection;
+    }
+    
+    private static void enablePanel(JPanel panel, boolean b) {
+        for (Component c : panel.getComponents()) {
+            c.setEnabled(b);
+        }
+    }
+
+    public static void main(String ... args) {
+        GreeterDialog gd = new GreeterDialog();
+        gd.setVisible(true);
+        System.exit(0);
+    }
+}

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/resources/OSGI-INF/cxf/intents/intent-map.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/resources/OSGI-INF/cxf/intents/intent-map.xml?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/resources/OSGI-INF/cxf/intents/intent-map.xml (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/resources/OSGI-INF/cxf/intents/intent-map.xml Sun Nov  7 13:28:06 2010
@@ -0,0 +1,75 @@
+<?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:p="http://cxf.apache.org/policy"
+       xmlns:wsp="http://www.w3.org/ns/ws-policy"
+       xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
+       xmlns:http="http://cxf.apache.org/transports/http/configuration"
+       xmlns:wsrm-policy="http://schemas.xmlsoap.org/ws/2005/02/rm/policy"
+       xsi:schemaLocation="
+       http://cxf.apache.org/policy http://cxf.apache.org/schemas/policy.xsd
+       http://www.w3.org/ns/ws-policy http://www.w3.org/2007/02/ws-policy.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://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+    <bean id="intentMap" class="org.apache.cxf.dosgi.dsw.qos.IntentMap">
+       <property name="intents">
+         <map>
+           <entry key="reliability" value-ref="reliableMessaging"/>
+           <entry key="decoupled" value-ref="decoupledAddressing"/>
+         </map>
+       </property>
+    </bean>
+
+    <p:policies id="reliableMessaging">
+        <wsp:PolicyReference URI="#ReliabilityPolicy"/>
+        <wsp:PolicyReference URI="#DecoupledPolicy"/>
+        <wsp:PolicyReference URI="#AddressingPolicy"/>
+    </p:policies>
+
+    <p:policies id="decoupledAddressing">
+        <wsp:PolicyReference URI="#DecoupledPolicy"/>
+        <wsp:PolicyReference URI="#AddressingPolicy"/>
+    </p:policies>
+
+    <wsp:Policy wsu:Id="ReliabilityPolicy">
+        <wsrm-policy:RMAssertion>
+            <wsrm-policy:BaseRetransmissionInterval Milliseconds="4000"/>
+            <wsrm-policy:AcknowledgementInterval Milliseconds="2000" />
+        </wsrm-policy:RMAssertion>
+    </wsp:Policy>
+
+    <wsp:Policy wsu:Id="DecoupledPolicy">
+        <wsp:ExactlyOne>
+            <http:client DecoupledEndpoint="http://localhost:9970/decoupled_endpoint"/>
+        </wsp:ExactlyOne>
+    </wsp:Policy>
+
+    <wsp:Policy wsu:Id="AddressingPolicy"
+        xmlns:wsam="http://www.w3.org/2007/02/addressing/metadata">
+        <wsam:Addressing>
+            <wsp:Policy />
+        </wsam:Addressing>
+    </wsp:Policy>
+
+</beans>

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/resources/OSGI-INF/remote-service/remote-services.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/resources/OSGI-INF/remote-service/remote-services.xml?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/resources/OSGI-INF/remote-service/remote-services.xml (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-cli/src/main/resources/OSGI-INF/remote-service/remote-services.xml Sun Nov  7 13:28:06 2010
@@ -0,0 +1,27 @@
+<?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.
+  -->
+<endpoint-descriptions xmlns="http://www.osgi.org/xmlns/rsa/v1.0.0">
+  <endpoint-description>
+    <property name="objectClass">
+      <array>
+        <value>org.apache.cxf.dosgi.samples.greeter.GreeterService</value>
+      </array>
+    </property>
+    <property name="endpoint.id">http://localhost:9090/greeter</property>
+    <property name="service.imported.configs">org.apache.cxf.ws</property>
+  </endpoint-description>
+</endpoint-descriptions>
+

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/pom.xml?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/pom.xml (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/pom.xml Sun Nov  7 13:28:06 2010
@@ -0,0 +1,78 @@
+<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">
+<!--
+  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>
+    <groupId>org.apache.aries.samples.dgoat.cxf-server</groupId>
+    <artifactId>cxf-server</artifactId>
+    <packaging>bundle</packaging>
+    <name>Distributed OSGI Greeter SErver Bundle</name>
+    <version>0.3-incubating-SNAPSHOT</version>
+
+    <parent>
+      <groupId>org.apache.aries.samples.dgoat</groupId>
+      <artifactId>dgoat</artifactId>
+      <version>0.3-incubating-SNAPSHOT</version>
+    </parent>
+
+    <properties>
+        <bundle.import.package>*</bundle.import.package>                               
+        <bundle.private.package>org.apache.cxf.dosgi.samples.greeter.impl</bundle.private.package>
+    </properties>
+    
+    <dependencies>
+        <dependency> 
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.apache.felix.framework</artifactId>
+            <version>3.0.3</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.felix</groupId>
+                    <artifactId>org.osgi.foundation</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency> 
+        <dependency> 
+            <groupId>org.apache.aries.samples.dgoat.cxf-api</groupId>
+            <artifactId>cxf-api</artifactId>
+            <version>0.3-incubating-SNAPSHOT</version>
+        </dependency> 
+    </dependencies> 
+
+    <build>
+      <plugins>
+        <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Bundle-Name>CXF Distributed OSGi Greeter Demo Service Implementation Bundle</Bundle-Name>
+                        <Bundle-Description>This bundle contains the implementation of the CXF Distributed OSGi Greeter Demo Implementation Bundle</Bundle-Description>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Bundle-Activator>org.apache.cxf.dosgi.samples.greeter.impl.Activator</Bundle-Activator>
+                        <Import-Package>${bundle.import.package}</Import-Package>
+                        <Private-Package>${bundle.private.package}</Private-Package> 
+                        <DynamicImport-Package>org.apache.cxf.dosgi.dsw.qos,org.apache.cxf</DynamicImport-Package>
+                    </instructions>
+                </configuration>
+            </plugin> 
+         </plugins>
+    </build>    
+
+</project>

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/src/main/java/org/apache/cxf/dosgi/samples/greeter/impl/Activator.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/src/main/java/org/apache/cxf/dosgi/samples/greeter/impl/Activator.java?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/src/main/java/org/apache/cxf/dosgi/samples/greeter/impl/Activator.java (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/src/main/java/org/apache/cxf/dosgi/samples/greeter/impl/Activator.java Sun Nov  7 13:28:06 2010
@@ -0,0 +1,48 @@
+/** 
+  * 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.dosgi.samples.greeter.impl;
+
+
+import java.util.Dictionary;
+import java.util.Hashtable;
+
+
+import org.apache.cxf.dosgi.samples.greeter.GreeterService;
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.ServiceRegistration;
+
+public class Activator implements BundleActivator {
+    private ServiceRegistration registration;
+
+    public void start(BundleContext bc) throws Exception {
+        Dictionary props = new Hashtable();
+
+        props.put("service.exported.interfaces", "*");
+        props.put("service.exported.configs", "org.apache.cxf.ws");
+        props.put("org.apache.cxf.ws.address", "http://localhost:9090/greeter");
+        
+        registration = bc.registerService(GreeterService.class.getName(), 
+                                          new GreeterServiceImpl(), props);
+    }
+
+    public void stop(BundleContext bc) throws Exception {
+        registration.unregister();
+    }
+}

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/src/main/java/org/apache/cxf/dosgi/samples/greeter/impl/GreeterServiceImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/src/main/java/org/apache/cxf/dosgi/samples/greeter/impl/GreeterServiceImpl.java?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/src/main/java/org/apache/cxf/dosgi/samples/greeter/impl/GreeterServiceImpl.java (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-cxf-sample-server/src/main/java/org/apache/cxf/dosgi/samples/greeter/impl/GreeterServiceImpl.java Sun Nov  7 13:28:06 2010
@@ -0,0 +1,62 @@
+/** 
+  * 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.dosgi.samples.greeter.impl;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.apache.cxf.dosgi.samples.greeter.GreeterData;
+import org.apache.cxf.dosgi.samples.greeter.GreeterException;
+import org.apache.cxf.dosgi.samples.greeter.GreeterService;
+import org.apache.cxf.dosgi.samples.greeter.GreetingPhrase;
+
+public class GreeterServiceImpl implements GreeterService {
+    public Map<GreetingPhrase, String> greetMe(String name) {
+        System.out.println("Invoking: greetMe(" + name + ")");
+        
+        Map<GreetingPhrase, String> greetings = 
+            new HashMap<GreetingPhrase, String>();
+        
+        greetings.put(new GreetingPhrase("Hello"), name);
+        greetings.put(new GreetingPhrase("Hoi"), name);
+        greetings.put(new GreetingPhrase("Hola"), name);
+        greetings.put(new GreetingPhrase("Bonjour"), name);
+        
+        
+        return greetings;
+    }
+
+    public GreetingPhrase [] greetMe(GreeterData gd) throws GreeterException {
+        if (gd.isException()) {
+            System.out.println("Throwing custom exception from: greetMe(" + gd.getName() + ")");
+            throw new GreeterException(gd.getName());
+        }
+        
+        String details = gd.getName() + "(" + gd.getAge() + ")";
+        System.out.println("Invoking: greetMe(" + details + ")");
+        
+        GreetingPhrase [] greetings = new GreetingPhrase [] {
+            new GreetingPhrase("Howdy " + details),
+            new GreetingPhrase("Hallo " + details),
+            new GreetingPhrase("Ni hao " + details)
+        };
+        
+        return greetings;
+    }
+}

Modified: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-info-enhancer/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-info-enhancer/pom.xml?rev=1032274&r1=1032273&r2=1032274&view=diff
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-info-enhancer/pom.xml (original)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-info-enhancer/pom.xml Sun Nov  7 13:28:06 2010
@@ -32,6 +32,17 @@
 			<groupId>${pom.groupId}</groupId>
 			<artifactId>org.apache.aries.samples.dgoat.web</artifactId>
 		</dependency>
+		<dependency>
+		            <groupId>org.apache.felix</groupId>
+		            <artifactId>org.apache.felix.framework</artifactId>
+		            <version>3.0.3</version>
+		            <exclusions>
+		                    <exclusion>
+		                          <groupId>org.apache.felix</groupId>
+		                          <artifactId>org.osgi.foundation</artifactId>
+		                    </exclusion>
+		            </exclusions>
+	 </dependency>
 	</dependencies>
 
 
@@ -50,9 +61,10 @@
 				<configuration>
 					<instructions>
 						<Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
-						<Remote-Service>OSGI-INF/remote-service</Remote-Service>
+						<Remote-Service>OSGI-INF/remote-service/remote-services.xml</Remote-Service>
 						<Private-Package>org.apache.aries.samples.goat.enhancer.*</Private-Package> 
 						<Export-Package>!org.apache.aries.samples.goat.enhancer.*</Export-Package> 
+						<DynamicImport-Package>org.apache.cxf.dosgi.dsw.qos,org.apache.cxf</DynamicImport-Package>
 					</instructions>
 				</configuration>
 			</plugin>

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-info-enhancer/src/main/resources/OSGI-INF/remote-service/remote-services.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-info-enhancer/src/main/resources/OSGI-INF/remote-service/remote-services.xml?rev=1032274&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-info-enhancer/src/main/resources/OSGI-INF/remote-service/remote-services.xml (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-info-enhancer/src/main/resources/OSGI-INF/remote-service/remote-services.xml Sun Nov  7 13:28:06 2010
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<endpoint-descriptions xmlns="http://www.osgi.org/xmlns/rsa/v1.0.0">
+  <endpoint-description>
+    <property name="objectClass">
+      <array>
+        <value>org.apache.aries.samples.goat.api.ModelInfoService</value>
+      </array>
+    </property>
+    <property name="endpoint.id">http://localhost:9191/bundlectx</property>
+    <property name="service.imported.configs">org.apache.cxf.ws</property>
+  </endpoint-description>
+</endpoint-descriptions>

Modified: incubator/aries/trunk/samples-sandbox/dgoat/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/pom.xml?rev=1032274&r1=1032273&r2=1032274&view=diff
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/pom.xml (original)
+++ incubator/aries/trunk/samples-sandbox/dgoat/pom.xml Sun Nov  7 13:28:06 2010
@@ -66,6 +66,21 @@
                 <artifactId>org.apache.aries.samples.dgoat.info.enhancer</artifactId>
                 <version>${version}</version>
             </dependency>
+            <dependency>
+                <groupId>org.apache.aries.samples.dgoat.cxf-api</groupId>
+                <artifactId>cxf-api</artifactId>
+                <version>${version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.aries.samples.dgoat.cxf-client</groupId>
+                <artifactId>cxf-client</artifactId>
+                <version>${version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.aries.samples.dgoat.cxf-server</groupId>
+                <artifactId>cxf-server</artifactId>
+                <version>${version}</version>
+            </dependency>
         </dependencies>
     </dependencyManagement>
 
@@ -79,6 +94,9 @@
         <module>dgoat-eba</module> 
         <module>dgoat-bundlecontext-modelprovider</module>
         <module>dgoat-info-enhancer</module>
+        <module>dgoat-cxf-sample-api</module>
+        <module>dgoat-cxf-sample-cli</module>
+        <module>dgoat-cxf-sample-server</module>
     </modules>
 
 </project>



Mime
View raw message