ws-muse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r191534 [29/29] - in /incubator/muse/trunk/src/site/content/example: ./ epr/ images/ lib/ logic/ logic/src/ logic/src/java/ logic/src/java/org/ logic/src/java/org/apache/ logic/src/java/org/apache/ws/ logic/src/java/org/apache/ws/muse/ logi...
Date Mon, 20 Jun 2005 18:51:29 GMT
Added: incubator/muse/trunk/src/site/content/example/src/wsdl/integrationserver.wsdl
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/example/src/wsdl/integrationserver.wsdl?rev=191534&view=auto
==============================================================================
--- incubator/muse/trunk/src/site/content/example/src/wsdl/integrationserver.wsdl (added)
+++ incubator/muse/trunk/src/site/content/example/src/wsdl/integrationserver.wsdl Mon Jun 20 11:51:17 2005
@@ -0,0 +1,500 @@
+<?xml version="1.0"?>
+
+<definitions name="IntegrationServer"
+             targetNamespace="http://ws.apache.org/muse/example/integrationserver"
+             xmlns="http://schemas.xmlsoap.org/wsdl/"
+             xmlns:tns="http://ws.apache.org/muse/example/integrationserver"
+             xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+             xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
+             xmlns:wsrpw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
+             xmlns:wsrlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
+             xmlns:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
+             xmlns:muws-p2-wsdl="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.wsdl"
+             xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex">
+             
+   <!-- Created by Kinga Dziembowski -->          
+
+   <import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
+           location="../spec/wsrf/WS-ResourceProperties-1_2-Draft_01.wsdl"/>
+
+   <import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
+           location="../spec/wsrf/WS-ResourceLifetime-1_2-Draft_01.wsdl"/>
+
+   <import namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl" 
+           location="../spec/wsn/WS-BaseNotification-1_2-Draft_01.wsdl"/>
+
+   <import namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.wsdl" 
+           location="../spec/wsdm/MUWS-Part2-1_0.wsdl"/>
+   <import namespace="http://schemas.xmlsoap.org/ws/2004/09/mex" 
+   	   location="../spec/wsx/WS-MetadataExchange-2004_09.wsdl" />        
+
+   <types>
+      <schema elementFormDefault="qualified"
+              targetNamespace="http://ws.apache.org/muse/example/integrationserver"
+              xmlns="http://www.w3.org/2001/XMLSchema"
+              xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              xmlns:wsrl="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
+              xmlns:wsbf="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
+              xmlns:wsnt="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
+              xmlns:muws-p1-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd"
+              xmlns:muws-p2-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd"
+              xmlns:ws-ext="http://ws.apache.org/namespaces/muse/muws-ext-1.xsd" 
+              xmlns:ins-prop="http://ws.apache.org/muse/example/integrationserver/properties" >
+
+         <xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
+	                      schemaLocation="../spec/wsrf/WS-BaseFaults-1_2-Draft_01.xsd"/>
+	 
+	 <xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
+                     schemaLocation="../spec/wsrf/WS-ResourceLifetime-1_2-Draft_01.xsd"/>
+ 
+         <xsd:import namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd" 
+                     schemaLocation="../spec/wsn/WS-BaseNotification-1_2-Draft_01.xsd"/>
+
+         <xsd:import namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd" 
+                     schemaLocation="../spec/wsdm/MUWS-Part1-1_0.xsd"/>
+
+         <xsd:import namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd" 
+                     schemaLocation="../spec/wsdm/MUWS-Part2-1_0.xsd"/>
+         <xsd:import namespace="http://ws.apache.org/namespaces/muse/muws-ext-1.xsd" 
+                     schemaLocation="../wsdl/muws-ext-1.xsd"/>
+         <xsd:import namespace="http://ws.apache.org/muse/example/integrationserver/properties" 
+                     schemaLocation="../wsdl/integrationserver.xsd"/>
+
+         <!-- *** Add an element definition here for each of your custom resource properties *** -->
+         <!-- *** e.g.: <element name="MyProperty" type="xsd:string" /> *** -->
+         
+         <!-- Resource Properties Document Schema -->        
+         <element name="IntegrationServerProperties">
+            <complexType>
+               <sequence>
+               
+                  <!-- *** If you wish to implement the wsrl:ScheduledResourceTermination portType,
+                           uncomment the below two lines *** -->
+                  <!--
+                  <element ref="wsrl:CurrentTime" />
+                  <element ref="wsrl:TerminationTime" />
+                  -->
+
+                  <!-- *** If you wish to implement the wsnt:NotificationProducer portType,
+                           uncomment the below three lines *** -->
+                  
+                  <element ref="wsnt:Topic" minOccurs="1" maxOccurs="unbounded" /> 
+                  
+                  <element ref="wsnt:FixedTopicSet" /> 
+                  <element ref="wsnt:TopicExpressionDialects" minOccurs="1" maxOccurs="unbounded" /> 
+             
+                  <!-- *** The ResourceId property is _required_ by the MUWS spec *** -->
+		  <element ref="muws-p1-xs:ResourceId"/>
+		  
+		  <!-- *** If you wish to implement the MUWS ManageabilityCharacteristics capability,
+                           uncomment the below line *** -->
+	         
+	          <element ref="muws-p1-xs:ManageabilityCapability" minOccurs="0" maxOccurs="unbounded"/>
+		  
+		  
+		  <!-- *** If you wish to implement the MUWS CorrelatableProperties capability,
+                           uncomment the below line *** -->
+                  <!--
+		  <element ref="muws-p1-xs:CorrelatableProperties" minOccurs="0" maxOccurs="unbounded"/>
+                  -->
+                  
+		  <!-- *** If you wish to implement the MUWS Description capability,
+                           uncomment the below three lines *** -->		  
+                  
+                  <element ref="muws-p2-xs:Caption" minOccurs="1" maxOccurs="1"/>
+                  <element ref="muws-p2-xs:Description" minOccurs="0" maxOccurs="unbounded"/>
+                  <element ref="muws-p2-xs:Version" minOccurs="0"/>		  
+                  
+                  
+		  <!-- *** If you wish to implement the MUWS OperationalStatus capability,
+                           uncomment the below line *** -->		  
+		  
+		  <element ref="muws-p2-xs:OperationalStatus"/>
+                  
+
+		  <!-- *** If you wish to implement the MUWS Metrics capability,
+                           uncomment the below line *** -->		                    					          
+                  
+	          <element ref="muws-p2-xs:CurrentTime"/>
+                  
+                  
+		  <!-- *** If you wish to implement the MUWS Relationships capability,
+                           uncomment the below line *** -->		                    				
+	          
+	          <element ref="muws-p2-xs:Relationship" minOccurs="0" maxOccurs="unbounded"/>
+                  
+                  <!--   SHARED PROPERTIES DEFINED muws-ext-1.xsd  
+                  	Resource exposing this properties should add to the list returned by GetProperty
+                  	for muws-p1-xs:ManageabilityCapability property,
+                  	the string "http://ws.apache.org/namespaces/muse/capabilities/muws-ext-1".
+                  	This signals that the resource support extended management capability.
+		                    
+                  -->
+                  
+                  
+                  <element ref="ws-ext:ResourceType" minOccurs="1" maxOccurs="1" /> 
+                  <element ref="ws-ext:ResourceHostname" minOccurs="1" maxOccurs="1" /> 
+                  
+                  <!--   SPECIFIC PROPERTIES DEFINED IN INTEGRATIONSERVER.XSD -->
+                  
+                  <element ref="ins-prop:ServerName" minOccurs="1" maxOccurs="1" />
+                  <element ref="ins-prop:ListenPort" minOccurs="1" maxOccurs="1" /> 
+                  
+                  
+                  
+                  <!-- *** Uncomment the below any element if you want to permit resource property elements 
+                           with arbitrary names (not generally recommended) *** -->
+                  <!--
+                  <any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax"/>
+                  -->
+                  
+               </sequence>
+            </complexType>
+         </element>
+
+         <!-- *** Add element definitions for custom request/response/fault types here *** -->         
+         
+      </schema>
+   </types>
+
+   <!-- *** Add message definitions for custom request/response/fault types here *** -->         
+   
+   <portType name="IntegrationServerPortType" wsrp:ResourceProperties="tns:IntegrationServerProperties">
+         
+      <operation name="GetResourceProperty">
+         <input name="GetResourcePropertyRequest" message="wsrpw:GetResourcePropertyRequest"/>
+         <output name="GetResourcePropertyResponse" message="wsrpw:GetResourcePropertyResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
+         <fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
+      </operation>
+
+      <!-- *** If you wish to implement the WSRP GetMultipleResourceProperties portType,
+               uncomment the below operation block *** -->
+     
+      <operation name="GetMultipleResourceProperties">
+         <input name="GetMultipleResourcePropertiesRequest" message="wsrpw:GetMultipleResourcePropertiesRequest"/>
+         <output name="GetMultipleResourcePropertiesResponse" message="wsrpw:GetMultipleResourcePropertiesResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
+         <fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
+      </operation>
+     
+
+      <!-- *** If you wish to implement the WSRP SetResourceProperties portType,
+               uncomment the below operation block *** -->
+      <!--
+      <operation name="SetResourceProperties">
+         <input name="SetResourcePropertiesRequest" message="wsrpw:SetResourcePropertiesRequest"/>
+         <output name="SetResourcePropertiesResponse" message="wsrpw:SetResourcePropertiesResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
+         <fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
+         <fault name="InvalidSetResourcePropertiesRequestContentFault" message="wsrpw:InvalidSetResourcePropertiesRequestContentFault"/>
+         <fault name="UnableToModifyResourcePropertyFault" message="wsrpw:UnableToModifyResourcePropertyFault"/>
+         <fault name="SetResourcePropertyRequestFailedFault" message="wsrpw:SetResourcePropertyRequestFailedFault"/>
+      </operation>
+      -->
+
+      <!-- *** If you wish to implement the WSRP QueryResourceProperties portType,
+               uncomment the below operation block *** -->
+     
+      <operation name="QueryResourceProperties">
+         <input name="QueryResourcePropertiesRequest" message="wsrpw:QueryResourcePropertiesRequest"/>
+         <output name="QueryResourcePropertiesResponse" message="wsrpw:QueryResourcePropertiesResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
+         <fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
+         <fault name="UnknownQueryExpressionDialectFault" message="wsrpw:UnknownQueryExpressionDialectFault"/>
+         <fault name="InvalidQueryExpressionFault" message="wsrpw:InvalidQueryExpressionFault"/>
+         <fault name="QueryEvaluationErrorFault" message="wsrpw:QueryEvaluationErrorFault"/>
+      </operation>
+     
+
+      <!-- *** If you wish to implement the WSRL ImmediateResourceTermination portType,
+               uncomment the below operation block *** -->
+      <!--
+      <operation name="Destroy">
+         <input message="wsrlw:DestroyRequest"/>
+         <output message="wsrlw:DestroyResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
+         <fault name="ResourceNotDestroyedFault" message="wsrlw:ResourceNotDestroyedFault"/>
+      </operation>
+      -->
+
+      <!-- *** If you wish to implement the WSRL ScheduledResourceTermination portType,
+               uncomment the below operation block *** -->
+      <!--
+      <operation name="SetTerminationTime">
+         <input message="wsrlw:SetTerminationTimeRequest"/>
+         <output message="wsrlw:SetTerminationTimeResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
+         <fault name="UnableToSetTerminationTimeFault" message="wsrlw:UnableToSetTerminationTimeFault"/>
+         <fault name="TerminationTimeChangeRejectedFault" message="wsrlw:TerminationTimeChangeRejectedFault"/>
+      </operation>
+      -->
+      
+      <!-- *** If you wish to implement the WSNT NotificationProducer portType,
+               uncomment the below two operation blocks *** -->
+           
+      <operation name="Subscribe">
+         <input message="wsntw:SubscribeRequest" /> 
+         <output message="wsntw:SubscribeResponse" /> 
+         <fault name="ResourceUnknownFault" message="wsntw:ResourceUnknownFault" /> 
+         <fault name="SubscribeCreationFailedFault" message="wsntw:SubscribeCreationFailedFault" /> 
+         <fault name="TopicPathDialectUnknownFault" message="wsntw:TopicPathDialectUnknownFault" /> 
+      </operation>
+      
+      <operation name="GetCurrentMessage">
+         <input message="wsntw:GetCurrentMessageRequest" /> 
+         <output message="wsntw:GetCurrentMessageResponse" /> 
+         <fault name="ResourceUnknownFault" message="wsntw:ResourceUnknownFault" /> 
+         <fault name="InvalidTopicExpressionFault" message="wsntw:InvalidTopicExpressionFault" /> 
+         <fault name="TopicNotSupportedFault" message="wsntw:TopicNotSupportedFault" /> 
+         <fault name="NoCurrentMessageOnTopicFault" message="wsntw:NoCurrentMessageOnTopicFault" /> 
+      </operation>       
+      
+
+      <!-- *** If you wish to implement the MUWS QueryRelationshipsByType operation,
+               uncomment the below operation block *** -->
+                 
+      <operation name="QueryRelationshipsByType">
+         <input message="muws-p2-wsdl:QueryRelationshipsByTypeRequest"/>
+         <output message="muws-p2-wsdl:QueryRelationshipsByTypeResponse"/>         
+      </operation>      
+      
+      
+      <!-- *** Add an operation block here for each of your custom operations *** -->
+      
+      <!-- GetMetadata operation for retrieving WSDL -->
+                  
+	<operation name="GetMetadata">
+	    <input message="wsx:GetMetadataMsg"/>
+	    <output message="wsx:GetMetadataResponseMsg"/>         
+	</operation>      
+      
+
+   </portType>
+
+   <binding name="IntegrationServerSoapHttpBinding" type="tns:IntegrationServerPortType">
+
+      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+   
+      <operation name="GetResourceProperty">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="InvalidResourcePropertyQNameFault">
+            <soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
+         </fault>
+      </operation>
+
+      <!-- *** If you wish to implement the WSRP GetMultipleResourceProperties portType,
+               uncomment the below operation block *** -->
+      
+      <operation name="GetMultipleResourceProperties">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="InvalidResourcePropertyQNameFault">
+            <soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
+         </fault>
+      </operation>
+    
+
+      <!-- *** If you wish to implement the WSRP SetResourceProperties portType,
+               uncomment the below operation block *** -->
+      <!--
+      <operation name="SetResourceProperties">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="InvalidResourcePropertyQNameFault">
+            <soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
+         </fault>
+         <fault name="UnableToModifyResourcePropertyFault">
+            <soap:fault name="UnableToModifyResourcePropertyFault" use="literal"/>
+         </fault>
+         <fault name="InvalidSetResourcePropertiesRequestContentFault">
+            <soap:fault name="InvalidSetResourcePropertiesRequestContentFault" use="literal"/>
+         </fault>
+         <fault name="SetResourcePropertyRequestFailedFault">
+            <soap:fault name="SetResourcePropertyRequestFailedFault" use="literal"/>
+         </fault>
+      </operation>
+      -->
+
+      <!-- *** If you wish to implement the WSRP QueryResourceProperties portType,
+               uncomment the below operation block *** -->
+      
+      <operation name="QueryResourceProperties">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="InvalidResourcePropertyQNameFault">
+            <soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
+         </fault>
+         <fault name="UnknownQueryExpressionDialectFault">
+            <soap:fault name="UnknownQueryExpressionDialectFault" use="literal"/>
+         </fault>
+         <fault name="InvalidQueryExpressionFault">
+            <soap:fault name="InvalidQueryExpressionFault" use="literal"/>
+         </fault>
+         <fault name="QueryEvaluationErrorFault">
+            <soap:fault name="QueryEvaluationErrorFault" use="literal"/>
+         </fault>
+      </operation>
+      
+      
+      <!-- *** If you wish to implement the WSRL ImmediateResourceTermination portType,
+               uncomment the below operation block *** -->
+      <!--      
+      <operation name="Destroy">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="ResourceNotDestroyedFault">
+            <soap:fault name="ResourceNotDestroyedFault" use="literal"/>
+         </fault>
+      </operation>            
+      -->
+    
+      <!-- *** If you wish to implement the WSRL ScheduledResourceTermination portType,
+               uncomment the below operation block *** -->
+      <!--          
+      <operation name="SetTerminationTime">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="UnableToSetTerminationTimeFault">
+            <soap:fault name="UnableToSetTerminationTimeFault" use="literal"/>
+         </fault>
+         <fault name="TerminationTimeChangeRejectedFault">
+            <soap:fault name="TerminationTimeChangeRejectedFault" use="literal"/>
+         </fault>
+      </operation>
+      -->
+
+      <!-- *** If you wish to implement the WSNT NotificationProducer portType,
+               uncomment the below two operation blocks *** -->
+                    
+      <operation name="Subscribe">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="SubscribeCreationFailedFault">
+            <soap:fault name="SubscribeCreationFailedFault" use="literal"/>
+         </fault>
+         <fault name="TopicPathDialectUnknownFault">
+            <soap:fault name="TopicPathDialectUnknownFault" use="literal"/>
+         </fault>         
+      </operation>            
+      <operation name="GetCurrentMessage">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="InvalidTopicExpressionFault">
+            <soap:fault name="InvalidTopicExpressionFault" use="literal"/>
+         </fault>
+         <fault name="TopicNotSupportedFault">
+            <soap:fault name="TopicPathDialectUnknownFault" use="literal"/>
+         </fault>         
+         <fault name="NoCurrentMessageOnTopicFault">
+            <soap:fault name="NoCurrentMessageOnTopicFault" use="literal"/>
+         </fault>         
+      </operation>            
+      
+
+      <!-- *** If you wish to implement the MUWS QueryRelationshipsByType operation,
+               uncomment the below operation block *** -->
+      
+      <operation name="QueryRelationshipsByType">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+      </operation>            
+      
+      
+      <!-- *** Add an operation block here for each of your custom operations *** --> 
+      
+      <!-- GetMetadata operation for retrieving WSDL -->
+      
+      <operation name="GetMetadata">
+         <soap:operation style="document"/>
+         <input>
+	    <soap:body use="literal"/>
+         </input>
+         <output>
+	    <soap:body use="literal"/>
+         </output>
+      </operation>            
+      
+      
+   </binding>
+
+   <service name="IntegrationServerService">
+      <!-- Note: the port name becomes the service name in the wsdd generated by Wsdl2Java -->
+      <!-- *** Change the port name and the soap:address location below to reflect the desired endpoint URL *** -->
+      <port name="integrationserver" binding="tns:IntegrationServerSoapHttpBinding">
+         <soap:address location="http://localhost:8080/muse/services/integrationserver" />
+      </port>
+   </service>
+
+</definitions>

Added: incubator/muse/trunk/src/site/content/example/src/wsdl/integrationserver.xsd
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/example/src/wsdl/integrationserver.xsd?rev=191534&view=auto
==============================================================================
--- incubator/muse/trunk/src/site/content/example/src/wsdl/integrationserver.xsd (added)
+++ incubator/muse/trunk/src/site/content/example/src/wsdl/integrationserver.xsd Mon Jun 20 11:51:17 2005
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" targetNamespace="http://ws.apache.org/muse/example/integrationserver/properties">
+	<!-- DATA TYPES SPECIFIC FOR INTEGRATIONSERVER -->
+	<!-- ServerName: the name of the server string -->
+	<xs:element name="ServerName" type="xs:string"/>
+	<!-- Port on which the Server listen -->
+	<xs:element name="ListenPort" type="xs:unsignedInt"/>
+</xs:schema>

Added: incubator/muse/trunk/src/site/content/example/src/wsdl/muws-ext-1.xsd
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/example/src/wsdl/muws-ext-1.xsd?rev=191534&view=auto
==============================================================================
--- incubator/muse/trunk/src/site/content/example/src/wsdl/muws-ext-1.xsd (added)
+++ incubator/muse/trunk/src/site/content/example/src/wsdl/muws-ext-1.xsd Mon Jun 20 11:51:17 2005
@@ -0,0 +1,52 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2005 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.
+ -->
+<xs:schema xmlns:tns="http://ws.apache.org/namespaces/muse/muws-ext-1.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:muws-xs2="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd" targetNamespace="http://ws.apache.org/namespaces/muse/muws-ext-1.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
+	<xs:import namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd" schemaLocation="../spec/wsdm/MUWS-Part2-1_0.xsd"/>
+	<!-- METRIC's DATA TYPES  -->
+	<xs:complexType name="IntMetric">
+		<xs:simpleContent>
+			<xs:extension base="xs:int">
+				<xs:attributeGroup ref="muws-xs2:MetricAttributes"/>
+				<xs:anyAttribute namespace="##other" processContents="lax"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	<xs:complexType name="LongMetric">
+		<xs:simpleContent>
+			<xs:extension base="xs:long">
+				<xs:attributeGroup ref="muws-xs2:MetricAttributes"/>
+				<xs:anyAttribute namespace="##other" processContents="lax"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	
+	<!-- The ResourceType  anyURI  -->
+	<xs:element name="ResourceType" type="xs:anyURI"/>
+	<!-- The ResourceHostname string -->
+	<xs:element name="ResourceHostname" type="xs:string"/>
+	<!-- Extension of ManagementEventType the CorrelationId allows to correlate events-->
+	<!-- The CorrelationId anyURI -->
+	<xs:element name="CorrelationId" type="xs:anyURI"/>
+	<!--  DirectionStyle is part of xs:any in muws-p2-xs:RelationshipType.  It is optional -->
+	<xs:simpleType name="DirectionStyleType">
+		<xs:restriction base="xs:string">
+			<xs:enumeration value="single"/>
+			<xs:enumeration value="dual"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:element name="DirectionStyle" type="tns:DirectionStyleType"/>
+</xs:schema>

Added: incubator/muse/trunk/src/site/content/example/src/wsdl/muws-ext-topics-1.xml
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/example/src/wsdl/muws-ext-topics-1.xml?rev=191534&view=auto
==============================================================================
--- incubator/muse/trunk/src/site/content/example/src/wsdl/muws-ext-topics-1.xml (added)
+++ incubator/muse/trunk/src/site/content/example/src/wsdl/muws-ext-topics-1.xml Mon Jun 20 11:51:17 2005
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wstop:TopicSpace  targetNamespace="http://ws.apache.org/namespaces/muse/muws-ext-topics-1.xml" 
+xmlns:muws-p1-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd"
+xmlns:m-ex1="http://ws.apache.org/namespaces/muse/muws-ext-1.xsd" 
+xmlns:wstop="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-Topics-1.2-draft-01.xsd">
+
+<wstop:Topic name="OperationalAlerts" messageTypes="muws-p1-xs:ManagementEvent" >
+		<wstop:MessagePattern Dialect="http://www.w3.org/TR/1999/REC-xpath-19991116">
+		//muws-p1-xs:ManagementEvent[count(m-ex1:CorrelationId)=1]
+		</wstop:MessagePattern> 
+</wstop:Topic>
+
+</wstop:TopicSpace>

Added: incubator/muse/trunk/src/site/content/example/src/wsdl/resourceadmin.wsdl
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/example/src/wsdl/resourceadmin.wsdl?rev=191534&view=auto
==============================================================================
--- incubator/muse/trunk/src/site/content/example/src/wsdl/resourceadmin.wsdl (added)
+++ incubator/muse/trunk/src/site/content/example/src/wsdl/resourceadmin.wsdl Mon Jun 20 11:51:17 2005
@@ -0,0 +1,656 @@
+<?xml version="1.0"?>
+
+<definitions name="ResourceAdmin"
+             targetNamespace="http://ws.apache.org/muse/example/resourceadmin"
+             xmlns="http://schemas.xmlsoap.org/wsdl/"
+             xmlns:tns="http://ws.apache.org/muse/example/resourceadmin"
+             xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+             xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
+             xmlns:wsrpw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
+             xmlns:wsrlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
+             xmlns:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
+             xmlns:muws-p2-wsdl="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.wsdl"
+             xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
+             xmlns:resAdm-prop="http://ws.apache.org/muse/example/resourceadmin/properties" >
+             
+   <!-- Created by Kinga Dziembowski -->
+   <import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
+           location="../spec/wsrf/WS-ResourceProperties-1_2-Draft_01.wsdl"/>
+
+   <import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
+           location="../spec/wsrf/WS-ResourceLifetime-1_2-Draft_01.wsdl"/>
+
+   <import namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl" 
+           location="../spec/wsn/WS-BaseNotification-1_2-Draft_01.wsdl"/>
+
+   <import namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.wsdl" 
+           location="../spec/wsdm/MUWS-Part2-1_0.wsdl"/>
+   <import namespace="http://schemas.xmlsoap.org/ws/2004/09/mex" 
+   	   location="../spec/wsx/WS-MetadataExchange-2004_09.wsdl" />        
+
+   <types>
+      <schema elementFormDefault="qualified"
+              targetNamespace="http://ws.apache.org/muse/example/resourceadmin"
+              xmlns="http://www.w3.org/2001/XMLSchema"
+              xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              xmlns:wsrl="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
+              xmlns:wsbf="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
+              xmlns:wsnt="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
+              xmlns:muws-p1-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd"
+              xmlns:muws-p2-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd"
+              xmlns:ws-ext="http://ws.apache.org/namespaces/muse/muws-ext-1.xsd" 
+              xmlns:resAdm-prop="http://ws.apache.org/muse/example/resourceadmin/properties" >
+
+         <xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
+	                      schemaLocation="../spec/wsrf/WS-BaseFaults-1_2-Draft_01.xsd"/>
+	 
+	 <xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
+                     schemaLocation="../spec/wsrf/WS-ResourceLifetime-1_2-Draft_01.xsd"/>
+ 
+         <xsd:import namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd" 
+                     schemaLocation="../spec/wsn/WS-BaseNotification-1_2-Draft_01.xsd"/>
+
+         <xsd:import namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd" 
+                     schemaLocation="../spec/wsdm/MUWS-Part1-1_0.xsd"/>
+
+         <xsd:import namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd" 
+                     schemaLocation="../spec/wsdm/MUWS-Part2-1_0.xsd"/>
+         <xsd:import namespace="http://ws.apache.org/namespaces/muse/muws-ext-1.xsd" 
+                     schemaLocation="../wsdl/muws-ext-1.xsd"/>
+         <xsd:import namespace="http://ws.apache.org/muse/example/resourceadmin/properties" 
+                     schemaLocation="../wsdl/resourceadmin.xsd"/>
+
+         <!-- *** Add an element definition here for each of your custom resource properties *** -->
+         <!-- *** e.g.: <element name="MyProperty" type="xsd:string" /> *** -->
+         
+         
+         
+         <!-- Resource Properties Document Schema -->        
+         <element name="ResourceAdminProperties">
+            <complexType>
+               <sequence>
+               
+                  <!-- *** If you wish to implement the wsrl:ScheduledResourceTermination portType,
+                           uncomment the below two lines *** -->
+                  <!--
+                  <element ref="wsrl:CurrentTime" />
+                  <element ref="wsrl:TerminationTime" />
+                  -->
+
+                  <!-- *** If you wish to implement the wsnt:NotificationProducer portType,
+                           uncomment the below three lines *** -->
+                  
+                  <element ref="wsnt:Topic" minOccurs="1" maxOccurs="unbounded" /> 
+                  <element ref="wsnt:FixedTopicSet" /> 
+                  <element ref="wsnt:TopicExpressionDialects" minOccurs="1" maxOccurs="unbounded" /> 
+             
+                  <!-- *** The ResourceId property is _required_ by the MUWS spec *** -->
+		  <element ref="muws-p1-xs:ResourceId"/>
+		  
+		  <!-- *** If you wish to implement the MUWS ManageabilityCharacteristics capability,
+                           uncomment the below line *** -->
+	         
+	          <element ref="muws-p1-xs:ManageabilityCapability" minOccurs="0" maxOccurs="unbounded"/>
+		  
+		  
+		  <!-- *** If you wish to implement the MUWS CorrelatableProperties capability,
+                           uncomment the below line *** -->
+                  <!--
+		  <element ref="muws-p1-xs:CorrelatableProperties" minOccurs="0" maxOccurs="unbounded"/>
+                  -->
+                  
+		  <!-- *** If you wish to implement the MUWS Description capability,
+                           uncomment the below three lines *** -->		  
+                  
+                  <element ref="muws-p2-xs:Caption" minOccurs="1" maxOccurs="1"/>
+                  <element ref="muws-p2-xs:Description" minOccurs="0" maxOccurs="unbounded"/>
+                  <element ref="muws-p2-xs:Version" minOccurs="0"/>		  
+                  
+                  
+		  <!-- *** If you wish to implement the MUWS OperationalStatus capability,
+                           uncomment the below line *** -->		  
+		  
+		  <element ref="muws-p2-xs:OperationalStatus"/>
+                  
+
+		  <!-- *** If you wish to implement the MUWS Metrics capability,
+                           uncomment the below line *** -->		                    					          
+                  
+	          <element ref="muws-p2-xs:CurrentTime"/>
+                  
+                  
+		  <!-- *** If you wish to implement the MUWS Relationships capability,
+                           uncomment the below line *** -->		                    				
+	          <!--
+	          <element ref="muws-p2-xs:Relationship" minOccurs="0" maxOccurs="unbounded"/>
+                  -->
+                  
+                  <!--   SHARED PROPERTIES DEFINED muws-ext-1.xsd 
+                  	Resource exposing this properties should add to the list returned by GetProperty for muws-p1-xs:ManageabilityCapability property, the string "http://ws.apache.org/namespaces/muse/capabilities/muws-ext-1". This signals that the resource support extended management capability.
+                  
+                  -->
+                  
+                  
+                  <element ref="ws-ext:ResourceType" minOccurs="1" maxOccurs="1" /> 
+                  <element ref="ws-ext:ResourceHostname" minOccurs="1" maxOccurs="1" /> 
+                  
+                  <!--   PROPERTIES DEFINED resourceadmin.xsd  -->
+                  <element ref="resAdm-prop:SupportedResources" minOccurs="1" maxOccurs="1" /> 
+                  <element ref="resAdm-prop:Discovery" minOccurs="1" maxOccurs="1" /> 
+                
+                            
+                  <!-- *** Uncomment the below any element if you want to permit resource property elements 
+                           with arbitrary names (not generally recommended) *** -->
+                  <!--
+                  <any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax"/>
+                  -->
+                  
+               </sequence>
+            </complexType>
+         </element>
+
+         <!-- *** Add element definitions for custom request/response/fault types here *** -->         
+         
+      </schema>
+   </types>
+   
+   
+   <!-- *** Add message definitions for custom request/response/fault types here *** -->  
+   
+   <!-- Create operation definitions -->
+   
+   <message name="CreateRequest">
+       <part name="document" element="resAdm-prop:Create"/>
+   </message>
+   
+   <message name="CreateResponse">
+	<part name="document" element="resAdm-prop:CreateResponse"/>
+   </message>
+   
+   <message name="CreateFaultMessage">
+       <part name="document" element="resAdm-prop:CreateFault"/>
+   </message>
+   
+   <!-- DestroyResourceResource operation definitions -->
+   
+   <message name="DestroyResourceRequest">
+          <part name="document" element="resAdm-prop:DestroyResource"/>
+      </message>
+      
+      <message name="DestroyResourceResponse">
+   	<part name="document" element="resAdm-prop:DestroyResourceResponse"/>
+      </message>
+      
+      <message name="DestroyResourceFaultMessage">
+          <part name="document" element="resAdm-prop:DestroyResourceFault"/>
+   </message>
+   
+   <message name="InvalidResourceProperties">
+       <part name="document" element="resAdm-prop:InvalidResourceProperties"/>
+   </message>
+
+   <!-- definitions for custom operation SetRelationships -->
+   
+   <message name="SetRelationshipRequest">
+          <part name="document" element="resAdm-prop:SetRelationship"/>
+   </message>
+      
+      <message name="SetRelationshipResponse">
+   	<part name="document" element="resAdm-prop:SetRelationshipResponse"/>
+   </message>
+   
+   <message name="SetRelationshipFaultMessage">
+          <part name="document" element="resAdm-prop:SetRelationshipFault"/>
+   </message>
+   
+   <!-- RemoveRelationship -->
+   <message name="RemoveRelationshipRequest">
+             <part name="document" element="resAdm-prop:RemoveRelationship"/>
+   </message>
+         
+   <message name="RemoveRelationshipResponse">
+      	     <part name="document" element="resAdm-prop:RemoveRelationshipResponse"/>
+   </message>
+      
+   <message name="RemoveRelationshipFaultMessage">
+             <part name="document" element="resAdm-prop:RemoveRelationshipFault"/>
+   </message>
+   
+   
+   
+   <portType name="ResourceAdminPortType" wsrp:ResourceProperties="tns:ResourceAdminProperties">
+         
+      <operation name="GetResourceProperty">
+         <input name="GetResourcePropertyRequest" message="wsrpw:GetResourcePropertyRequest"/>
+         <output name="GetResourcePropertyResponse" message="wsrpw:GetResourcePropertyResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
+         <fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
+      </operation>
+
+      <!-- *** If you wish to implement the WSRP GetMultipleResourceProperties portType,
+               uncomment the below operation block *** -->
+     
+      <operation name="GetMultipleResourceProperties">
+         <input name="GetMultipleResourcePropertiesRequest" message="wsrpw:GetMultipleResourcePropertiesRequest"/>
+         <output name="GetMultipleResourcePropertiesResponse" message="wsrpw:GetMultipleResourcePropertiesResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
+         <fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
+      </operation>
+     
+
+      <!-- *** If you wish to implement the WSRP SetResourceProperties portType,
+               uncomment the below operation block *** -->
+      <!--
+      <operation name="SetResourceProperties">
+         <input name="SetResourcePropertiesRequest" message="wsrpw:SetResourcePropertiesRequest"/>
+         <output name="SetResourcePropertiesResponse" message="wsrpw:SetResourcePropertiesResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
+         <fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
+         <fault name="InvalidSetResourcePropertiesRequestContentFault" message="wsrpw:InvalidSetResourcePropertiesRequestContentFault"/>
+         <fault name="UnableToModifyResourcePropertyFault" message="wsrpw:UnableToModifyResourcePropertyFault"/>
+         <fault name="SetResourcePropertyRequestFailedFault" message="wsrpw:SetResourcePropertyRequestFailedFault"/>
+      </operation>
+      -->
+
+      <!-- *** If you wish to implement the WSRP QueryResourceProperties portType,
+               uncomment the below operation block *** -->
+      
+      <operation name="QueryResourceProperties">
+         <input name="QueryResourcePropertiesRequest" message="wsrpw:QueryResourcePropertiesRequest"/>
+         <output name="QueryResourcePropertiesResponse" message="wsrpw:QueryResourcePropertiesResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
+         <fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
+         <fault name="UnknownQueryExpressionDialectFault" message="wsrpw:UnknownQueryExpressionDialectFault"/>
+         <fault name="InvalidQueryExpressionFault" message="wsrpw:InvalidQueryExpressionFault"/>
+         <fault name="QueryEvaluationErrorFault" message="wsrpw:QueryEvaluationErrorFault"/>
+      </operation>
+      
+
+      <!-- *** If you wish to implement the WSRL ImmediateResourceTermination portType,
+               uncomment the below operation block *** -->
+      <!--
+      <operation name="DestroyResource">
+         <input message="wsrlw:DestroyResourceRequest"/>
+         <output message="wsrlw:DestroyResourceResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
+         <fault name="ResourceNotDestroyedFault" message="wsrlw:ResourceNotDestroyedFault"/>
+      </operation>
+      -->
+
+      <!-- *** If you wish to implement the WSRL ScheduledResourceTermination portType,
+               uncomment the below operation block *** -->
+      <!--
+      <operation name="SetTerminationTime">
+         <input message="wsrlw:SetTerminationTimeRequest"/>
+         <output message="wsrlw:SetTerminationTimeResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
+         <fault name="UnableToSetTerminationTimeFault" message="wsrlw:UnableToSetTerminationTimeFault"/>
+         <fault name="TerminationTimeChangeRejectedFault" message="wsrlw:TerminationTimeChangeRejectedFault"/>
+      </operation>
+      -->
+      
+      <!-- *** If you wish to implement the WSNT NotificationProducer portType,
+               uncomment the below two operation blocks *** -->
+           
+      <operation name="Subscribe">
+         <input message="wsntw:SubscribeRequest" /> 
+         <output message="wsntw:SubscribeResponse" /> 
+         <fault name="ResourceUnknownFault" message="wsntw:ResourceUnknownFault" /> 
+         <fault name="SubscribeCreationFailedFault" message="wsntw:SubscribeCreationFailedFault" /> 
+         <fault name="TopicPathDialectUnknownFault" message="wsntw:TopicPathDialectUnknownFault" /> 
+      </operation>
+      
+      <operation name="GetCurrentMessage">
+         <input message="wsntw:GetCurrentMessageRequest" /> 
+         <output message="wsntw:GetCurrentMessageResponse" /> 
+         <fault name="ResourceUnknownFault" message="wsntw:ResourceUnknownFault" /> 
+         <fault name="InvalidTopicExpressionFault" message="wsntw:InvalidTopicExpressionFault" /> 
+         <fault name="TopicNotSupportedFault" message="wsntw:TopicNotSupportedFault" /> 
+         <fault name="NoCurrentMessageOnTopicFault" message="wsntw:NoCurrentMessageOnTopicFault" /> 
+      </operation>       
+      
+
+      <!-- *** If you wish to implement the MUWS QueryRelationshipsByType operation,
+               uncomment the below operation block *** -->
+      <!--            
+      <operation name="QueryRelationshipsByType">
+         <input message="muws-p2-wsdl:QueryRelationshipsByTypeRequest"/>
+         <output message="muws-p2-wsdl:QueryRelationshipsByTypeResponse"/>         
+      </operation>      
+      -->
+      
+      <!-- *** Add an operation block here for each of your custom operations *** -->
+      
+      <operation name="Create">
+	<input name="CreateRequest"   message="tns:CreateRequest"/>
+	<output name="CreateResponse" message="tns:CreateResponse" />
+	<fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault" />
+	<fault name="CreateFault"     message="tns:CreateFaultMessage" />
+	<fault name="InvalidResourceProperties" message="tns:InvalidResourceProperties"/>
+       </operation>
+       
+        <!-- *** DestroyResource resource -->
+        
+       <operation name="DestroyResource">
+       	<input name="DestroyResourceRequest"   message="tns:DestroyResourceRequest"/>
+       	<output name="DestroyResourceResponse" message="tns:DestroyResourceResponse" />
+       	<fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault" />
+       	<fault name="DestroyResourceFault"     message="tns:DestroyResourceFaultMessage" />
+       	<fault name="InvalidResourceProperties" message="tns:InvalidResourceProperties"/>
+       </operation>
+       
+       
+      <!-- *** SetRelationship *** -->
+      <operation name="SetRelationship">
+      	<input name="SetRelationshipRequest"   message="tns:SetRelationshipRequest"/>
+      	<output name="SetRelationshipResponse" message="tns:SetRelationshipResponse" />
+      	<fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault" />
+      	<fault name="SetRelationshipFault"     message="tns:SetRelationshipFaultMessage" />
+       </operation>
+       
+       <!-- *** RemoveRelationship *** -->
+      <operation name="RemoveRelationship">
+	<input name="RemoveRelationshipRequest"   message="tns:RemoveRelationshipRequest"/>
+	<output name="RemoveRelationshipResponse" message="tns:RemoveRelationshipResponse" />
+	<fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault" />
+	<fault name="RemoveRelationshipFault"     message="tns:RemoveRelationshipFaultMessage" />
+       </operation>
+
+
+   </portType>
+
+   <binding name="ResourceAdminSoapHttpBinding" type="tns:ResourceAdminPortType">
+
+      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+   
+      <operation name="GetResourceProperty">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="InvalidResourcePropertyQNameFault">
+            <soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
+         </fault>
+      </operation>
+
+      <!-- *** If you wish to implement the WSRP GetMultipleResourceProperties portType,
+               uncomment the below operation block *** -->
+      
+      <operation name="GetMultipleResourceProperties">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="InvalidResourcePropertyQNameFault">
+            <soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
+         </fault>
+      </operation>
+    
+
+      <!-- *** If you wish to implement the WSRP SetResourceProperties portType,
+               uncomment the below operation block *** -->
+      <!--
+      <operation name="SetResourceProperties">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="InvalidResourcePropertyQNameFault">
+            <soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
+         </fault>
+         <fault name="UnableToModifyResourcePropertyFault">
+            <soap:fault name="UnableToModifyResourcePropertyFault" use="literal"/>
+         </fault>
+         <fault name="InvalidSetResourcePropertiesRequestContentFault">
+            <soap:fault name="InvalidSetResourcePropertiesRequestContentFault" use="literal"/>
+         </fault>
+         <fault name="SetResourcePropertyRequestFailedFault">
+            <soap:fault name="SetResourcePropertyRequestFailedFault" use="literal"/>
+         </fault>
+      </operation>
+      -->
+
+      <!-- *** If you wish to implement the WSRP QueryResourceProperties portType,
+               uncomment the below operation block *** -->
+     
+      <operation name="QueryResourceProperties">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="InvalidResourcePropertyQNameFault">
+            <soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
+         </fault>
+         <fault name="UnknownQueryExpressionDialectFault">
+            <soap:fault name="UnknownQueryExpressionDialectFault" use="literal"/>
+         </fault>
+         <fault name="InvalidQueryExpressionFault">
+            <soap:fault name="InvalidQueryExpressionFault" use="literal"/>
+         </fault>
+         <fault name="QueryEvaluationErrorFault">
+            <soap:fault name="QueryEvaluationErrorFault" use="literal"/>
+         </fault>
+      </operation>
+     
+      
+      <!-- *** If you wish to implement the WSRL ImmediateResourceTermination portType,
+               uncomment the below operation block *** -->
+      <!--      
+      <operation name="DestroyResource">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="ResourceNotDestroyedFault">
+            <soap:fault name="ResourceNotDestroyedFault" use="literal"/>
+         </fault>
+      </operation>            
+      -->
+    
+      <!-- *** If you wish to implement the WSRL ScheduledResourceTermination portType,
+               uncomment the below operation block *** -->
+      <!--          
+      <operation name="SetTerminationTime">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="UnableToSetTerminationTimeFault">
+            <soap:fault name="UnableToSetTerminationTimeFault" use="literal"/>
+         </fault>
+         <fault name="TerminationTimeChangeRejectedFault">
+            <soap:fault name="TerminationTimeChangeRejectedFault" use="literal"/>
+         </fault>
+      </operation>
+      -->
+
+      <!-- *** If you wish to implement the WSNT NotificationProducer portType,
+               uncomment the below two operation blocks *** -->
+                    
+      <operation name="Subscribe">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="SubscribeCreationFailedFault">
+            <soap:fault name="SubscribeCreationFailedFault" use="literal"/>
+         </fault>
+         <fault name="TopicPathDialectUnknownFault">
+            <soap:fault name="TopicPathDialectUnknownFault" use="literal"/>
+         </fault>         
+      </operation>            
+      <operation name="GetCurrentMessage">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="InvalidTopicExpressionFault">
+            <soap:fault name="InvalidTopicExpressionFault" use="literal"/>
+         </fault>
+         <fault name="TopicNotSupportedFault">
+            <soap:fault name="TopicPathDialectUnknownFault" use="literal"/>
+         </fault>         
+         <fault name="NoCurrentMessageOnTopicFault">
+            <soap:fault name="NoCurrentMessageOnTopicFault" use="literal"/>
+         </fault>         
+      </operation>            
+      
+
+      <!-- *** If you wish to implement the MUWS QueryRelationshipsByType operation,
+               uncomment the below operation block *** -->
+      <!--
+      <operation name="QueryRelationshipsByType">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+      </operation>            
+      -->
+      
+      <!-- *** Add an operation block here for each of your custom operations *** --> 
+      
+      <!-- Create operation for creatoin of Resources  -->
+      
+      <operation name="Create">
+         <soap:operation style="document"/>
+         <input>
+	    <soap:body use="literal"/>
+         </input>
+         <output>
+	    <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+	    <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="CreateFault">
+	    <soap:fault name="CreateFault" use="literal"/>
+         </fault>
+         <fault name="InvalidResourceProperties">
+	    <soap:fault name="InvalidResourceProperties" use="literal"/>
+         </fault>
+          
+      </operation> 
+      
+      
+       <!-- DestroyResource operation for destruction of Resources  -->
+            
+            <operation name="DestroyResource">
+               <soap:operation style="document"/>
+               <input>
+      	    <soap:body use="literal"/>
+               </input>
+               <output>
+      	    <soap:body use="literal"/>
+               </output>
+               <fault name="ResourceUnknownFault">
+      	    <soap:fault name="ResourceUnknownFault" use="literal"/>
+               </fault>
+               <fault name="DestroyResourceFault">
+      	    <soap:fault name="DestroyResourceFault" use="literal"/>
+               </fault>
+               <fault name="InvalidResourceProperties">
+      	    <soap:fault name="InvalidResourceProperties" use="literal"/>
+               </fault>
+                
+            </operation> 
+      
+      <!-- SetRelationship operation -->
+      
+      <operation name="SetRelationship">
+               <soap:operation style="document"/>
+               <input>
+      	    <soap:body use="literal"/>
+               </input>
+               <output>
+      	    <soap:body use="literal"/>
+               </output>
+               <fault name="ResourceUnknownFault">
+      	    <soap:fault name="ResourceUnknownFault" use="literal"/>
+               </fault>
+               <fault name="SetRelationshipFault">
+      	    <soap:fault name="SetRelationshipFault" use="literal"/>
+               </fault>
+            
+     </operation> 
+     
+     <operation name="RemoveRelationship">
+                    <soap:operation style="document"/>
+                    <input>
+           	    <soap:body use="literal"/>
+                    </input>
+                    <output>
+           	    <soap:body use="literal"/>
+                    </output>
+                    <fault name="ResourceUnknownFault">
+           	    <soap:fault name="ResourceUnknownFault" use="literal"/>
+                    </fault>
+                    <fault name="RemoveRelationshipFault">
+           	    <soap:fault name="RemoveRelationshipFault" use="literal"/>
+                    </fault>
+                 
+     </operation>    
+      
+      
+   </binding>
+
+   <service name="ResourceAdminService">
+      <!-- Note: the port name becomes the service name in the wsdd generated by Wsdl2Java -->
+      <!-- *** Change the port name and the soap:address location below to reflect the desired endpoint URL *** -->
+      <port name="resourceadmin" binding="tns:ResourceAdminSoapHttpBinding">
+         <soap:address location="http://localhost:8080/muse/services/resourceadmin" />
+      </port>
+   </service>
+
+</definitions>

Added: incubator/muse/trunk/src/site/content/example/src/wsdl/resourceadmin.xsd
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/example/src/wsdl/resourceadmin.xsd?rev=191534&view=auto
==============================================================================
--- incubator/muse/trunk/src/site/content/example/src/wsdl/resourceadmin.xsd (added)
+++ incubator/muse/trunk/src/site/content/example/src/wsdl/resourceadmin.xsd Mon Jun 20 11:51:17 2005
@@ -0,0 +1,238 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" targetNamespace="http://ws.apache.org/muse/example/resourceadmin/properties"
+xmlns:tns="http://ws.apache.org/muse/example/resourceadmin/properties" xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
+xmlns:muws-p2-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd" 
+xmlns:ws-ext="http://ws.apache.org/namespaces/muse/muws-ext-1.xsd" >
+
+
+ <xs:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
+      schemaLocation="../spec/wsrf/WS-BaseFaults-1_2-Draft_01.xsd"/>
+ <xs:import namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"
+      schemaLocation="../spec/wsa/WS-Addressing-2004_08_10.xsd"/>
+ <xs:import namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd"
+            schemaLocation="../spec/wsdm/MUWS-Part2-1_0.xsd"/>
+ <xs:import namespace="http://ws.apache.org/namespaces/muse/muws-ext-1.xsd"
+ 	    schemaLocation="../wsdl/muws-ext-1.xsd"/>
+ 
+ 
+ <!-- The SupportedResources  SupportedResourceType -->
+     	
+<xs:complexType name="SupportedResourceType">
+	<xs:sequence>
+		<xs:element ref="ws-ext:ResourceType" minOccurs="0" maxOccurs="unbounded" />
+	</xs:sequence>
+</xs:complexType>
+
+<!-- It is SupportedResources property exposed by resourceadmin -->
+<xs:element name="SupportedResources" type="tns:SupportedResourceType"/>
+ 
+      
+<xs:complexType name="CreateParamsType">
+    <xs:sequence>
+      <xs:element ref="ws-ext:ResourceType" minOccurs="1" maxOccurs="1"/>
+      <xs:any minOccurs="0"
+           namespace="##any" processContents="lax"/>
+    </xs:sequence>
+</xs:complexType>
+
+
+<xs:element name="CreateParams" type="tns:CreateParamsType">
+    <xs:annotation>
+      <xs:documentation>Generic Parameters for  Create operation</xs:documentation>
+    </xs:annotation>
+</xs:element>
+
+<xs:element name="Create">
+    <xs:annotation>
+      <xs:documentation>Request message for the Create operation</xs:documentation>
+    </xs:annotation>
+    <xs:complexType>
+      <xs:sequence>
+	<xs:element ref="tns:CreateParams"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+
+  <xs:element name="CreateResponse">
+    <xs:annotation>
+      <xs:documentation>Response message for the Create operation</xs:documentation>
+    </xs:annotation>
+    <xs:complexType>
+      <xs:sequence>
+	<xs:element ref="wsa:EndpointReference"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  
+  
+
+  <xs:element name="CreateFault">
+    <xs:annotation>
+      <xs:documentation>Fault indicating that for some reason the Create operation failed</xs:documentation>
+    </xs:annotation>
+    <xs:complexType>
+      <xs:complexContent>
+	<xs:extension base="wsrf-bf:BaseFaultType"/>
+      </xs:complexContent>
+    </xs:complexType>
+  </xs:element>
+
+
+
+
+<!-- DestroyResource -->
+
+<xs:complexType name="DestroyResourceParamsType">
+    <xs:sequence>
+      <xs:element ref="ws-ext:ResourceType" minOccurs="1" maxOccurs="1"/>
+      <xs:element ref="wsa:EndpointReference" minOccurs="1" maxOccurs="1"/>
+      <xs:any minOccurs="0" namespace="##any" processContents="lax"/>
+    </xs:sequence>
+</xs:complexType>
+
+<xs:element name="DestroyResourceParams" type="tns:DestroyResourceParamsType">
+    <xs:annotation>
+      <xs:documentation>Generic Parameters for  DestroyResource operation</xs:documentation>
+    </xs:annotation>
+</xs:element>
+
+<xs:element name="DestroyResource">
+    <xs:annotation>
+      <xs:documentation>Request message for the DestroyResource operation</xs:documentation>
+    </xs:annotation>
+    <xs:complexType>
+      <xs:sequence>
+	<xs:element ref="tns:DestroyResourceParams"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+
+  <xs:element name="DestroyResourceResponse">
+    <xs:annotation>
+      <xs:documentation>Response message for the DestroyResource operation</xs:documentation>
+    </xs:annotation>
+    <xs:complexType/>
+ </xs:element>
+  
+  
+
+  <xs:element name="DestroyResourceFault">
+    <xs:annotation>
+      <xs:documentation>Fault indicating that for some reason the DestroyResource operation failed</xs:documentation>
+    </xs:annotation>
+    <xs:complexType>
+      <xs:complexContent>
+	<xs:extension base="wsrf-bf:BaseFaultType"/>
+      </xs:complexContent>
+    </xs:complexType>
+  </xs:element>
+
+
+  <xs:element name="InvalidResourceProperties">
+    <xs:annotation>
+      <xs:documentation>Fault indicating that the input is not valid for this service</xs:documentation>
+    </xs:annotation>
+    <xs:complexType>
+      <xs:complexContent>
+	<xs:extension base="wsrf-bf:BaseFaultType"/>
+      </xs:complexContent>
+    </xs:complexType>
+</xs:element>
+
+<!-- SetRelationship -->
+
+<xs:complexType name="RelationshipFromType">
+     <xs:sequence>
+     	   <xs:element ref="muws-p2-xs:Participant"  />
+      </xs:sequence>
+ </xs:complexType>
+ 
+ <xs:complexType name="RelationshipToType">
+      <xs:sequence>
+      	<xs:element ref="muws-p2-xs:Participant" minOccurs="1" maxOccurs="unbounded"/>
+      </xs:sequence>
+ </xs:complexType>
+ 
+ <xs:element name="RelationshipFrom" type="tns:RelationshipFromType">
+ <xs:annotation>
+       <xs:documentation>Parameter for SetRelationship operation</xs:documentation>
+    </xs:annotation>
+ </xs:element>
+ 
+ <xs:element name="RelationshipTo" type="tns:RelationshipToType">
+  <xs:annotation>
+        <xs:documentation>Parameter for SetRelationship operation</xs:documentation>
+     </xs:annotation>
+ </xs:element>
+ 
+ 
+<xs:element name="SetRelationship">
+    <xs:annotation>
+      <xs:documentation>Request message for the SetRelationship operation</xs:documentation>
+    </xs:annotation>
+    <xs:complexType>
+      <xs:sequence>
+	<xs:element ref="tns:RelationshipFrom"/>
+	<xs:element ref="muws-p2-xs:Type"/>
+	<xs:element ref="tns:RelationshipTo"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+
+  <xs:element name="SetRelationshipResponse">
+    <xs:annotation>
+      <xs:documentation>Response message for the SetRelationship operation</xs:documentation>
+    </xs:annotation>
+    <xs:complexType/>
+  </xs:element>
+  
+  <xs:element name="SetRelationshipFault">
+    <xs:annotation>
+      <xs:documentation>Fault indicating that for some reason the SetRelationship operation failed</xs:documentation>
+    </xs:annotation>
+    <xs:complexType>
+      <xs:complexContent>
+	<xs:extension base="wsrf-bf:BaseFaultType"/>
+      </xs:complexContent>
+    </xs:complexType>
+   </xs:element>
+   
+   <xs:element name="RemoveRelationship">
+       <xs:annotation>
+         <xs:documentation>Request message for the RemoveRelationship operation</xs:documentation>
+       </xs:annotation>
+       <xs:complexType>
+         <xs:sequence>
+   		<xs:element ref="muws-p2-xs:Relationship"/>
+	 </xs:sequence>
+       </xs:complexType>
+     </xs:element>
+     
+       <xs:element name="RemoveRelationshipResponse">
+         <xs:annotation>
+           <xs:documentation>Response message for the RemoveRelationship operation</xs:documentation>
+         </xs:annotation>
+         <xs:complexType/>
+       </xs:element>
+       
+       <xs:element name="RemoveRelationshipFault">
+         <xs:annotation>
+           <xs:documentation>Fault indicating that for some reason the RemoveRelationship operation failed</xs:documentation>
+         </xs:annotation>
+         <xs:complexType>
+           <xs:complexContent>
+     	<xs:extension base="wsrf-bf:BaseFaultType"/>
+           </xs:complexContent>
+         </xs:complexType>
+   </xs:element>
+   
+   <xs:complexType name="DiscoveryType">
+   	      <xs:sequence>
+   	      	<xs:element ref="wsa:EndpointReference" minOccurs="0" maxOccurs="unbounded"/>
+   	      </xs:sequence>
+   </xs:complexType>
+   
+   <xs:element name="Discovery" type="tns:DiscoveryType"/>
+
+    
+</xs:schema>

Added: incubator/muse/trunk/src/site/content/example/src/wsdl/shared.xsd
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/example/src/wsdl/shared.xsd?rev=191534&view=auto
==============================================================================
--- incubator/muse/trunk/src/site/content/example/src/wsdl/shared.xsd (added)
+++ incubator/muse/trunk/src/site/content/example/src/wsdl/shared.xsd Mon Jun 20 11:51:17 2005
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified" 
+    targetNamespace="http://ws.apache.org/muse/example/shared"
+    xmlns:tns="http://ws.apache.org/muse/example/shared"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    xmlns:muws-ext="http://ws.apache.org/namespaces/muse/muws-ext-1.xsd">
+    <xs:import namespace="http://ws.apache.org/namespaces/muse/muws-ext-1.xsd" schemaLocation="../wsdl/muws-ext-1.xsd"/>
+ 	
+	<!-- CumulativeExecutionTime: cumulative process time in milisec to complete all processes type wsf:LongMetric -->
+	<xs:element name="CumulativeExecutionTime" type="muws-ext:LongMetric"/>
+    	
+</xs:schema>

Added: incubator/muse/trunk/src/site/content/example/test.xml
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/example/test.xml?rev=191534&view=auto
==============================================================================
--- incubator/muse/trunk/src/site/content/example/test.xml (added)
+++ incubator/muse/trunk/src/site/content/example/test.xml Mon Jun 20 11:51:17 2005
@@ -0,0 +1,282 @@
+<?xml version="1.0"?>
+
+<project name="test_runfile" default="sendRequests" basedir=".">
+
+	<property environment="env" />   
+	<property file="build.properties" />
+
+	<!-- workaround for those IDEs that dont set ant.home as per the ant script -->
+	<property name="ant.home"               value="env.ANT_HOME"/>
+	<property name="resourceadmin.endpoint.url"   value="${base.url}/resourceadmin " /> 
+	<property name="integrationserver.endpoint.url"   value="${base.url}/integrationserver" />
+	<property name="businessprocesstype.endpoint.url"       value="${base.url}/businessprocesstype" />
+	<property name="application.endpoint.url"       value="${base.url}/application" />
+	<property name="host.endpoint.url"       value="${base.url}/host" />
+
+	<property name="requests.dir"           location="${basedir}/requests"/>
+
+
+<target name="sendRequests"
+	   description="Sends a requests to the services for testing">  
+	   
+	   
+	<!-- ====================================================================	-->
+	<!-- DESCRIPTION: Below is an example of the script which will automate 	-->
+	<!-- Creation of the resources, subscriptions, properties checks, operations	-->
+	<!-- execution. You are free to add/modify the sequence and build the script	-->
+	<!-- with your own sequence. Remember that you need to have VALID muse request	-->
+	<!-- in the form of .xml file. Currently all requests are stored at /requests	-->
+	<!-- directory. 								-->
+	<!-- NOTE: base.url is defined in build.properties file. Make sure it correctly -->
+	<!-- points to your Web Server with muse example deployed and the server is up 	-->
+	<!-- and running.								-->
+	<!-- ==================================================================== 	-->   
+
+
+	<!-- ====================================================================	-->
+	<!-- STEP 0 - checking supported resource types					-->
+	<!-- ==================================================================== 	-->
+
+	<ant antfile="soapclient.xml">
+	<property name="url" value="${resourceadmin.endpoint.url}" />
+	<property name="xml" value="${requests.dir}/GetPropertySupportedTypes_ResourceAdmin.xml" />
+	</ant>
+
+	<!-- ====================================================================	-->
+	<!-- STEP 1 - sbuscribe to create resource notification				-->
+	<!-- ====================================================================	-->
+	<ant antfile="soapclient.xml">
+	<property name="url" value="${resourceadmin.endpoint.url}" />
+	<property name="xml" value="${requests.dir}/SubscribetoCreateResource_ResourceAdmin.xml" />
+	</ant>
+
+	<!-- ====================================================================	-->
+	<!-- STEP 2 - sbuscribe to destroy resource notification 			-->
+	<!-- ====================================================================	-->
+	<ant antfile="soapclient.xml">
+	    <property name="url" value="${resourceadmin.endpoint.url}" />
+	    <property name="xml" value="${requests.dir}/SubscribeToDestroyResource_ResourceAdmin.xml" />
+	</ant>
+
+	<!-- ====================================================================	-->
+	<!-- STEP 3 - create resources 							-->
+	<!-- ====================================================================	-->
+	<ant antfile="soapclient.xml">
+	<property name="url" value="${resourceadmin.endpoint.url}" />
+	<property name="xml" value="${requests.dir}/CreateIntegrationServer.xml" />
+	</ant>
+
+	<ant antfile="soapclient.xml">
+	   <property name="url" value="${resourceadmin.endpoint.url}" />
+	   <property name="xml" value="${requests.dir}/CreateBusinessProcess.xml" />
+	</ant>
+
+	<ant antfile="soapclient.xml">
+	   <property name="url" value="${resourceadmin.endpoint.url}" />
+	   <property name="xml" value="${requests.dir}/CreateEnterpriseApplication.xml" />
+	</ant>
+
+	<ant antfile="soapclient.xml">
+	   <property name="url" value="${resourceadmin.endpoint.url}" />
+	   <property name="xml" value="${requests.dir}/CreateHost.xml" />
+	</ant>
+
+	<!-- ====================================================================	-->
+	<!-- STEP 4 - check properties 							-->
+	<!-- From resourceadmin 							-->
+	<!-- ====================================================================	-->
+
+	<ant antfile="soapclient.xml">
+	<property name="url" value="${resourceadmin.endpoint.url}" />
+	<property name="xml" value="${requests.dir}/GetPropertyDiscovery_ResourceAdmin.xml" />
+	</ant>
+
+	<ant antfile="soapclient.xml">
+	<property name="url" value="${resourceadmin.endpoint.url}" />
+	<property name="xml" value="${requests.dir}/GetPropertyManagebilityCapability_ResourceAdmin.xml" />
+	</ant>
+	<ant antfile="soapclient.xml">
+	<property name="url" value="${resourceadmin.endpoint.url}" />
+	<property name="xml" value="${requests.dir}/GetPropertyTopic_ResourceAdmin.xml" />
+	</ant>
+
+	<!-- ====================================================================	-->
+	<!-- From Application 								-->
+	<!-- ====================================================================	-->
+
+
+	<ant antfile="soapclient.xml">
+	<property name="url" value="${application.endpoint.url}" />
+	<property name="xml" value="${requests.dir}/GetPropertyManagementCapability_Application.xml" />
+	</ant>
+
+	<ant antfile="soapclient.xml">
+	<property name="url" value="${application.endpoint.url}" />
+	<property name="xml" value="${requests.dir}/GetPropertyTopic_Application.xml" />
+	</ant>
+
+	<ant antfile="soapclient.xml">
+	<property name="url" value="${application.endpoint.url}" />
+	<property name="xml" value="${requests.dir}/GetCumulativeTime_Application.xml" />
+	</ant>
+
+
+	<!-- ====================================================================	-->
+	<!-- From IntegrationServer 							-->
+	<!-- ====================================================================	-->
+
+	<ant antfile="soapclient.xml">
+		<property name="url" value="${integrationserver.endpoint.url}" />
+		<property name="xml" value="${requests.dir}/GetPropertyTopic_IntegrationServer.xml" />
+	</ant>
+
+	<!-- ====================================================================	-->	
+	<!-- From Host 									-->
+	<!-- ====================================================================	-->
+
+
+	<ant antfile="soapclient.xml">
+		<property name="url" value="${host.endpoint.url}" />
+		<property name="xml" value="${requests.dir}/GetPropertyManagementCapability_Host.xml" />
+	</ant>
+
+	<ant antfile="soapclient.xml">
+		<property name="url" value="${host.endpoint.url}" />
+		<property name="xml" value="${requests.dir}/GetPropertyTopic_Host.xml" />
+	</ant>
+
+	<!-- ====================================================================	-->
+	<!-- STEP 5 subscribe to relationship create/destroy notifications		-->
+	<!-- on integrationserver 							-->
+	<!-- ====================================================================	-->
+
+	<ant antfile="soapclient.xml">
+		<property name="url" value="${integrationserver.endpoint.url}" />
+		<property name="xml" value="${requests.dir}/SubscribeToCreateRelationship_IntegrationServer.xml" />
+	</ant>
+
+	<ant antfile="soapclient.xml">
+		<property name="url" value="${integrationserver.endpoint.url}" />
+		<property name="xml" value="${requests.dir}/SubscribeToDestroyRelationship_IntegrationServer.xml" />
+	</ant>
+
+	<!-- ==================================================================== 	-->
+	<!-- STEP 6 set relationship integrationserver to BusinessProcess		-->
+	<!-- ====================================================================	-->	
+	<ant antfile="soapclient.xml">
+		<property name="url" value="${resourceadmin.endpoint.url}" />
+		<property name="xml" value="${requests.dir}/SetRelationship_IntegrationServerToBP.xml" />
+	</ant>
+
+
+	<!-- STEP 7 chack relationship property on integrationserver -->
+
+	<ant antfile="soapclient.xml">
+		<property name="url" value="${integrationserver.endpoint.url}" />
+		<property name="xml" value="${requests.dir}/GetRelationshipProperty_IntegrationServer.xml" />
+	</ant>
+
+	<ant antfile="soapclient.xml">
+		<property name="url" value="${integrationserver.endpoint.url}" />
+		<property name="xml" value="${requests.dir}/GetCurrentMessageForTopic_IntegrationServer.xml" />
+	</ant>
+
+	<!-- ====================================================================	-->
+	<!-- STEP 8 remove relationship from  integrationserver 			-->
+	<!-- ====================================================================	-->
+	<ant antfile="soapclient.xml">
+		<property name="url" value="${resourceadmin.endpoint.url}" />
+		<property name="xml" value="${requests.dir}/RemoveRelationship_IntegrationServerToBP.xml" />
+	</ant>
+
+	<!-- ====================================================================	-->
+	<!-- STEP 9 get property discovery from  resourceadmin 				-->
+	<!-- ====================================================================	-->
+	<ant antfile="soapclient.xml">
+		<property name="url" value="${resourceadmin.endpoint.url}" />
+		<property name="xml" value="${requests.dir}/GetPropertyDiscovery_ResourceAdmin.xml" />
+	</ant>
+
+	<!-- ====================================================================	-->
+	<!-- STEP 10 destroy host1  resourceadmin					-->
+	<!-- ====================================================================	-->
+
+	<!--ant antfile="soapclient.xml">
+		<property name="url" value="${resourceadmin.endpoint.url}" />
+		<property name="xml" value="${requests.dir}/DestroyResourceHost_ResourceaAdmin.xml" />
+	</ant-->
+
+	<!-- ====================================================================	-->
+	<!-- STEP 11 get property discovery from  resourceadmin 			-->
+	<!-- ====================================================================	-->
+	<ant antfile="soapclient.xml">
+		<property name="url" value="${resourceadmin.endpoint.url}" />
+		<property name="xml" value="${requests.dir}/GetPropertyDiscovery_ResourceAdmin.xml" />
+	</ant>
+
+	<!-- ====================================================================	-->
+	<!-- STEP 12 subscribe to operational events application 			-->
+	<!-- ====================================================================	-->
+	<ant antfile="soapclient.xml">
+		<property name="url" value="${application.endpoint.url}" />
+		<property name="xml" value="${requests.dir}/SubscribeToOperationalEvent_Application.xml" />
+	</ant>
+
+	<!-- ====================================================================	-->
+	<!-- STEP 13 start operational events application 				-->
+	<!-- ====================================================================	-->
+	<ant antfile="soapclient.xml">
+		<property name="url" value="${application.endpoint.url}" />
+		<property name="xml" value="${requests.dir}/StartOperationalEvents_Application.xml" />
+	</ant>
+
+	<!-- ====================================================================	-->
+	<!-- STEP 13 stop operational events application 				-->
+	<!-- ====================================================================	-->
+	<ant antfile="soapclient.xml">
+		<property name="url" value="${application.endpoint.url}" />
+		<property name="xml" value="${requests.dir}/StopOperationalEvents_Application.xml" />
+	</ant>
+
+	<!-- ====================================================================	-->
+	<!-- STEP 14 check property NumberOfRunningProcesses from BusinessProcessType 	-->
+	<!-- ====================================================================	-->
+	<ant antfile="soapclient.xml">
+		<property name="url" value="${businessprocesstype.endpoint.url}" />
+		<property name="xml" value="${requests.dir}/GetPropertyNumOfRunProc_BP.xml" />
+	</ant>
+
+	<!-- ====================================================================	-->
+	<!-- STEP 15 suspend process at BusinessProcessType 				-->
+	<!-- ====================================================================	-->
+		<ant antfile="soapclient.xml">
+		<property name="url" value="${businessprocesstype.endpoint.url}" />
+		<property name="xml" value="${requests.dir}/Suspend_BP.xml" />
+	</ant>
+
+	<!-- ====================================================================	-->
+	<!-- STEP 16 check property NumberOfRunningProcesses from BusinessProcessType 	-->
+	<!-- ====================================================================	-->
+	<ant antfile="soapclient.xml">
+		<property name="url" value="${businessprocesstype.endpoint.url}" />
+		<property name="xml" value="${requests.dir}/GetPropertyNumOfRunProc_BP.xml" />
+	</ant>
+
+	<!-- ====================================================================	-->
+	<!-- STEP 17 resume process at BusinessProcessType 				-->
+	<!-- ====================================================================	-->
+	<ant antfile="soapclient.xml">
+		<property name="url" value="${businessprocesstype.endpoint.url}" />
+		<property name="xml" value="${requests.dir}/Resume_BP.xml" />
+	</ant>
+
+	<!-- ====================================================================	-->
+	<!-- STEP 18 check property NumberOfRunningProcesses from BusinessProcessType 	-->
+	<!-- ====================================================================	-->
+	<ant antfile="soapclient.xml">
+		<property name="url" value="${businessprocesstype.endpoint.url}" />
+		<property name="xml" value="${requests.dir}/GetPropertyNumOfRunProc_BP.xml" />
+	</ant>
+
+</target>   
+</project>



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


Mime
View raw message