<?xml version="1.0" encoding="UTF-8"?>
<!-- 
	
	OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
	
	OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
	
	Copyright (C) OASIS Open (2005). All Rights Reserved.
	
	This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English. 
	
	The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns. 
	
	This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
	
-->
<wsdl:definitions name="WS-ResourceLifetime" 
targetNamespace="http://docs.oasis-open.org/wsrf/rlw-2" 
xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2" 
xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2" 
xmlns:wsrf-rlw="http://docs.oasis-open.org/wsrf/rlw-2" 
xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" 
xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">

	<wsdl:import namespace="http://docs.oasis-open.org/wsrf/rw-2" 
       location="WS-Resource-1_2.wsdl"/>
	<wsdl:types>
		<xsd:schema attributeFormDefault="unqualified" 
		elementFormDefault="qualified" 
		xmlns="http://www.w3.org/2001/XMLSchema">
			<xsd:import namespace="http://docs.oasis-open.org/wsrf/rl-2" 
				schemaLocation="WS-ResourceLifetime-1_2.xsd" />
		</xsd:schema>
	</wsdl:types>

	<wsdl:message name="SetTerminationTimeRequest">
		<wsdl:part element="wsrf-rl:SetTerminationTime" name="SetTerminationTimeRequest" />
	</wsdl:message>
	<wsdl:message name="SetTerminationTimeResponse">
		<wsdl:part element="wsrf-rl:SetTerminationTimeResponse" name="SetTerminationTimeResponse" />
	</wsdl:message>

	<wsdl:message name="DestroyRequest">
		<wsdl:part element="wsrf-rl:Destroy" name="DestroyRequest" />
	</wsdl:message>
	<wsdl:message name="DestroyResponse">
		<wsdl:part element="wsrf-rl:DestroyResponse" name="DestroyResponse" />
	</wsdl:message>
	<wsdl:message name="ResourceNotDestroyedFault">
		<wsdl:part element="wsrf-rl:ResourceNotDestroyedFault" name="ResourceNotDestroyedFault" />
	</wsdl:message>

	<wsdl:message name="UnableToSetTerminationTimeFault">
		<wsdl:part element="wsrf-rl:UnableToSetTerminationTimeFault" name="UnableToSetTerminationTimeFault" />
	</wsdl:message>
	<wsdl:message name="TerminationTimeChangeRejectedFault">
		<wsdl:part element="wsrf-rl:TerminationTimeChangeRejectedFault" name="TerminationTimeChangeRejectedFault" />
	</wsdl:message>
	<wsdl:portType name="ImmediateResourceTermination">
		<wsdl:operation name="Destroy">
			<wsdl:input name="DestroyRequest" message="wsrf-rlw:DestroyRequest" />

			<wsdl:output name="DestroyResponse" message="wsrf-rlw:DestroyResponse" />
			<wsdl:fault message="wsrf-rlw:ResourceNotDestroyedFault" name="ResourceNotDestroyedFault" />
			<wsdl:fault name="ResourceUnknownFault" message="wsrf-rw:ResourceUnknownFault" />
			<wsdl:fault name="ResourceUnavailableFault" message="wsrf-rw:ResourceUnavailableFault"/>
		</wsdl:operation>
	</wsdl:portType>
	<wsdl:portType name="ScheduledResourceTermination" 
				   wsrf-rp:ResourceProperties="wsrf-rl:ScheduledResourceTerminationRP">
		<wsdl:operation name="SetTerminationTime">
			<wsdl:input name="SetTerminationTimeRequest" message="wsrf-rlw:SetTerminationTimeRequest" />
			<wsdl:output name="SetTerminationTimeResponse" message="wsrf-rlw:SetTerminationTimeResponse" />

			<wsdl:fault message="wsrf-rlw:UnableToSetTerminationTimeFault" name="UnableToSetTerminationTimeFault" />
			<wsdl:fault name="ResourceUnknownFault" message="wsrf-rw:ResourceUnknownFault" />
			<wsdl:fault name="ResourceUnavailableFault" message="wsrf-rw:ResourceUnavailableFault"/>
			<wsdl:fault message="wsrf-rlw:TerminationTimeChangeRejectedFault" name="TerminationTimeChangeRejectedFault" />
		</wsdl:operation>
	</wsdl:portType>
</wsdl:definitions>