You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by wi...@apache.org on 2005/10/06 21:17:23 UTC

svn commit: r306860 - /webservices/muse/trunk/client/src/axis/WEB-INF/classes/wsdl/testresource.wsdl

Author: wire
Date: Thu Oct  6 12:17:20 2005
New Revision: 306860

URL: http://svn.apache.org/viewcvs?rev=306860&view=rev
Log:
updated wsdl for lifetme

Modified:
    webservices/muse/trunk/client/src/axis/WEB-INF/classes/wsdl/testresource.wsdl

Modified: webservices/muse/trunk/client/src/axis/WEB-INF/classes/wsdl/testresource.wsdl
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/client/src/axis/WEB-INF/classes/wsdl/testresource.wsdl?rev=306860&r1=306859&r2=306860&view=diff
==============================================================================
--- webservices/muse/trunk/client/src/axis/WEB-INF/classes/wsdl/testresource.wsdl (original)
+++ webservices/muse/trunk/client/src/axis/WEB-INF/classes/wsdl/testresource.wsdl Thu Oct  6 12:17:20 2005
@@ -1,8 +1,10 @@
 <?xml version="1.0"?>
-<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://ws.apache.org/service/testresource" 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: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" targetNamespace="http://ws.apache.org/service/testresource" name="TestResource">
+<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://ws.apache.org/service/testresource" 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: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:wsrlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl" xmlns:wsrl="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd" targetNamespace="http://ws.apache.org/service/testresource" name="TestResource">
 	<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/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://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"/>
 	<types>
 		<schema elementFormDefault="qualified" targetNamespace="http://ws.apache.org/service/testresource" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 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:mows-xs="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-mows.xsd">
 			<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"/>
@@ -41,6 +43,8 @@
 						<element ref="muws-p2-xs:CurrentTime"/>
 						<element ref="muws-p2-xs:OperationalStatus"/>
 						<element ref="mows-xs:LastResponseTime"/>
+						<element ref="wsrl:CurrentTime"/>
+						<element ref="wsrl:TerminationTime" />
 					</sequence>
 				</complexType>
 			</element>
@@ -111,6 +115,19 @@
 			<input message="tns:TestOperationRequest"/>
 			<output message="tns:TestOperationResponse"/>
 		</operation>
+		<operation name="Destroy">
+			<input message="wsrlw:DestroyRequest"/>
+			<output message="wsrlw:DestroyResponse"/>
+			<fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
+			<fault name="ResourceNotDestroyedFault" message="wsrlw:ResourceNotDestroyedFault"/>
+		</operation>
+	      <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>		
 	</portType>
 	<binding name="TestResourceSoapHttpBinding" type="tns:TestResourcePortType">
 		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
@@ -243,6 +260,39 @@
 				<soap:body use="literal"/>
 			</output>
 		</operation>
+		<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>
+	      <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>		
 	</binding>
 	<service name="TestResourceService">
 		<port name="TestResource" binding="tns:TestResourceSoapHttpBinding">