You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by da...@apache.org on 2006/08/03 19:02:45 UTC

svn commit: r428452 [2/4] - in /webservices/muse/trunk/samples/eclipse-osgi: ./ muse/ plugins/ plugins/configuration/ plugins/configuration/org.eclipse.osgi/ plugins/configuration/org.eclipse.osgi/.manager/ plugins/muse-external-dependencies/ plugins/m...

Added: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/lib/wstx-asl-2.9.3.jar
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/lib/wstx-asl-2.9.3.jar?rev=428452&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/lib/wstx-asl-2.9.3.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/org/eclipse/corona/soa/provider/axis2/Activator.class
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/org/eclipse/corona/soa/provider/axis2/Activator.class?rev=428452&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/org/eclipse/corona/soa/provider/axis2/Activator.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/org/eclipse/corona/soa/provider/axis2/AdminService.class
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/org/eclipse/corona/soa/provider/axis2/AdminService.class?rev=428452&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/org/eclipse/corona/soa/provider/axis2/AdminService.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/org/eclipse/corona/soa/provider/axis2/internal/AdminServiceImpl.class
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/org/eclipse/corona/soa/provider/axis2/internal/AdminServiceImpl.class?rev=428452&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/org/eclipse/corona/soa/provider/axis2/internal/AdminServiceImpl.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/org/eclipse/corona/soa/provider/axis2/internal/BundleConfigurator.class
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/org/eclipse/corona/soa/provider/axis2/internal/BundleConfigurator.class?rev=428452&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/org/eclipse/corona/soa/provider/axis2/internal/BundleConfigurator.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/org/eclipse/corona/soa/provider/axis2/internal/ServicesServlet.class
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/org/eclipse/corona/soa/provider/axis2/internal/ServicesServlet.class?rev=428452&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/org/eclipse/corona/soa/provider/axis2/internal/ServicesServlet.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/org/eclipse/corona/soa/provider/axis2/internal/handler/OSGiRawXMLInOutMessageReceiver.class
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/org/eclipse/corona/soa/provider/axis2/internal/handler/OSGiRawXMLInOutMessageReceiver.class?rev=428452&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.corona.soa.provider.Axis2/org/eclipse/corona/soa/provider/axis2/internal/handler/OSGiRawXMLInOutMessageReceiver.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.equinox.http_1.0.0.v20060601a.jar
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.equinox.http_1.0.0.v20060601a.jar?rev=428452&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.equinox.http_1.0.0.v20060601a.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.equinox.servlet.api_1.0.0.v20060601.jar
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.equinox.servlet.api_1.0.0.v20060601.jar?rev=428452&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.equinox.servlet.api_1.0.0.v20060601.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.osgi.services_3.1.100.v20060601.jar
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.osgi.services_3.1.100.v20060601.jar?rev=428452&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.osgi.services_3.1.100.v20060601.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.osgi.util_3.1.100.v20060601.jar
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.osgi.util_3.1.100.v20060601.jar?rev=428452&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.osgi.util_3.1.100.v20060601.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.osgi_3.2.0.v20060601.jar
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.osgi_3.2.0.v20060601.jar?rev=428452&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/muse/trunk/samples/eclipse-osgi/plugins/org.eclipse.osgi_3.2.0.v20060601.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/config.ini
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/config.ini?rev=428452&view=auto
==============================================================================
--- webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/config.ini (added)
+++ webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/config.ini Thu Aug  3 10:02:36 2006
@@ -0,0 +1,13 @@
+#Configuration File
+#Mon Jul 31 11:25:35 EDT 2006
+osgi.noShutdown=true
+#osgi.bundles=reference\:file\:../../plugins/org.apache.xerces_2.8.0.v200606131651@start,reference\:file\../../muse/muse-core@start,reference\:file\:../../muse/muse-wsa-soap@start,reference\:file\:../../muse/muse-util-all@start,reference\:file\:../../muse/muse-wsrf-api@start,reference\:file\:../../muse/muse-wsrf-impl@start,reference\:file\:../../muse/muse-wsx-api@start,reference\:file\:../../muse/muse-wsx-impl@start,reference\:file\:../../muse/muse-osgi-core-2.0.0-M2-SNAPSHOT.jar@start,reference\:file\:../../muse/muse-osgi-soa-axis-2.0.0-M2-SNAPSHOT.jar2@start,reference\:file\:../../muse/muse-osgi-soa-core-2.0.0-M2-SNAPSHOT.jar@start,reference\:file\:../../muse/muse-external-dependencies@start,reference\:file\:../../muse/muse-wsrf-rmd@start,reference\:file\:C\:/sbin/eclipse/Callisto/eclipse/plugins/org.apache.xerces_2.8.0.v200606131651@start,reference\:file\:../../muse/org.eclipse.corona.soa.provider.Axis2@start,reference\:file\:C\:/sbin/eclipse/Callisto/eclipse/plugins/org.
 eclipse.equinox.http_1.0.0.v20060601a.jar@start,reference\:file\:C\:/sbin/eclipse/Callisto/eclipse/plugins/org.eclipse.equinox.servlet.api_1.0.0.v20060601.jar@start,reference\:file\:C\:/sbin/eclipse/Callisto/eclipse/plugins/org.eclipse.osgi.services_3.1.100.v20060601.jar@start,reference\:file\:../../muse/test.muse.osgi.wsrf@start
+#### RELATIVE locations are relative to framework location
+#### CORE STARTUP osgi.bundles=reference\:file\:../muse/muse-util-all@start,reference\:file\:../muse/muse-wsa-soap@start,reference\:file\:../muse/muse-core@start,reference\:file\:../muse/muse-osgi-core-2.0.0-M2-SNAPSHOT.jar@start,reference\:file\:../muse/muse-osgi-soa-core-2.0.0-M2-SNAPSHOT.jar@start,reference\:file\:../muse/muse-osgi-soa-axis2@start,reference\:file\:./org.apache.xerces_2.8.0.v200606131651@start,reference\:file\:./org.eclipse.equinox.servlet.api_1.0.0.v20060601.jar@start,reference\:file\:./org.eclipse.equinox.http_1.0.0.v20060601a.jar@start,reference\:file\:./org.eclipse.osgi.services_3.1.100.v20060601.jar@start,reference\:file\:./muse-external-dependencies@start,reference\:file\:./org.eclipse.corona.soa.provider.Axis2@start
+osgi.bundles=reference\:file\:../muse/muse-util-all@start,reference\:file\:../muse/muse-wsa-soap@start,reference\:file\:../muse/muse-core@start,reference\:file\:../muse/muse-osgi-core-2.0.0-M2-SNAPSHOT.jar@start,reference\:file\:../muse/muse-osgi-soa-core-2.0.0-M2-SNAPSHOT.jar@start,reference\:file\:../muse/muse-osgi-soa-axis2@start,reference\:file\:./org.apache.xerces_2.8.0.v200606131651@start,reference\:file\:./org.eclipse.equinox.servlet.api_1.0.0.v20060601.jar@start,reference\:file\:./org.eclipse.equinox.http_1.0.0.v20060601a.jar@start,reference\:file\:./org.eclipse.osgi.services_3.1.100.v20060601.jar@start,reference\:file\:./muse-external-dependencies@start,reference\:file\:./org.eclipse.corona.soa.provider.Axis2@start,reference\:file\:../muse/muse-wsrf-api@start,reference\:file\:../muse/muse-wsrf-impl@start,reference\:file\:../muse/muse-wsx-api@start,reference\:file\:../muse/muse-wsx-impl@start,reference\:file\:../samples/wsrf/plugins/test.muse.osgi.wsrf@start
+osgi.bundles.defaultStartLevel=4
+osgi.install.area=file\:C\:\\workspaces\\muse_svn\\muse_trunk\\samples\\equinox
+osgi.instance.area=file\:C\:\\workspaces/muse_svn/muse_trunk/samples/equinox/samples/wsrf
+osgi.framework=file\:C\:/workspaces/muse_svn/muse_trunk/samples/equinox/plugins/org.eclipse.osgi_3.2.0.v20060601.jar
+osgi.configuration.cascaded=false
+eclipse.ignoreApp=true

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/org.eclipse.osgi/bundles/16/data/router-entries/ServiceGroup/resource-instance-1.xml
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/org.eclipse.osgi/bundles/16/data/router-entries/ServiceGroup/resource-instance-1.xml?rev=428452&view=auto
==============================================================================
--- webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/org.eclipse.osgi/bundles/16/data/router-entries/ServiceGroup/resource-instance-1.xml (added)
+++ webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/org.eclipse.osgi/bundles/16/data/router-entries/ServiceGroup/resource-instance-1.xml Thu Aug  3 10:02:36 2006
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
+    <wsa:Address>http://localhost:8080/wsrf/services/ServiceGroup</wsa:Address>
+    <wsa:ReferenceParameters>
+        <muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apache.org/muse/addressing">MuseResource-1</muse-wsa:ResourceId>
+    </wsa:ReferenceParameters>
+</wsa:EndpointReference>

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/org.eclipse.osgi/bundles/16/data/router-entries/WsResourceFactory/resource-instance-2.xml
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/org.eclipse.osgi/bundles/16/data/router-entries/WsResourceFactory/resource-instance-2.xml?rev=428452&view=auto
==============================================================================
--- webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/org.eclipse.osgi/bundles/16/data/router-entries/WsResourceFactory/resource-instance-2.xml (added)
+++ webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/org.eclipse.osgi/bundles/16/data/router-entries/WsResourceFactory/resource-instance-2.xml Thu Aug  3 10:02:36 2006
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
+    <wsa:Address>http://localhost:8080/wsrf/services/WsResourceFactory</wsa:Address>
+    <wsa:ReferenceParameters>
+        <muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apache.org/muse/addressing">MuseResource-1</muse-wsa:ResourceId>
+    </wsa:ReferenceParameters>
+</wsa:EndpointReference>

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/META-INF/MANIFEST.MF?rev=428452&view=auto
==============================================================================
--- webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/META-INF/MANIFEST.MF (added)
+++ webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/META-INF/MANIFEST.MF Thu Aug  3 10:02:36 2006
@@ -0,0 +1,18 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: OSGi Deployment of WSRF Sample Project
+Bundle-SymbolicName: test.muse.osgi.wsrf
+Bundle-Version: 1.0.0
+Bundle-Activator: test.muse.osgi.wsrf.Activator
+Bundle-Localization: plugin
+Import-Package: org.osgi.framework;version="1.3.0"
+Bundle-Classpath: .,
+ bin
+Require-Bundle: muse.core,
+ muse.util.all,
+ muse.wsa.soap,
+ muse.wsrf.api,
+ muse.wsrf.impl,
+ muse.osgi.core
+MUSE-CONFIG: OSGI-INF/muse.xml
+MUSE-CONTEXT: wsrf

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/OSGI-INF/muse.xml
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/OSGI-INF/muse.xml?rev=428452&view=auto
==============================================================================
--- webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/OSGI-INF/muse.xml (added)
+++ webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/OSGI-INF/muse.xml Thu Aug  3 10:02:36 2006
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<muse xmlns="http://ws.apache.org/muse/descriptor" 
+      xmlns:wsrf-sgw="http://docs.oasis-open.org/wsrf/sgw-2" 
+      xmlns:test="http://ws.apache.org/muse/test/wsrf" 
+      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+      xsi:schemaLocation="http://ws.apache.org/muse/descriptor muse-descriptor.xsd">
+	<router>
+		<java-router-class>org.apache.muse.core.routing.SimpleResourceRouter</java-router-class>
+		<logging>
+			<log-file>log/muse.log</log-file>
+			<log-level>FINE</log-level>
+		</logging>
+		<persistence>
+			<java-persistence-class>org.apache.muse.core.routing.RouterFilePersistence</java-persistence-class>
+			<persistence-location>router-entries</persistence-location>
+		</persistence>
+	</router>
+	<resource-type>
+		<context-path>WsResourceFactory</context-path>
+		<wsdl>
+			<wsdl-file>/wsdl/WsResourceFactory.wsdl</wsdl-file>
+			<wsdl-port-type>test:WsResourceFactoryPortType</wsdl-port-type>
+		</wsdl>
+		<java-id-factory-class>org.apache.muse.core.routing.RandomResourceIdFactory</java-id-factory-class>
+		<java-resource-class>org.apache.muse.core.SimpleResource</java-resource-class>
+		<capability>
+			<capability-uri>http://ws.apache.org/muse/test/wsrf/MyFactory</capability-uri>
+			<java-capability-class>org.apache.muse.test.wsrf.MyFactoryImpl</java-capability-class>
+		</capability>
+	</resource-type>
+	<resource-type>
+		<context-path>WsResource</context-path>
+		<wsdl>
+			<wsdl-file>/wsdl/WsResource.wsdl</wsdl-file>
+			<wsdl-port-type>test:WsResourcePortType</wsdl-port-type>
+		</wsdl>
+		<java-id-factory-class>org.apache.muse.core.routing.RandomResourceIdFactory</java-id-factory-class>
+		<java-resource-class>org.apache.muse.ws.resource.impl.SimpleWsResource</java-resource-class>
+		<capability>
+			<capability-uri>http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata</capability-uri>
+			<java-capability-class>org.apache.muse.ws.metadata.impl.SimpleMetadataExchange</java-capability-class>
+		</capability>
+		<capability>
+			<capability-uri>http://docs.oasis-open.org/wsrf/rlw-2/ImmediateResourceTermination</capability-uri>
+			<java-capability-class>org.apache.muse.ws.resource.lifetime.impl.SimpleImmediateTermination</java-capability-class>
+		</capability>
+		<capability>
+			<capability-uri>http://docs.oasis-open.org/wsrf/rlw-2/ScheduledResourceTermination</capability-uri>
+			<java-capability-class>org.apache.muse.ws.resource.lifetime.impl.SimpleScheduledTermination</java-capability-class>
+		</capability>
+		<capability>
+			<capability-uri>http://docs.oasis-open.org/wsrf/rpw-2/Get</capability-uri>
+			<java-capability-class>org.apache.muse.ws.resource.properties.get.impl.SimpleGetCapability</java-capability-class>
+		</capability>
+		<capability>
+			<capability-uri>http://docs.oasis-open.org/wsrf/rpw-2/Query</capability-uri>
+			<java-capability-class>org.apache.muse.ws.resource.properties.query.impl.SimpleQueryCapability</java-capability-class>
+		</capability>
+		<capability>
+			<capability-uri>http://docs.oasis-open.org/wsrf/rpw-2/Set</capability-uri>
+			<java-capability-class>org.apache.muse.ws.resource.properties.set.impl.SimpleSetCapability</java-capability-class>
+		</capability>
+		<capability>
+			<capability-uri>http://ws.apache.org/muse/test/wsrf/MyCapability</capability-uri>
+			<java-capability-class>org.apache.muse.test.wsrf.MyCapabilityImpl</java-capability-class>
+		</capability>
+	</resource-type>
+	<resource-type>
+		<context-path>ServiceGroupEntry</context-path>
+		<wsdl>
+			<wsdl-file>/wsdl/WS-ServiceGroupEntry-1_2.wsdl</wsdl-file>
+			<wsdl-port-type>wsrf-sgw:ServiceGroupEntryPortType</wsdl-port-type>
+		</wsdl>
+		<java-id-factory-class>org.apache.muse.core.routing.RandomResourceIdFactory</java-id-factory-class>
+		<java-resource-class>org.apache.muse.ws.resource.impl.SimpleWsResource</java-resource-class>
+		<capability>
+			<capability-uri>http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata</capability-uri>
+			<java-capability-class>org.apache.muse.ws.metadata.impl.SimpleMetadataExchange</java-capability-class>
+		</capability>
+		<capability>
+			<capability-uri>http://docs.oasis-open.org/wsrf/rpw-2/Get</capability-uri>
+			<java-capability-class>org.apache.muse.ws.resource.properties.get.impl.SimpleGetCapability</java-capability-class>
+		</capability>
+		<capability>
+			<capability-uri>http://docs.oasis-open.org/wsrf/sgw-2/ServiceGroupEntry</capability-uri>
+			<java-capability-class>org.apache.muse.ws.resource.sg.impl.SimpleEntry</java-capability-class>
+		</capability>
+		<init-param>
+			<param-name>validate-wsrp-schema</param-name>
+			<param-value>false</param-value>
+		</init-param>
+	</resource-type>
+	<resource-type>
+		<context-path>ServiceGroup</context-path>
+		<wsdl>
+			<wsdl-file>/wsdl/WS-ServiceGroup-1_2.wsdl</wsdl-file>
+			<wsdl-port-type>wsrf-sgw:ServiceGroupPortType</wsdl-port-type>
+		</wsdl>
+		<java-id-factory-class>org.apache.muse.core.routing.CounterResourceIdFactory</java-id-factory-class>
+		<java-resource-class>org.apache.muse.ws.resource.impl.SimpleWsResource</java-resource-class>
+		<capability>
+			<capability-uri>http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata</capability-uri>
+			<java-capability-class>org.apache.muse.ws.metadata.impl.SimpleMetadataExchange</java-capability-class>
+		</capability>
+		<capability>
+			<capability-uri>http://docs.oasis-open.org/wsrf/rpw-2/Get</capability-uri>
+			<java-capability-class>org.apache.muse.ws.resource.properties.get.impl.SimpleGetCapability</java-capability-class>
+		</capability>
+		<capability>
+			<capability-uri>http://docs.oasis-open.org/wsrf/rpw-2/Query</capability-uri>
+			<java-capability-class>org.apache.muse.ws.resource.properties.query.impl.SimpleQueryCapability</java-capability-class>
+		</capability>
+		<capability>
+			<capability-uri>http://docs.oasis-open.org/wsrf/sgw-2/ServiceGroup</capability-uri>
+			<java-capability-class>org.apache.muse.ws.resource.sg.impl.SimpleServiceGroup</java-capability-class>
+			<persistence>
+				<java-persistence-class>org.apache.muse.ws.resource.sg.impl.ServiceGroupFilePersistence</java-persistence-class>
+				<persistence-location>service-group-entries</persistence-location>
+			</persistence>
+		</capability>
+	</resource-type>
+</muse>

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/org/apache/muse/test/wsrf/MyCapability.class
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/org/apache/muse/test/wsrf/MyCapability.class?rev=428452&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/org/apache/muse/test/wsrf/MyCapability.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/org/apache/muse/test/wsrf/MyCapabilityImpl.class
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/org/apache/muse/test/wsrf/MyCapabilityImpl.class?rev=428452&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/org/apache/muse/test/wsrf/MyCapabilityImpl.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/org/apache/muse/test/wsrf/MyFactory.class
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/org/apache/muse/test/wsrf/MyFactory.class?rev=428452&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/org/apache/muse/test/wsrf/MyFactory.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/org/apache/muse/test/wsrf/MyFactoryImpl$1.class
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/org/apache/muse/test/wsrf/MyFactoryImpl%241.class?rev=428452&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/org/apache/muse/test/wsrf/MyFactoryImpl$1.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/org/apache/muse/test/wsrf/MyFactoryImpl.class
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/org/apache/muse/test/wsrf/MyFactoryImpl.class?rev=428452&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/org/apache/muse/test/wsrf/MyFactoryImpl.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/org/apache/muse/test/wsrf/WsrfTestClient.class
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/org/apache/muse/test/wsrf/WsrfTestClient.class?rev=428452&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/org/apache/muse/test/wsrf/WsrfTestClient.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/test/muse/osgi/wsrf/Activator.class
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/test/muse/osgi/wsrf/Activator.class?rev=428452&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/bin/test/muse/osgi/wsrf/Activator.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/org/apache/muse/test/wsrf/MyCapability.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/org/apache/muse/test/wsrf/MyCapability.java?rev=428452&view=auto
==============================================================================
--- webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/org/apache/muse/test/wsrf/MyCapability.java (added)
+++ webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/org/apache/muse/test/wsrf/MyCapability.java Thu Aug  3 10:02:36 2006
@@ -0,0 +1,28 @@
+/*=============================================================================*
+ *  Copyright 2006 The Apache Software Foundation
+ *
+ *  Licensed 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.muse.test.wsrf;
+
+import org.apache.muse.ws.resource.WsResourceCapability;
+
+public interface MyCapability extends WsResourceCapability
+{
+    String NAMESPACE_URI = "http://ws.apache.org/muse/test/wsrf";
+    
+    String PREFIX = "myns";
+    
+    String[] getMyProperty();
+}

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/org/apache/muse/test/wsrf/MyCapabilityImpl.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/org/apache/muse/test/wsrf/MyCapabilityImpl.java?rev=428452&view=auto
==============================================================================
--- webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/org/apache/muse/test/wsrf/MyCapabilityImpl.java (added)
+++ webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/org/apache/muse/test/wsrf/MyCapabilityImpl.java Thu Aug  3 10:02:36 2006
@@ -0,0 +1,46 @@
+/*=============================================================================*
+ *  Copyright 2006 The Apache Software Foundation
+ *
+ *  Licensed 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.muse.test.wsrf;
+
+import javax.xml.namespace.QName;
+
+import org.apache.muse.ws.resource.impl.AbstractWsResourceCapability;
+
+public class MyCapabilityImpl 
+    extends AbstractWsResourceCapability implements MyCapability
+{
+    private static final QName[] _PROPERTIES = new QName[]{
+        new QName(NAMESPACE_URI, "MyProperty", PREFIX)
+    };
+    
+    private String[] _myProperty = null;
+    
+    public QName[] getPropertyNames()
+    {
+        return _PROPERTIES;
+    }
+    
+    public String[] getMyProperty()
+    {
+        return _myProperty;
+    }
+    
+    public void setMyProperty(String[] myProperty)
+    {
+        _myProperty = myProperty;
+    }
+}

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/org/apache/muse/test/wsrf/MyFactory.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/org/apache/muse/test/wsrf/MyFactory.java?rev=428452&view=auto
==============================================================================
--- webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/org/apache/muse/test/wsrf/MyFactory.java (added)
+++ webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/org/apache/muse/test/wsrf/MyFactory.java Thu Aug  3 10:02:36 2006
@@ -0,0 +1,24 @@
+/*=============================================================================*
+ *  Copyright 2006 The Apache Software Foundation
+ *
+ *  Licensed 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.muse.test.wsrf;
+
+import org.apache.muse.core.Capability;
+
+public interface MyFactory extends Capability
+{
+
+}

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/org/apache/muse/test/wsrf/MyFactoryImpl.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/org/apache/muse/test/wsrf/MyFactoryImpl.java?rev=428452&view=auto
==============================================================================
--- webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/org/apache/muse/test/wsrf/MyFactoryImpl.java (added)
+++ webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/org/apache/muse/test/wsrf/MyFactoryImpl.java Thu Aug  3 10:02:36 2006
@@ -0,0 +1,55 @@
+/*=============================================================================*
+ *  Copyright 2006 The Apache Software Foundation
+ *
+ *  Licensed 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.muse.test.wsrf;
+
+import org.apache.muse.core.AbstractCapability;
+import org.apache.muse.core.Resource;
+import org.apache.muse.core.ResourceManager;
+import org.apache.muse.ws.addressing.soap.SoapFault;
+
+public class MyFactoryImpl extends AbstractCapability implements MyFactory
+{
+    public void initializeCompleted() 
+        throws SoapFault
+    {
+        super.initializeCompleted();
+        
+        Thread resourceCreationThread = new Thread(){
+            public void run()
+            {
+                ResourceManager manager = getResource().getResourceManager();
+                
+                try
+                {
+                    while (true)
+                    {
+                        Thread.currentThread().sleep(7000);
+                        Resource next = manager.createResource("WsResource");
+                        next.initialize();
+                        manager.addResource(next.getEndpointReference(), next);
+                    }
+                }
+                
+                catch (Throwable error)
+                {
+                    error.printStackTrace();
+                }
+            }            
+        };
+        resourceCreationThread.start();        
+    }
+}

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/org/apache/muse/test/wsrf/WsrfTestClient.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/org/apache/muse/test/wsrf/WsrfTestClient.java?rev=428452&view=auto
==============================================================================
--- webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/org/apache/muse/test/wsrf/WsrfTestClient.java (added)
+++ webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/org/apache/muse/test/wsrf/WsrfTestClient.java Thu Aug  3 10:02:36 2006
@@ -0,0 +1,233 @@
+/*=============================================================================*
+ *  Copyright 2006 The Apache Software Foundation
+ *
+ *  Licensed 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.muse.test.wsrf;
+
+import java.net.InetAddress;
+import java.net.URI;
+import java.net.UnknownHostException;
+import java.util.Date;
+
+import javax.xml.namespace.QName;
+
+import org.apache.muse.core.routing.ResourceIdFactory;
+import org.apache.muse.core.routing.CounterResourceIdFactory;
+import org.apache.muse.util.xml.XPathUtils;
+import org.apache.muse.ws.addressing.EndpointReference;
+import org.apache.muse.ws.resource.lifetime.WsrlConstants;
+import org.apache.muse.ws.resource.remote.WsResourceClient;
+import org.apache.muse.ws.resource.sg.remote.ServiceGroupClient;
+
+/**
+ * 
+ * WsrfTestClient is a simple exercise all of the WSRF specs and 
+ * capabilities. It is not a comprehensive unit test, it is only 
+ * meant to show that the WSRF capabilities are stable and that 
+ * the WSRF-using application is deployed correctly. You can 
+ * comment out any of the sub-tests in order to make the output 
+ * more readable.
+ *
+ * @author Dan Jemiolo (danjemiolo)
+ *
+ */
+
+public class WsrfTestClient
+{
+    public static void addReferenceParameter(EndpointReference epr)
+    {
+        ResourceIdFactory factory = new CounterResourceIdFactory();
+        QName name = factory.getIdentifierName();
+        String value = factory.getNextIdentifier();
+        epr.addParameter(name, value);
+    }
+    
+    public static URI getLocalAddress(String contextPath, int port) 
+        throws UnknownHostException
+    {
+        String ip = InetAddress.getLocalHost().getHostAddress();
+        
+        StringBuffer address = new StringBuffer();
+        address.append("http://");
+        address.append(ip);
+        address.append(':');
+        address.append(port);
+        
+        if (contextPath.charAt(0) != '/')
+            address.append('/');
+            
+        address.append(contextPath);
+        
+        return URI.create(address.toString());
+    }
+    
+    public static void destroy(WsResourceClient client) 
+        throws Exception
+    {
+        client.destroy();
+    }
+    
+    public static void setTerminationTime(WsResourceClient client) 
+        throws Exception
+    {
+        Date now = new Date();
+        long future = now.getTime() + 10000;
+        client.setTerminationTime(new Date(future));
+    }
+    
+    public static void getResourceProperty(WsResourceClient client) 
+        throws Exception
+    {
+        client.getPropertyAsObject(WsrlConstants.CURRENT_TIME_QNAME, Date.class);
+    }
+    
+    public static void getResourcePropertyDocument(WsResourceClient client)
+        throws Exception
+    {
+        client.getResourcePropertyDocument();
+    }
+    
+    public static void getMultipleResourceProperties(WsResourceClient client) 
+        throws Exception
+    {
+        QName[] names = new QName[]{
+            WsrlConstants.CURRENT_TIME_QNAME, WsrlConstants.TERMINATION_TIME_QNAME 
+        };
+        client.getMultipleResourceProperties(names);
+    }
+    
+    public static void queryResourceProperties(WsResourceClient client)
+        throws Exception
+    {
+        String query = "/*/*";
+        String dialect = XPathUtils.NAMESPACE_URI;
+        client.queryResourceProperties(query, dialect);
+    }
+    
+    public static void setResourceProperties(WsResourceClient client)
+        throws Exception
+    {
+        QName name = new QName("http://ws.apache.org/muse/test/wsrf", "MyProperty", "tns");
+        
+        Object[] values = new Object[]{ "Hello!", "Goodbye!" };
+        client.insertResourceProperty(name, values);
+        
+        String query = "/*/tns:MyProperty";
+        String dialect = XPathUtils.NAMESPACE_URI;
+        client.queryResourceProperties(query, dialect);
+        
+        values = new Object[]{ "Hola!", "Adios!" };
+        client.updateResourceProperty(name, values);
+        
+        client.queryResourceProperties(query, dialect);
+        
+        client.deleteResourceProperty(name);
+
+        client.getResourceProperty(name);
+    }
+    
+    public static void main(String[] args)
+    {
+        try
+        {
+            //
+            // change these to point to different applications/servers
+            //
+            String webAppRoot = "/test-wsrf/services";
+            int port = 8080;
+                        
+            //
+            // test WSSG directory
+            //
+            
+            String contextPath = webAppRoot + "/ServiceGroup";
+            
+            URI address = getLocalAddress(contextPath, port);
+            EndpointReference epr = new EndpointReference(address);
+            
+            addReferenceParameter(epr);
+            
+            ServiceGroupClient sg = new ServiceGroupClient(epr);
+            
+            //
+            // ping SG, wait a few seconds, then check for members 
+            // that were added by the simulation factory
+            //
+            /*
+            System.out.println("Pinging Muse to initialize the endpoint...");
+            sg.getResourcePropertyDocument();
+            System.out.println("Waiting 10 seconds while simulation creates WS-resources...");
+            Thread.currentThread().sleep(10000);
+            System.out.println("Done waiting - reading service group entries...");
+            */
+            //
+            // turn on tracing of SOAP messages
+            //
+            sg.setTrace(true);
+            
+            WsResourceClient[] members = sg.getMembers();
+            
+            System.out.println("Addresses of each service group entry:\n");
+            
+            for (int n = 0; n < members.length; ++n)
+                System.out.println(members[n].getEndpointReference().getAddress());
+            
+            //
+            // no ws-resources to test
+            //
+            if (members.length == 0)
+                System.exit(0);
+
+            //
+            // test first WsResource we find
+            //
+            WsResourceClient client = null;
+            
+            for (int n = 0; n < members.length && client == null; ++n)
+                if (members[n].getEndpointReference().getAddress().toString().endsWith("WsResource"))
+                    client = members[n];
+            
+            client.setTrace(true);
+            
+            //
+            // test WSRL operations
+            //
+            //destroy(client);
+            //setTerminationTime(client);
+            
+            //
+            // test WSRP read operations
+            //
+            getResourceProperty(client); 
+            getMultipleResourceProperties(client);
+            getResourcePropertyDocument(client);
+                        
+            //
+            // test WSRP query operation
+            //
+            queryResourceProperties(client);
+            
+            //
+            // test WSRP write operation
+            //
+            setResourceProperties(client);
+        }
+        
+        catch (Throwable error)
+        {
+            error.printStackTrace();
+        }
+    }
+}

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/test/muse/osgi/wsrf/Activator.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/test/muse/osgi/wsrf/Activator.java?rev=428452&view=auto
==============================================================================
--- webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/test/muse/osgi/wsrf/Activator.java (added)
+++ webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/src/test/muse/osgi/wsrf/Activator.java Thu Aug  3 10:02:36 2006
@@ -0,0 +1,21 @@
+package test.muse.osgi.wsrf;
+
+import org.apache.muse.core.platform.osgi.util.BundleRootHelper;
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+
+import java.io.File;
+import java.util.Hashtable;
+
+public class Activator implements BundleActivator {
+
+	public void start(BundleContext context) throws Exception {
+		File root = context.getDataFile(".");
+		System.out.println(root.getCanonicalPath());
+		BundleRootHelper.registerRoot(context.getBundle(), root);
+	}
+
+	public void stop(BundleContext context) throws Exception {
+	}
+
+}

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/SOAP-Envelope-1_2.xsd
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/SOAP-Envelope-1_2.xsd?rev=428452&view=auto
==============================================================================
--- webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/SOAP-Envelope-1_2.xsd (added)
+++ webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/SOAP-Envelope-1_2.xsd Thu Aug  3 10:02:36 2006
@@ -0,0 +1,160 @@
+<?xml version="1.0"?>
+
+<!-- Schema defined in the SOAP Version 1.2 Part 1 specification
+     Proposed Recommendation:
+     http://www.w3.org/TR/2003/PR-soap12-part1-20030507/
+     $Id: SOAP-Envelope-1_2.xsd,v 1.1 2006/05/07 19:09:15 danjemiolo Exp $
+
+     Copyright (C)2003 W3C(R) (MIT, ERCIM, Keio), All Rights Reserved.
+     W3C viability, trademark, document use and software licensing rules
+     apply.
+     http://www.w3.org/Consortium/Legal/
+
+     This document is governed by the W3C Software License [1] as
+     described in the FAQ [2].
+
+     [1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
+     [2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
+-->
+
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+  xmlns:tns="http://www.w3.org/2003/05/soap-envelope"
+  targetNamespace="http://www.w3.org/2003/05/soap-envelope"
+  elementFormDefault="qualified">
+
+  <xs:import namespace="http://www.w3.org/XML/1998/namespace" 
+             schemaLocation="XML-Namespace-1998.xsd"/>
+
+  <!-- Envelope, header and body -->
+  <xs:element name="Envelope" type="tns:Envelope"/>
+  <xs:complexType name="Envelope">
+    <xs:sequence>
+      <xs:element ref="tns:Header" minOccurs="0"/>
+      <xs:element ref="tns:Body" minOccurs="1"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+
+  <xs:element name="Header" type="tns:Header"/>
+  <xs:complexType name="Header">
+    <xs:annotation>
+      <xs:documentation>
+	  Elements replacing the wildcard MUST be namespace qualified, but can be in the targetNamespace
+      </xs:documentation>
+    </xs:annotation>
+    <xs:sequence>
+      <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+
+  <xs:element name="Body" type="tns:Body"/>
+  <xs:complexType name="Body">
+    <xs:sequence>
+      <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+
+  <!-- Global Attributes.  The following attributes are intended to be
+  usable via qualified attribute names on any complex type referencing
+  them.  -->
+  <xs:attribute name="mustUnderstand" type="xs:boolean" default="0"/>
+  <xs:attribute name="relay" type="xs:boolean" default="0"/>
+  <xs:attribute name="role" type="xs:anyURI"/>
+
+  <!-- 'encodingStyle' indicates any canonicalization conventions
+  followed in the contents of the containing element.  For example, the
+  value 'http://www.w3.org/2003/05/soap-encoding' indicates the pattern
+  described in the last call working draft of SOAP Version 1.2 Part 2:
+  Adjuncts -->
+
+  <xs:attribute name="encodingStyle" type="xs:anyURI"/>
+
+  <xs:element name="Fault" type="tns:Fault"/>
+  <xs:complexType name="Fault" final="extension">
+    <xs:annotation>
+      <xs:documentation>
+	    Fault reporting structure
+      </xs:documentation>
+    </xs:annotation>
+    <xs:sequence>
+      <xs:element name="Code" type="tns:faultcode"/>
+      <xs:element name="Reason" type="tns:faultreason"/>
+      <xs:element name="Node" type="xs:anyURI" minOccurs="0"/>
+      <xs:element name="Role" type="xs:anyURI" minOccurs="0"/>
+      <xs:element name="Detail" type="tns:detail" minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="faultreason">
+    <xs:sequence>
+      <xs:element name="Text" type="tns:reasontext"
+        minOccurs="1" maxOccurs="unbounded"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="reasontext">
+    <xs:simpleContent>
+      <xs:extension base="xs:string">
+        <xs:attribute ref="xml:lang" use="required"/>
+      </xs:extension>
+    </xs:simpleContent>
+  </xs:complexType>
+
+  <xs:complexType name="faultcode">
+    <xs:sequence>
+      <xs:element name="Value"
+        type="tns:faultcodeEnum"/>
+      <xs:element name="Subcode"
+        type="tns:subcode"
+        minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:simpleType name="faultcodeEnum">
+    <xs:restriction base="xs:QName">
+      <xs:enumeration value="tns:DataEncodingUnknown"/>
+      <xs:enumeration value="tns:MustUnderstand"/>
+      <xs:enumeration value="tns:Receiver"/>
+      <xs:enumeration value="tns:Sender"/>
+      <xs:enumeration value="tns:VersionMismatch"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:complexType name="subcode">
+    <xs:sequence>
+      <xs:element name="Value"
+        type="xs:QName"/>
+      <xs:element name="Subcode"
+        type="tns:subcode"
+        minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="detail">
+    <xs:sequence>
+      <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+
+  <!-- Global element declaration and complex type definition for header entry returned due to a mustUnderstand fault -->
+  <xs:element name="NotUnderstood" type="tns:NotUnderstoodType"/>
+  <xs:complexType name="NotUnderstoodType">
+    <xs:attribute name="qname" type="xs:QName" use="required"/>
+  </xs:complexType>
+
+  <!-- Global element and associated types for managing version transition as described in Appendix A of the SOAP Version 1.2 Part 1 Last Call Working Draft -->
+  <xs:complexType name="SupportedEnvType">
+    <xs:attribute name="qname" type="xs:QName" use="required"/>
+  </xs:complexType>
+
+  <xs:element name="Upgrade" type="tns:UpgradeType"/>
+  <xs:complexType name="UpgradeType">
+    <xs:sequence>
+      <xs:element name="SupportedEnvelope" type="tns:SupportedEnvType" minOccurs="1" maxOccurs="unbounded"/>
+    </xs:sequence>
+  </xs:complexType>
+
+</xs:schema>

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/WS-Addressing-2005_08.xsd
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/WS-Addressing-2005_08.xsd?rev=428452&view=auto
==============================================================================
--- webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/WS-Addressing-2005_08.xsd (added)
+++ webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/WS-Addressing-2005_08.xsd Thu Aug  3 10:02:36 2006
@@ -0,0 +1,148 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xs:schema 
+	targetNamespace="http://www.w3.org/2005/08/addressing" 
+	xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	xmlns:tns="http://www.w3.org/2005/08/addressing" 
+	elementFormDefault="qualified" 
+	attributeFormDefault="unqualified">
+
+	<!-- Constructs from the WS-Addressing Core -->
+
+	<xs:element name="EndpointReference"
+		type="tns:EndpointReferenceType" />
+	<xs:complexType name="EndpointReferenceType" mixed="false">
+		<xs:sequence>
+			<xs:element name="Address" type="tns:AttributedURIType" />
+			<xs:element name="ReferenceParameters"
+				type="tns:ReferenceParametersType" minOccurs="0" />
+			<xs:element ref="tns:Metadata" minOccurs="0" />
+			<xs:any namespace="##other" processContents="lax"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xs:sequence>
+		<xs:anyAttribute namespace="##other" processContents="lax" />
+	</xs:complexType>
+
+	<xs:complexType name="ReferenceParametersType" mixed="false">
+		<xs:sequence>
+			<xs:any namespace="##any" processContents="lax"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xs:sequence>
+		<xs:anyAttribute namespace="##other" processContents="lax" />
+	</xs:complexType>
+
+	<xs:element name="Metadata" type="tns:MetadataType" />
+	<xs:complexType name="MetadataType" mixed="false">
+		<xs:sequence>
+			<xs:any namespace="##any" processContents="lax"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xs:sequence>
+		<xs:anyAttribute namespace="##other" processContents="lax" />
+	</xs:complexType>
+
+	<xs:element name="MessageID" type="tns:AttributedURIType" />
+	<xs:element name="RelatesTo" type="tns:RelatesToType" />
+	<xs:complexType name="RelatesToType" mixed="false">
+		<xs:simpleContent>
+			<xs:extension base="xs:anyURI">
+				<xs:attribute name="RelationshipType"
+					type="tns:RelationshipTypeOpenEnum" use="optional"
+					default="http://www.w3.org/2005/08/addressing/reply" />
+				<xs:anyAttribute namespace="##other"
+					processContents="lax" />
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+
+	<xs:simpleType name="RelationshipTypeOpenEnum">
+		<xs:union memberTypes="tns:RelationshipType xs:anyURI" />
+	</xs:simpleType>
+
+	<xs:simpleType name="RelationshipType">
+		<xs:restriction base="xs:anyURI">
+			<xs:enumeration
+				value="http://www.w3.org/2005/08/addressing/reply" />
+		</xs:restriction>
+	</xs:simpleType>
+
+	<xs:element name="ReplyTo" type="tns:EndpointReferenceType" />
+	<xs:element name="From" type="tns:EndpointReferenceType" />
+	<xs:element name="FaultTo" type="tns:EndpointReferenceType" />
+	<xs:element name="To" type="tns:AttributedURIType" />
+	<xs:element name="Action" type="tns:AttributedURIType" />
+
+	<xs:complexType name="AttributedURIType" mixed="false">
+		<xs:simpleContent>
+			<xs:extension base="xs:anyURI">
+				<xs:anyAttribute namespace="##other"
+					processContents="lax" />
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+
+	<!-- Constructs from the WS-Addressing SOAP binding -->
+
+	<xs:attribute name="IsReferenceParameter" type="xs:boolean" />
+
+	<xs:simpleType name="FaultCodesOpenEnumType">
+		<xs:union memberTypes="tns:FaultCodesType xs:QName" />
+	</xs:simpleType>
+
+	<xs:simpleType name="FaultCodesType">
+		<xs:restriction base="xs:QName">
+			<xs:enumeration value="tns:InvalidAddressingHeader" />
+			<xs:enumeration value="tns:InvalidAddress" />
+			<xs:enumeration value="tns:InvalidEPR" />
+			<xs:enumeration value="tns:InvalidCardinality" />
+			<xs:enumeration value="tns:MissingAddressInEPR" />
+			<xs:enumeration value="tns:DuplicateMessageID" />
+			<xs:enumeration value="tns:ActionMismatch" />
+			<xs:enumeration value="tns:MessageAddressingHeaderRequired" />
+			<xs:enumeration value="tns:DestinationUnreachable" />
+			<xs:enumeration value="tns:ActionNotSupported" />
+			<xs:enumeration value="tns:EndpointUnavailable" />
+		</xs:restriction>
+	</xs:simpleType>
+
+	<xs:element name="RetryAfter" type="tns:AttributedUnsignedLongType" />
+	<xs:complexType name="AttributedUnsignedLongType" mixed="false">
+		<xs:simpleContent>
+			<xs:extension base="xs:unsignedLong">
+				<xs:anyAttribute namespace="##other"
+					processContents="lax" />
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+
+	<xs:element name="ProblemHeaderQName"
+		type="tns:AttributedQNameType" />
+	<xs:complexType name="AttributedQNameType" mixed="false">
+		<xs:simpleContent>
+			<xs:extension base="xs:QName">
+				<xs:anyAttribute namespace="##other"
+					processContents="lax" />
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+
+	<xs:element name="ProblemHeader" type="tns:AttributedAnyType" />
+	<xs:complexType name="AttributedAnyType" mixed="false">
+		<xs:sequence>
+			<xs:any namespace="##any" processContents="lax"
+				minOccurs="1" maxOccurs="1" />
+		</xs:sequence>
+		<xs:anyAttribute namespace="##other" processContents="lax" />
+	</xs:complexType>
+
+	<xs:element name="ProblemIRI" type="tns:AttributedURIType" />
+
+	<xs:element name="ProblemAction" type="tns:ProblemActionType" />
+	<xs:complexType name="ProblemActionType" mixed="false">
+		<xs:sequence>
+			<xs:element ref="tns:Action" minOccurs="0" />
+			<xs:element name="SoapAction" minOccurs="0"
+				type="xs:anyURI" />
+		</xs:sequence>
+		<xs:anyAttribute namespace="##other" processContents="lax" />
+	</xs:complexType>
+
+</xs:schema>

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/WS-BaseFaults-1_2.xsd
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/WS-BaseFaults-1_2.xsd?rev=428452&view=auto
==============================================================================
--- webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/WS-BaseFaults-1_2.xsd (added)
+++ webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/WS-BaseFaults-1_2.xsd Thu Aug  3 10:02:36 2006
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+   OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification, can be obtained from the OASIS Executive Director. 
+
+OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director. 
+
+Copyright (C) OASIS Open (2005). All Rights Reserved. 
+
+This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English. 
+
+The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns. 
+
+This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. 
+-->
+
+<xsd:schema 
+  xmlns="http://www.w3.org/2001/XMLSchema" 
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xmlns:wsa="http://www.w3.org/2005/08/addressing"
+  xmlns:wsrf-bf=
+    "http://docs.oasis-open.org/wsrf/bf-2" 
+  elementFormDefault="qualified" attributeFormDefault="unqualified" 
+  targetNamespace=
+    "http://docs.oasis-open.org/wsrf/bf-2">
+  <xsd:import
+     namespace="http://www.w3.org/2005/08/addressing" 
+     schemaLocation="WS-Addressing-2005_08.xsd"/>
+              
+  <xsd:import namespace="http://www.w3.org/XML/1998/namespace" 
+              schemaLocation="XML-Namespace-1998.xsd">
+    <xsd:annotation>
+      <xsd:documentation>
+        Get access to the xml: attribute groups for xml:lang as declared on 'schema'
+        and 'documentation' below
+      </xsd:documentation> 
+    </xsd:annotation>
+  </xsd:import>
+<!-- ====================== BaseFault Types ======================= -->
+      
+  <xsd:element name="BaseFault" type="wsrf-bf:BaseFaultType"/>
+  
+  <xsd:complexType name="BaseFaultType">
+    <xsd:sequence>
+      <xsd:any namespace="##other" processContents="lax"
+              minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="Timestamp" type="xsd:dateTime" 
+               minOccurs="1" maxOccurs="1"/>
+      <xsd:element name="Originator" type="wsa:EndpointReferenceType" 
+               minOccurs="0" maxOccurs="1"/>
+      <xsd:element name="ErrorCode" 
+               minOccurs="0" maxOccurs="1">
+        <xsd:complexType>
+          <xsd:complexContent mixed="true">
+            <xsd:extension base="xsd:anyType">
+              <xsd:attribute name="dialect" type="xsd:anyURI"
+                         use="required"/>
+            </xsd:extension>
+          </xsd:complexContent>
+        </xsd:complexType>      
+      </xsd:element>
+
+      <xsd:element name="Description" 
+               minOccurs="0" maxOccurs="unbounded">
+        <xsd:complexType>
+          <xsd:simpleContent>
+            <xsd:extension base="xsd:string">
+              <xsd:attribute ref="xml:lang" use="optional"/>
+            </xsd:extension>
+          </xsd:simpleContent>
+        </xsd:complexType>
+      </xsd:element>
+      <xsd:element name="FaultCause" minOccurs="0" maxOccurs="1">
+        <xsd:complexType>
+          <xsd:sequence>
+            <xsd:any namespace="##other" processContents="lax" 
+                     minOccurs="1" maxOccurs="1"/>
+          </xsd:sequence>
+        </xsd:complexType> 
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:anyAttribute namespace="##other" processContents="lax"/>
+ </xsd:complexType>
+</xsd:schema>

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/WS-MetadataExchange-2004_09.xsd
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/WS-MetadataExchange-2004_09.xsd?rev=428452&view=auto
==============================================================================
--- webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/WS-MetadataExchange-2004_09.xsd (added)
+++ webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/WS-MetadataExchange-2004_09.xsd Thu Aug  3 10:02:36 2006
@@ -0,0 +1,113 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+<!--
+(c) 2004 BEA Systems Inc., Computer Associates International, Inc.,
+International Business Machines Corporation, Microsoft Corporation,
+Inc., SAP AG, Sun Microsystems, and webMethods. All rights reserved. 
+
+Permission to copy and display the WS-MetadataExchange Specification
+(the "Specification"), in any medium without fee or royalty is hereby
+granted, provided that you include the following on ALL copies of the
+Specification that you make:
+
+1.	A link or URL to the Specification at this location.
+2.	The copyright notice as shown in the Specification.
+
+BEA Systems, Computer Associates, IBM, Microsoft, SAP, Sun, and
+webMethods (collectively, the "Authors") each agree to grant you a
+license, under royalty-free and otherwise reasonable,
+non-discriminatory terms and conditions, to their respective essential
+patent claims that they deem necessary to implement the
+WS-MetadataExchange Specification.
+
+THE SPECIFICATION IS PROVIDED "AS IS," AND THE AUTHORS MAKE NO
+REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT
+LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
+PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE
+SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE
+IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY
+PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
+
+THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL,
+INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY
+USE OR DISTRIBUTION OF THE SPECIFICATIONS.
+
+The name and trademarks of the Authors may NOT be used in any manner,
+including advertising or publicity pertaining to the Specifications or
+their contents without specific, written prior permission. Title to
+copyright in the Specifications will at all times remain with the
+Authors.
+
+No other rights are granted by implication, estoppel or otherwise.
+-->
+
+<xs:schema
+    targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/mex" 
+    xmlns:tns="http://schemas.xmlsoap.org/ws/2004/09/mex" 
+    xmlns:wsa="http://www.w3.org/2005/08/addressing" 
+    xmlns:xs="http://www.w3.org/2001/XMLSchema" 
+    elementFormDefault="qualified" >
+
+  <xs:import
+      namespace="http://www.w3.org/2005/08/addressing" 
+      schemaLocation="WS-Addressing-2005_08.xsd" />
+
+  <!-- Get Metadata request -->
+  <xs:element name='GetMetadata' >
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element ref='tns:Dialect' minOccurs='0' />
+        <xs:element ref='tns:Identifier' minOccurs='0' />
+      </xs:sequence>
+      <xs:anyAttribute namespace='##other' processContents='lax' />
+    </xs:complexType>
+  </xs:element>
+
+  <xs:element name='Dialect' type='xs:anyURI' />
+  <xs:element name='Identifier' type='xs:anyURI' />
+
+  <!-- Get Metadata response -->
+  <xs:element name='Metadata' >
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element ref='tns:MetadataSection'
+                    minOccurs='0'
+                    maxOccurs='unbounded' />
+      </xs:sequence>
+      <xs:anyAttribute namespace='##other' processContents='lax' />
+    </xs:complexType>
+  </xs:element>
+
+  <xs:element name='MetadataSection' >
+    <xs:complexType>
+      <xs:choice>
+        <xs:any namespace='##other'
+                processContents='lax'
+                minOccurs='0'
+                maxOccurs='unbounded' />
+        <xs:element ref='tns:MetadataReference' />
+        <xs:element ref='tns:Location' />
+      </xs:choice>
+      <xs:attribute name='Dialect' type='xs:anyURI' use='required' />
+      <xs:attribute name='Identifier' type='xs:anyURI' />
+      <xs:anyAttribute namespace='##other' processContents='lax' />
+    </xs:complexType>
+  </xs:element>
+
+  <xs:element name='MetadataReference'
+              type='wsa:EndpointReferenceType' />
+
+  <xs:element name='Location'
+              type='xs:anyURI' />
+
+  <!-- count(/s:Envelope/s:Body/*) = 0 for Get request -->
+
+  <!-- Get Response returns xs:any -->
+
+  <xs:complexType name='AnyXmlType' >
+    <xs:sequence>
+      <xs:any namespace='##any' processContents='lax' />
+    </xs:sequence>
+    <xs:anyAttribute namespace='##any' processContents='lax' />
+  </xs:complexType>
+
+</xs:schema>

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/WS-Resource-1_2.xsd
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/WS-Resource-1_2.xsd?rev=428452&view=auto
==============================================================================
--- webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/WS-Resource-1_2.xsd (added)
+++ webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/WS-Resource-1_2.xsd Thu Aug  3 10:02:36 2006
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+
+OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
+
+OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
+
+Copyright (C) OASIS Open (2005). All Rights Reserved.
+
+This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English. 
+
+The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns. 
+
+This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+
+-->
+<xsd:schema 
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+  xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2"
+  xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  elementFormDefault="qualified" attributeFormDefault="unqualified" 
+  targetNamespace="http://docs.oasis-open.org/wsrf/r-2" 
+>
+ 
+  <xsd:import 
+     namespace="http://docs.oasis-open.org/wsrf/bf-2"
+     schemaLocation="WS-BaseFaults-1_2.xsd" />
+
+<!-- ====================== WS-Resource fault types ============= -->
+ 
+      <xsd:complexType name="ResourceUnknownFaultType">
+         <xsd:complexContent>
+            <xsd:extension base="wsrf-bf:BaseFaultType"/>
+         </xsd:complexContent>
+      </xsd:complexType>
+      <xsd:element name="ResourceUnknownFault" 
+                   type="wsrf-r:ResourceUnknownFaultType"/>
+
+      <xsd:complexType name="ResourceUnavailableFaultType">
+         <xsd:complexContent>
+            <xsd:extension base="wsrf-bf:BaseFaultType"/>
+         </xsd:complexContent>
+      </xsd:complexType>
+      <xsd:element name="ResourceUnavailableFault" 
+                   type="wsrf-r:ResourceUnavailableFaultType"/>
+</xsd:schema>
+

Added: webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/WS-ResourceLifetime-1_2.xsd
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/WS-ResourceLifetime-1_2.xsd?rev=428452&view=auto
==============================================================================
--- webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/WS-ResourceLifetime-1_2.xsd (added)
+++ webservices/muse/trunk/samples/eclipse-osgi/samples/wsrf/plugins/test.muse.osgi.wsrf/wsdl/WS-ResourceLifetime-1_2.xsd Thu Aug  3 10:02:36 2006
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+	
+	OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
+	
+	OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
+	
+	Copyright (C) OASIS Open (2005). All Rights Reserved.
+	
+	This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English. 
+	
+	The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns. 
+	
+	This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+	
+-->
+
+
+<xsd:schema 
+xmlns="http://www.w3.org/2001/XMLSchema" 
+xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2" 
+xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2" 
+elementFormDefault="qualified" attributeFormDefault="unqualified" 
+targetNamespace="http://docs.oasis-open.org/wsrf/rl-2">
+
+	<xsd:import namespace="http://docs.oasis-open.org/wsrf/bf-2" 
+	schemaLocation="WS-BaseFaults-1_2.xsd" />
+	<!-- 
+		=============== Resource Property Related  =================== 
+	-->
+	<!-- 
+		==== Resource Properties for ScheduledResourceTermination ==== 
+	-->
+
+	<xsd:element name="CurrentTime" >
+		<xsd:complexType>
+			<xsd:simpleContent>
+				<xsd:extension base="xsd:dateTime" >
+					<xsd:anyAttribute namespace="##other" processContents="lax"/>
+				</xsd:extension>
+			</xsd:simpleContent>
+		</xsd:complexType>
+	</xsd:element>
+	
+	<xsd:element name="TerminationTime" nillable="true">
+	<xsd:complexType>
+			<xsd:simpleContent>
+				<xsd:extension base="xsd:dateTime" >
+					<xsd:anyAttribute namespace="##other" processContents="lax"/>
+				</xsd:extension>
+			</xsd:simpleContent>
+		</xsd:complexType>
+	</xsd:element>
+
+
+	<!-- ==== Resource Properties for ScheduledResourceTermination ==== -->
+	<xsd:element name="ScheduledResourceTerminationRP">
+		<xsd:complexType>
+			<xsd:sequence>
+				<xsd:element maxOccurs="1" minOccurs="1" ref="wsrf-rl:CurrentTime" />
+				<xsd:element maxOccurs="1" minOccurs="1" ref="wsrf-rl:TerminationTime" />
+			</xsd:sequence>
+		</xsd:complexType>
+	</xsd:element>
+
+	<!-- ====== Message Types for ImmediateResourceTermination  ======= -->
+	<xsd:element name="Destroy">
+		<xsd:complexType />
+	</xsd:element>
+
+	<xsd:element name="DestroyResponse">
+		<xsd:complexType />
+	</xsd:element>
+
+	<xsd:complexType name="ResourceNotDestroyedFaultType">
+		<xsd:complexContent>
+			<xsd:extension base="wsrf-bf:BaseFaultType" />
+		</xsd:complexContent>
+	</xsd:complexType>
+	<xsd:element name="ResourceNotDestroyedFault" type="wsrf-rl:ResourceNotDestroyedFaultType" />
+	<!-- ====== Message Types for ScheduledResourceTermination  ======= -->
+	<xsd:element name="SetTerminationTime">
+		<xsd:complexType>
+			<xsd:choice>
+				<xsd:element name="RequestedTerminationTime" nillable="true" type="xsd:dateTime" />
+				<xsd:element name="RequestedLifetimeDuration" type="xsd:duration" />
+			</xsd:choice>
+		</xsd:complexType>
+	</xsd:element>
+		
+	<xsd:element name="SetTerminationTimeResponse">
+		<xsd:complexType>
+			<xsd:sequence>
+				<xsd:element name="NewTerminationTime" nillable="true" type="xsd:dateTime" />
+				<xsd:element name="CurrentTime" type="xsd:dateTime" />
+			</xsd:sequence>
+		</xsd:complexType>
+	</xsd:element>
+	<xsd:complexType name="UnableToSetTerminationTimeFaultType">
+		<xsd:complexContent>
+			<xsd:extension base="wsrf-bf:BaseFaultType" />
+		</xsd:complexContent>
+	</xsd:complexType>
+
+	<xsd:element name="UnableToSetTerminationTimeFault" type="wsrf-rl:UnableToSetTerminationTimeFaultType" />
+	<xsd:complexType name="TerminationTimeChangeRejectedFaultType">
+		<xsd:complexContent>
+			<xsd:extension base="wsrf-bf:BaseFaultType" />
+		</xsd:complexContent>
+	</xsd:complexType>
+	<xsd:element name="TerminationTimeChangeRejectedFault" type="wsrf-rl:TerminationTimeChangeRejectedFaultType" />
+
+
+	<!-- 
+		============= Notification Message Related  ================== 
+	-->
+	<xsd:element name="TerminationNotification">
+		<xsd:complexType>
+			<xsd:sequence>
+				<xsd:element name="TerminationTime" type="xsd:dateTime" minOccurs="1" maxOccurs="1" nillable="true" />
+				<xsd:element name="TerminationReason" type="xsd:anyType" minOccurs="0" maxOccurs="1" />
+			</xsd:sequence>
+
+		</xsd:complexType>
+	</xsd:element>
+
+
+</xsd:schema>
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-commits-help@ws.apache.org