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 [28/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/application.wsdl
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/example/src/wsdl/application.wsdl?rev=191534&view=auto
==============================================================================
--- incubator/muse/trunk/src/site/content/example/src/wsdl/application.wsdl (added)
+++ incubator/muse/trunk/src/site/content/example/src/wsdl/application.wsdl Mon Jun 20 11:51:17 2005
@@ -0,0 +1,562 @@
+<?xml version="1.0"?>
+
+<definitions name="Application"
+             targetNamespace="http://ws.apache.org/muse/example/application"
+             xmlns="http://schemas.xmlsoap.org/wsdl/"
+             xmlns:tns="http://ws.apache.org/muse/example/application"
+             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:app-prop="http://ws.apache.org/muse/example/application/properties"
+             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/application"
+              xmlns:tns="http://ws.apache.org/muse/example/application"
+              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:example-wsf="http://ws.apache.org/muse/example/shared"
+              xmlns:app-prop="http://ws.apache.org/muse/example/application/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/shared" 
+                     schemaLocation="../wsdl/shared.xsd"/>
+         <xsd:import namespace="http://ws.apache.org/muse/example/application/properties" 
+                     schemaLocation="../wsdl/application.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="ApplicationProperties">
+            <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="1" /> 
+                  <element ref="wsnt:FixedTopicSet" /> 
+                  <element ref="wsnt:TopicExpressionDialects" minOccurs="1" maxOccurs="1" /> 
+             
+                  <!-- *** 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="1" 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 APPLICATION.XSD -->
+                  
+                  <element ref="app-prop:NumberOfOutstandingRequests" minOccurs="1" maxOccurs="1" />
+                  <element ref="app-prop:TotalNumberOfRequests" minOccurs="1" maxOccurs="1" />
+                  <element ref="example-wsf:CumulativeExecutionTime" 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 *** -->  
+   
+   
+      <message name="StartEventsRequest">
+            <part name="StartEventsRequest" element="app-prop:StartEvents"/>
+      </message>
+      <message name="StartEventsResponse">
+            <part name="StartEventsResponse" element="app-prop:StartEventsResponse"/>
+      </message>
+      
+      <message name="StopEventsRequest">
+             <part name="StopEventsRequest" element="app-prop:StopEvents"/>
+      </message>
+      <message name="StopEventsResponse">
+              <part name="ResumeResponse" element="app-prop:StopEventsResponse"/>
+      </message>
+      
+      <message name="EventsEmitFaultMessage">
+      	      <part name="document" element="app-prop:EventsEmitFault"/>
+      </message>
+   
+   <portType name="ApplicationPortType" wsrp:ResourceProperties="tns:ApplicationProperties">
+         
+      <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 *** -->
+      
+      
+      <operation name="StartEvents">
+              <input message="tns:StartEventsRequest" /> 
+              <output message="tns:StartEventsResponse" /> 
+              <fault name="EventsEmitFault" message="tns:EventsEmitFaultMessage" />
+            </operation>
+            
+            <operation name="StopEvents">
+              <input message="tns:StopEventsRequest" /> 
+              <output message="tns:StopEventsResponse" /> 
+              <fault name="EventsEmitFault" message="tns:EventsEmitFaultMessage" />
+        </operation>
+      
+      <!-- GetMetadata operation for retrieving WSDL -->
+                  
+	<operation name="GetMetadata">
+	    <input message="wsx:GetMetadataMsg"/>
+	    <output message="wsx:GetMetadataResponseMsg"/>         
+	</operation>      
+      
+
+   </portType>
+
+   <binding name="ApplicationSoapHttpBinding" type="tns:ApplicationPortType">
+
+      <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 *** --> 
+      
+      <operation name="StartEvents">
+	<soap:operation style="document"/>
+	   <input>
+	     <soap:body use="literal"/>
+	   </input>
+	   <output>
+	     <soap:body use="literal"/>
+	   </output>
+	   <fault name="EventsEmitFault">
+	     <soap:fault name="EventsEmitFault" use="literal"/>
+           </fault>
+      </operation> 
+      <operation name="StopEvents">
+	<soap:operation style="document"/>
+	   <input>
+	     <soap:body use="literal"/>
+	   </input>
+	   <output>
+	     <soap:body use="literal"/>
+	   </output>
+	   <fault name="EventsEmitFault">
+	     <soap:fault name="EventsEmitFault" use="literal"/>
+	   </fault>
+      </operation> 
+      
+      <!-- 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="ApplicationService">
+      <!-- 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="application" binding="tns:ApplicationSoapHttpBinding">
+         <soap:address location="http://localhost:8080/muse/services/application" />
+      </port>
+   </service>
+
+</definitions>

Added: incubator/muse/trunk/src/site/content/example/src/wsdl/application.xsd
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/example/src/wsdl/application.xsd?rev=191534&view=auto
==============================================================================
--- incubator/muse/trunk/src/site/content/example/src/wsdl/application.xsd (added)
+++ incubator/muse/trunk/src/site/content/example/src/wsdl/application.xsd Mon Jun 20 11:51:17 2005
@@ -0,0 +1,66 @@
+<?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/application/properties"
+xmlns:ws-ext="http://ws.apache.org/namespaces/muse/muws-ext-1.xsd" 
+xmlns:wsbf="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.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://ws.apache.org/namespaces/muse/muws-ext-1.xsd" 
+	schemaLocation="../wsdl/muws-ext-1.xsd"/>
+    
+	<!-- DATA TYPES SPECIFIC FOR APPLICATION -->
+	<!-- NumberOfOutstandingRequest: gauge metric type ws-ext:IntMetric -->
+	<xs:element name="NumberOfOutstandingRequests" type="ws-ext:IntMetric"/>
+	
+	<!-- TotalNumberOfRequest: gauge metric type ws-ext:LongMetric -->
+	<xs:element name="TotalNumberOfRequests" type="ws-ext:LongMetric"/>
+	
+	
+	<xs:element name="StartEvents">
+	    <xs:annotation>
+	      <xs:documentation>Request message for the StartEvents operation</xs:documentation>
+	    </xs:annotation>
+	    <xs:complexType>
+	      <xs:sequence>
+	       <xs:element name="Delay" type="xs:string" >
+		    <xs:annotation>
+		      <xs:documentation>The elapsed time in minutes before events start to be emitted</xs:documentation>
+		    </xs:annotation>
+	       </xs:element>
+	       <xs:element name="Frequency" type="xs:string" >
+		     <xs:annotation>
+		       <xs:documentation>The frequence in secconds in which the events will be emitted</xs:documentation>
+		     </xs:annotation>
+		</xs:element>
+	     </xs:sequence>
+	    </xs:complexType>
+       </xs:element>
+
+
+	<xs:element name="StartEventsResponse">
+		<xs:complexType />
+	</xs:element>
+
+
+	<!-- StopEvents  --> 
+
+	<xs:element name="StopEvents" >
+	<xs:complexType />
+	</xs:element>
+
+	<xs:element name="StopEventsResponse">
+		<xs:complexType />
+	</xs:element>
+
+	<xs:element name="EventsEmitFault">
+	    <xs:annotation>
+	      <xs:documentation>Fault indicating that for some reason the EventsStart/StopEvents operation failed</xs:documentation>
+	    </xs:annotation>
+	    <xs:complexType>
+	      <xs:complexContent>
+		<xs:extension base="wsbf:BaseFaultType"/>
+	      </xs:complexContent>
+	    </xs:complexType>
+	</xs:element>
+	
+	
+</xs:schema>

Added: incubator/muse/trunk/src/site/content/example/src/wsdl/businessprocesstype.wsdl
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/example/src/wsdl/businessprocesstype.wsdl?rev=191534&view=auto
==============================================================================
--- incubator/muse/trunk/src/site/content/example/src/wsdl/businessprocesstype.wsdl (added)
+++ incubator/muse/trunk/src/site/content/example/src/wsdl/businessprocesstype.wsdl Mon Jun 20 11:51:17 2005
@@ -0,0 +1,580 @@
+<?xml version="1.0"?>
+
+<definitions name="BusinessProcessType"
+             targetNamespace="http://ws.apache.org/muse/example/businessprocesstype"
+             xmlns="http://schemas.xmlsoap.org/wsdl/"
+             xmlns:tns="http://ws.apache.org/muse/example/businessprocesstype"
+             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:bpt-prop="http://ws.apache.org/muse/example/businessprocesstype/properties"
+             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/businessprocesstype"
+              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:example-wsf="http://ws.apache.org/muse/example/shared"
+              xmlns:bpt-prop="http://ws.apache.org/muse/example/businessprocesstype/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/shared" 
+                     schemaLocation="../wsdl/shared.xsd"/>
+         
+         <xsd:import namespace="http://ws.apache.org/muse/example/businessprocesstype/properties" 
+                     schemaLocation="../wsdl/businessprocesstype.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="BusinessProcessTypeProperties">
+            <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 BUSINESSPROCESSTYPE.XSD -->
+                  
+                  <element ref="bpt-prop:NumberOfRunningProcesses" minOccurs="1" maxOccurs="1" />
+                  <element ref="bpt-prop:NumberOfSuspendedProcesses" minOccurs="1" maxOccurs="1" />
+                  <element ref="bpt-prop:TotalNumberOfAbortedProcesses" minOccurs="1" maxOccurs="1" /> 
+                  <element ref="bpt-prop:TotalNumberOfCompletedProcesses" minOccurs="1" maxOccurs="1" /> 
+                  <element ref="bpt-prop:TotalNumberOfTerminatedProcesses" minOccurs="1" maxOccurs="1" />
+                  <element ref="example-wsf:CumulativeExecutionTime" 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>
+   
+   <message name="SuspendRequest">
+         <part name="SuspendRequest" element="bpt-prop:Suspend"/>
+   </message>
+   <message name="SuspendResponse">
+         <part name="SuspendResponse" element="bpt-prop:SuspendResponse"/>
+   </message>
+   
+   <message name="ResumeRequest">
+               <part name="ResumeRequest" element="bpt-prop:Resume"/>
+         </message>
+         <message name="ResumeResponse">
+               <part name="ResumeResponse" element="bpt-prop:ResumeResponse"/>
+   </message>
+   
+   <message name="TerminateRequest">
+            <part name="TerminateRequest" element="bpt-prop:Terminate"/>
+      </message>
+      <message name="TerminateResponse">
+            <part name="TerminateResponse" element="bpt-prop:TerminateResponse"/>
+   </message>
+   
+   
+
+   <!-- *** Add message definitions for custom request/response/fault types here *** -->         
+   
+   <portType name="BusinessProcessTypePortType" wsrp:ResourceProperties="tns:BusinessProcessTypeProperties">
+         
+      <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 defined in WS-MetadataExchange-2004_09.wsdl -->
+                 
+      <operation name="GetMetadata">
+	 <input message="wsx:GetMetadataMsg"/>
+	 <output message="wsx:GetMetadataResponseMsg"/>         
+      </operation> 
+      
+      
+      <operation name="Suspend">
+        <input message="tns:SuspendRequest" /> 
+        <output message="tns:SuspendResponse" /> 
+      </operation>
+      
+      <operation name="Resume">
+        <input message="tns:ResumeRequest" /> 
+        <output message="tns:ResumeResponse" /> 
+      </operation>
+      
+      <operation name="Terminate">
+        <input message="tns:TerminateRequest" /> 
+        <output message="tns:TerminateResponse" /> 
+      </operation>
+      
+
+   </portType>
+
+   <binding name="BusinessProcessTypeSoapHttpBinding" type="tns:BusinessProcessTypePortType">
+
+      <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> 
+      
+      <operation name="Suspend">
+               <soap:operation style="document"/>
+               <input>
+      	    <soap:body use="literal"/>
+               </input>
+               <output>
+      	    <soap:body use="literal"/>
+               </output>
+      </operation> 
+      
+      <operation name="Resume">
+               <soap:operation style="document"/>
+               <input>
+      	    <soap:body use="literal"/>
+               </input>
+               <output>
+      	    <soap:body use="literal"/>
+               </output>
+      </operation> 
+      
+      <operation name="Terminate">
+               <soap:operation style="document"/>
+               <input>
+      	    <soap:body use="literal"/>
+               </input>
+               <output>
+      	    <soap:body use="literal"/>
+               </output>
+      </operation> 
+      
+      
+   </binding>
+
+   <service name="BusinessProcessTypeService">
+      <!-- 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="businessprocesstype" binding="tns:BusinessProcessTypeSoapHttpBinding">
+         <soap:address location="http://localhost:8080/muse/services/businessprocesstype" />
+      </port>
+   </service>
+
+</definitions>

Added: incubator/muse/trunk/src/site/content/example/src/wsdl/businessprocesstype.xsd
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/example/src/wsdl/businessprocesstype.xsd?rev=191534&view=auto
==============================================================================
--- incubator/muse/trunk/src/site/content/example/src/wsdl/businessprocesstype.xsd (added)
+++ incubator/muse/trunk/src/site/content/example/src/wsdl/businessprocesstype.xsd Mon Jun 20 11:51:17 2005
@@ -0,0 +1,50 @@
+<?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/businessprocesstype/properties"
+xmlns:ws-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"/>
+    
+	<!-- DATA TYPES SPECIFIC FOR BUSINESSPROCESSTYPE -->
+	<!-- NumberOfRunningProcesses: gauge metric type ws-ext:IntMetric -->
+	<xs:element name="NumberOfRunningProcesses" type="ws-ext:IntMetric"/>
+	
+	<!-- NumberOfSuspendedProcesses: gauge metric type ws-ext:IntMetric -->
+	<xs:element name="NumberOfSuspendedProcesses" type="ws-ext:IntMetric"/>
+	
+	<!-- TotalNumberOfAbortedProcesses: cummulative # of aborted processes type ws-ext:LongMetric -->
+	<xs:element name="TotalNumberOfAbortedProcesses" type="ws-ext:LongMetric"/>
+	
+	<!-- TotalNumberOfCompletedProcesses: cummulative # of completed processes type ws-ext:LongMetric -->
+	<xs:element name="TotalNumberOfCompletedProcesses" type="ws-ext:LongMetric"/>
+	
+	
+	<!-- TotalNumberOfTerminatedProcesses: cumulative # of terminated processes  type ws-ext:LongMetric -->
+	<xs:element name="TotalNumberOfTerminatedProcesses" type="ws-ext:LongMetric"/>
+	
+	
+	<!-- CUSTOM OPERATIONS  -->
+	
+	<!-- SUSPEND -->
+	<xs:element name="Suspend" type="xs:string" />
+
+	<xs:element name="SuspendResponse">
+		<xs:complexType />
+	</xs:element>
+
+
+	<!-- RESUME --> 
+
+	<xs:element name="Resume" type="xs:string" />
+
+	<xs:element name="ResumeResponse">
+		<xs:complexType />
+	</xs:element>
+
+	<!-- TERMINATE --> 
+
+	<xs:element name="Terminate" type="xs:string" />
+
+	<xs:element name="TerminateResponse">
+		<xs:complexType />
+	</xs:element> 
+
+</xs:schema>

Added: incubator/muse/trunk/src/site/content/example/src/wsdl/host.wsdl
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/example/src/wsdl/host.wsdl?rev=191534&view=auto
==============================================================================
--- incubator/muse/trunk/src/site/content/example/src/wsdl/host.wsdl (added)
+++ incubator/muse/trunk/src/site/content/example/src/wsdl/host.wsdl Mon Jun 20 11:51:17 2005
@@ -0,0 +1,500 @@
+<?xml version="1.0"?>
+
+<definitions name="Host"
+             targetNamespace="http://ws.apache.org/muse/example/host"
+             xmlns="http://schemas.xmlsoap.org/wsdl/"
+             xmlns:tns="http://ws.apache.org/muse/example/host"
+             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/host"
+              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:host-prop="http://ws.apache.org/muse/example/host/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/host/properties" 
+                     schemaLocation="../wsdl/host.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="HostProperties">
+            <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="1" /> 
+                  <element ref="wsnt:FixedTopicSet" /> 
+                  <element ref="wsnt:TopicExpressionDialects" minOccurs="1" maxOccurs="1" /> 
+             
+                  <!-- *** 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="1" 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 HOST.XSD -->
+                  
+                  <element ref="host-prop:NumberOfProcesses" minOccurs="1" maxOccurs="1" />
+                  <element ref="host-prop:AvailableMemory" minOccurs="1" maxOccurs="1" />
+                  <element ref="host-prop:CpuUsage" 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="HostPortType" wsrp:ResourceProperties="tns:HostProperties">
+         
+      <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="HostSoapHttpBinding" type="tns:HostPortType">
+
+      <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="HostService">
+      <!-- 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="host" binding="tns:HostSoapHttpBinding">
+         <soap:address location="http://localhost:8080/muse/services/host" />
+      </port>
+   </service>
+
+</definitions>

Added: incubator/muse/trunk/src/site/content/example/src/wsdl/host.xsd
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/example/src/wsdl/host.xsd?rev=191534&view=auto
==============================================================================
--- incubator/muse/trunk/src/site/content/example/src/wsdl/host.xsd (added)
+++ incubator/muse/trunk/src/site/content/example/src/wsdl/host.xsd Mon Jun 20 11:51:17 2005
@@ -0,0 +1,19 @@
+<?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/host/properties"
+xmlns:ws-ext="http://ws.apache.org/namespaces/muse/muws-ext-1.xsd" >
+
+<!-- Created by Kinga Dziembowski -->
+
+<xs:import namespace="http://ws.apache.org/namespaces/muse/muws-ext-1.xsd" schemaLocation="../wsdl/muws-ext-1.xsd"/>
+    
+	<!-- DATA TYPES SPECIFIC FOR HOST -->
+	<!-- NumberOfProcess: gauge metric type ws-ext:IntMetric -->
+	<xs:element name="NumberOfProcesses" type="ws-ext:IntMetric"/>
+	
+	<!-- AvailableMemory: gauge metric type ws-ext:LongMetric -->
+	<xs:element name="AvailableMemory" type="ws-ext:LongMetric"/>
+	
+	<!-- CpuUsage: gauge metric type ws-ext:IntMetric -->
+	<xs:element name="CpuUsage" type="ws-ext:IntMetric"/>
+	
+</xs:schema>
\ No newline at end of file



---------------------------------------------------------------------
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