cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r502193 [2/4] - in /incubator/cxf/trunk/tools2/wsdlto: core/src/main/java/org/apache/cxf/tools/wsdlto/ databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/ frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/fro...
Date Thu, 01 Feb 2007 10:59:15 GMT
Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/Printer.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/Printer.wsdl?view=auto&rev=502193
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/Printer.wsdl (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/Printer.wsdl Thu Feb  1 02:59:13 2007
@@ -0,0 +1,790 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+	Copyright (C) OASIS Open (2004). 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 xmlns="http://schemas.xmlsoap.org/wsdl/"
+	xmlns:pr="http://docs.oasis-open.org/wsrf/primer-1.2-examples-cd-02/Printer/Printer.xsd"
+	xmlns:prw="http://docs.oasis-open.org/wsrf/primer-1.2-examples-cd-02/Printer/Printer.wsdl"
+	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+	xmlns:wsaw="http://www.w3.org/2005/08/addressing/wsdl"
+	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+	xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-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-rpw="http://docs.oasis-open.org/wsrf/rpw-2"
+	xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" name="WSRFIPP"
+	targetNamespace="http://docs.oasis-open.org/wsrf/primer-1.2-examples-cd-02/Printer/Printer.wsdl">
+
+	<wsdl:import location="./rw-2.wsdl"
+		namespace="http://docs.oasis-open.org/wsrf/rw-2" />
+	<wsdl:import location="./rpw-2.wsdl"
+		namespace="http://docs.oasis-open.org/wsrf/rpw-2" />
+	<wsdl:import location="./rlw-2.wsdl"
+		namespace="http://docs.oasis-open.org/wsrf/rlw-2" />
+
+
+	<wsdl:types>
+		<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+			attributeFormDefault="unqualified" elementFormDefault="qualified">
+			<xsd:import
+				namespace="http://docs.oasis-open.org/wsrf/primer-1.2-examples-cd-02/Printer/Printer.xsd"
+				schemaLocation="./Printer.xsd" />
+			<xsd:import
+				namespace="http://www.w3.org/2005/08/addressing/wsdl"
+				schemaLocation="/schemas/wsdl/ws-addr-wsdl.xsd" />
+		</xsd:schema>
+	</wsdl:types>
+
+	<!-- WSRF printer -->
+
+	<wsdl:message name="Print_JobRequest">
+		<wsdl:part element="pr:Print_JobRequest"
+			name="Print_JobRequest" />
+	</wsdl:message>
+	<wsdl:message name="Print_JobResponse">
+		<wsdl:part element="pr:JobCreationResponse"
+			name="Print_JobResponse" />
+	</wsdl:message>
+	<wsdl:message name="client_error_not_possibleFault">
+		<wsdl:part element="pr:client_error_not_possibleFault"
+			name="client_error_not_possibleFault" />
+	</wsdl:message>
+	<wsdl:message name="Create_JobRequest">
+		<wsdl:part element="pr:Create_JobRequest"
+			name="Create_JobRequest" />
+	</wsdl:message>
+	<wsdl:message name="Create_JobResponse">
+		<wsdl:part element="pr:JobCreationResponse"
+			name="Create_JobResponse" />
+	</wsdl:message>
+
+	<!-- WSRF print job -->
+
+	<wsdl:message name="Send_DocumentRequest">
+		<wsdl:part element="pr:Send_DocumentRequest"
+			name="Send_DocumentRequest" />
+	</wsdl:message>
+
+	<wsdl:message name="Send_DocumentResponse">
+		<wsdl:part element="pr:JobCreationResponse"
+			name="Send_DocumentResponse" />
+	</wsdl:message>
+
+	<!--	<wsdl:portType name="Printer" wsrf-rp:ResourceProperties="pr:PrinterRP">  -->
+	<wsdl:portType name="Printer">
+
+		<!--		<wsdl:operation name="Print_Job">       -->
+		<wsdl:operation name="PrintJob">
+			<wsdl:input message="prw:Print_JobRequest"
+				name="Print_JobRequest"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/primer-1.2-examples-cd-02/Printer/Printer.wsdl/Print_Job/Print_JobRequest" />
+			<wsdl:output message="prw:Print_JobResponse"
+				name="Print_JobResponse"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/primer-1.2-examples-cd-02/Printer/Printer.wsdl/Print_Job/Print_JobResponse" />
+			<wsdl:fault message="prw:client_error_not_possibleFault"
+				name="client_error_not_possibleFault" />
+			<wsdl:fault message="wsrf-rw:ResourceUnknownFault"
+				name="ResourceUnknownFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rw:ResourceUnavailableFault"
+				name="ResourceUnavailableFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+		</wsdl:operation>
+
+		<!--		<wsdl:operation name="Create_Job">      -->
+		<wsdl:operation name="CreateJob">
+			<wsdl:input message="prw:Create_JobRequest"
+				name="Create_JobRequest"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/primer-1.2-examples-cd-02/Printer/Printer.wsdl/Create_Job/Create_JobRequest" />
+			<wsdl:output message="prw:Create_JobResponse"
+				name="Create_JobResponse"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/primer-1.2-examples-cd-02/Printer/Printer.wsdl/Create_Job/Create_JobResponse" />
+			<wsdl:fault message="prw:client_error_not_possibleFault"
+				name="client_error_not_possibleFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/primer-1.2-examples-cd-02/Printer/Printer.wsdl/Fault" />
+			<wsdl:fault message="wsrf-rw:ResourceUnknownFault"
+				name="ResourceUnknownFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rw:ResourceUnavailableFault"
+				name="ResourceUnavailableFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+		</wsdl:operation>
+
+		<wsdl:operation name="GetResourcePropertyDocument">
+			<wsdl:input
+				message="wsrf-rpw:GetResourcePropertyDocumentRequest"
+				name="GetResourcePropertyDocumentRequest"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rpw-2/GetResourcePropertyDocument/GetResourcePropertyDocumentRequest" />
+			<wsdl:output
+				message="wsrf-rpw:GetResourcePropertyDocumentResponse"
+				name="GetResourcePropertyDocumentResponse"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rpw-2/GetResourcePropertyDocument/GetResourcePropertyDocumentResponse" />
+			<wsdl:fault message="wsrf-rw:ResourceUnknownFault"
+				name="ResourceUnknownFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rw:ResourceUnavailableFault"
+				name="ResourceUnavailableFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+		</wsdl:operation>
+
+		<wsdl:operation name="GetResourceProperty">
+			<wsdl:input message="wsrf-rpw:GetResourcePropertyRequest"
+				name="GetResourcePropertyRequest"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest" />
+			<wsdl:output message="wsrf-rpw:GetResourcePropertyResponse"
+				name="GetResourcePropertyResponse"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse" />
+			<wsdl:fault
+				message="wsrf-rpw:InvalidResourcePropertyQNameFault"
+				name="InvalidResourcePropertyQNameFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rw:ResourceUnknownFault"
+				name="ResourceUnknownFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rw:ResourceUnavailableFault"
+				name="ResourceUnavailableFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+		</wsdl:operation>
+
+		<wsdl:operation name="GetMultipleResourceProperties">
+			<wsdl:input
+				message="wsrf-rpw:GetMultipleResourcePropertiesRequest"
+				name="GetMultipleResourcePropertiesRequest"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rpw-2/GetMultipleResourceProperties/GetMultipleResourcePropertiesRequest" />
+			<wsdl:output
+				message="wsrf-rpw:GetMultipleResourcePropertiesResponse"
+				name="GetMultipleResourcePropertiesResponse"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rpw-2/GetMultipleResourceProperties/GetMultipleResourcePropertiesResponse" />
+			<wsdl:fault message="wsrf-rw:ResourceUnknownFault"
+				name="ResourceUnknownFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rw:ResourceUnavailableFault"
+				name="ResourceUnavailableFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault
+				message="wsrf-rpw:InvalidResourcePropertyQNameFault"
+				name="InvalidResourcePropertyQNameFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+		</wsdl:operation>
+
+		<wsdl:operation name="SetResourceProperties">
+			<wsdl:input message="wsrf-rpw:SetResourcePropertiesRequest"
+				name="SetResourcePropertiesRequest"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rpw-2/SetResourceProperties/SetResourcePropertiesRequest" />
+			<wsdl:output
+				message="wsrf-rpw:SetResourcePropertiesResponse"
+				name="SetResourcePropertiesResponse"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rpw-2/SetResourceProperties/SetResourcePropertiesResponse" />
+			<wsdl:fault message="wsrf-rw:ResourceUnknownFault"
+				name="ResourceUnknownFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rw:ResourceUnavailableFault"
+				name="ResourceUnavailableFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rpw:InvalidModificationFault"
+				name="InvalidModificationFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault
+				message="wsrf-rpw:UnableToModifyResourcePropertyFault"
+				name="UnableToModifyResourcePropertyFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault
+				message="wsrf-rpw:InvalidResourcePropertyQNameFault"
+				name="InvalidResourcePropertyQNameFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault
+				message="wsrf-rpw:SetResourcePropertyRequestFailedFault"
+				name="SetResourcePropertyRequestFailedFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+		</wsdl:operation>
+
+		<wsdl:operation name="InsertResourceProperties">
+			<wsdl:input
+				message="wsrf-rpw:InsertResourcePropertiesRequest"
+				name="InsertResourcePropertiesRequest"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rpw-2/InsertResourceProperties/InsertResourcePropertiesRequest" />
+			<wsdl:output
+				message="wsrf-rpw:InsertResourcePropertiesResponse"
+				name="InsertResourcePropertiesResponse"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rpw-2/InsertResourceProperties/InsertResourcePropertiesResponse" />
+			<wsdl:fault message="wsrf-rw:ResourceUnknownFault"
+				name="ResourceUnknownFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rw:ResourceUnavailableFault"
+				name="ResourceUnavailableFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rpw:InvalidModificationFault"
+				name="InvalidModificationFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault
+				message="wsrf-rpw:UnableToModifyResourcePropertyFault"
+				name="UnableToModifyResourcePropertyFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault
+				message="wsrf-rpw:InvalidResourcePropertyQNameFault"
+				name="InvalidResourcePropertyQNameFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault
+				message="wsrf-rpw:InsertResourcePropertiesRequestFailedFault"
+				name="InsertResourcePropertiesRequestFailedFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+		</wsdl:operation>
+
+		<wsdl:operation name="UpdateResourceProperties">
+			<wsdl:input
+				message="wsrf-rpw:UpdateResourcePropertiesRequest"
+				name="UpdateResourcePropertiesRequest"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rpw-2/UpdateResourceProperties/UpdateResourcePropertiesRequest" />
+			<wsdl:output
+				message="wsrf-rpw:UpdateResourcePropertiesResponse"
+				name="UpdateResourcePropertiesResponse"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rpw-2/UpdateResourceProperties/UpdateResourcePropertiesResponse" />
+			<wsdl:fault message="wsrf-rw:ResourceUnknownFault"
+				name="ResourceUnknownFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rw:ResourceUnavailableFault"
+				name="ResourceUnavailableFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rpw:InvalidModificationFault"
+				name="InvalidModificationFault" />
+			<wsdl:fault
+				message="wsrf-rpw:UnableToModifyResourcePropertyFault"
+				name="UnableToModifyResourcePropertyFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault
+				message="wsrf-rpw:InvalidResourcePropertyQNameFault"
+				name="InvalidResourcePropertyQNameFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault
+				message="wsrf-rpw:UpdateResourcePropertiesRequestFailedFault"
+				name="UpdateResourcePropertiesRequestFailedFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+		</wsdl:operation>
+
+		<wsdl:operation name="DeleteResourceProperties">
+			<wsdl:input
+				message="wsrf-rpw:DeleteResourcePropertiesRequest"
+				name="DeleteResourcePropertiesRequest"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rpw-2/DeleteResourceProperties/DeleteResourcePropertiesRequest" />
+			<wsdl:output
+				message="wsrf-rpw:DeleteResourcePropertiesResponse"
+				name="DeleteResourcePropertiesResponse"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rpw-2/DeleteResourceProperties/DeleteResourcePropertiesResponse" />
+			<wsdl:fault message="wsrf-rw:ResourceUnknownFault"
+				name="ResourceUnknownFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rw:ResourceUnavailableFault"
+				name="ResourceUnavailableFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rpw:InvalidModificationFault"
+				name="InvalidModificationFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault
+				message="wsrf-rpw:UnableToModifyResourcePropertyFault"
+				name="UnableToModifyResourcePropertyFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault
+				message="wsrf-rpw:InvalidResourcePropertyQNameFault"
+				name="InvalidResourcePropertyQNameFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault
+				message="wsrf-rpw:DeleteResourcePropertiesRequestFailedFault"
+				name="DeleteResourcePropertiesRequestFailedFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+		</wsdl:operation>
+
+		<wsdl:operation name="QueryResourceProperties">
+			<wsdl:input
+				message="wsrf-rpw:QueryResourcePropertiesRequest"
+				name="QueryResourcePropertiesRequest"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rpw-2/QueryResourceProperties/QueryResourcePropertiesRequest" />
+			<wsdl:output
+				message="wsrf-rpw:QueryResourcePropertiesResponse"
+				name="QueryResourcePropertiesResponse"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rpw-2/QueryResourceProperties/QueryResourcePropertiesResponse" />
+			<wsdl:fault message="wsrf-rw:ResourceUnknownFault"
+				name="ResourceUnknownFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rw:ResourceUnavailableFault"
+				name="ResourceUnavailableFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault
+				message="wsrf-rpw:InvalidResourcePropertyQNameFault"
+				name="InvalidResourcePropertyQNameFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault
+				message="wsrf-rpw:UnknownQueryExpressionDialectFault"
+				name="UnknownQueryExpressionDialectFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rpw:InvalidQueryExpressionFault"
+				name="InvalidQueryExpressionFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rpw:QueryEvaluationErrorFault"
+				name="QueryEvaluationErrorFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+		</wsdl:operation>
+	</wsdl:portType>
+
+	<!--	<wsdl:portType name="Job" wsrf-rp:ResourceProperties="pr:job_properties">       -->
+	<wsdl:portType name="Job">
+		<wsdl:operation name="Destroy">
+			<wsdl:input message="wsrf-rlw:DestroyRequest"
+				name="DestroyRequest"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rlw-2/ImmediateResourceTermination/DestroyRequest" />
+			<wsdl:output message="wsrf-rlw:DestroyResponse"
+				name="DestroyResponse"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rlw-2/ImmediateResourceTermination/DestroyResponse" />
+			<wsdl:fault message="wsrf-rlw:ResourceNotDestroyedFault"
+				name="ResourceNotDestroyedFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rw:ResourceUnknownFault"
+				name="ResourceUnknownFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rw:ResourceUnavailableFault"
+				name="ResourceUnavailableFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+		</wsdl:operation>
+		<wsdl:operation name="SetTerminationTime">
+			<wsdl:input message="wsrf-rlw:SetTerminationTimeRequest"
+				name="SetTerminationTimeRequest"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rlw-2/ScheduledResourceTermination/SetTerminationTimeRequest" />
+			<wsdl:output message="wsrf-rlw:SetTerminationTimeResponse"
+				name="SetTerminationTimeResponse"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rlw-2/ScheduledResourceTermination/SetTerminationTimeResponse" />
+			<wsdl:fault message="wsrf-rw:ResourceUnknownFault"
+				name="ResourceUnknownFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rw:ResourceUnavailableFault"
+				name="ResourceUnavailableFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault
+				message="wsrf-rlw:TerminationTimeChangeRejectedFault"
+				name="TerminationTimeChangeRejectedFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault
+				message="wsrf-rlw:UnableToSetTerminationTimeFault"
+				name="UnableToSetTerminationTimeFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+		</wsdl:operation>
+		<wsdl:operation name="GetResourceProperty">
+			<wsdl:input message="wsrf-rpw:GetResourcePropertyRequest"
+				name="GetResourcePropertyRequest"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest" />
+			<wsdl:output message="wsrf-rpw:GetResourcePropertyResponse"
+				name="GetResourcePropertyResponse"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse" />
+			<wsdl:fault
+				message="wsrf-rpw:InvalidResourcePropertyQNameFault"
+				name="InvalidResourcePropertyQNameFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rw:ResourceUnknownFault"
+				name="ResourceUnknownFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rw:ResourceUnavailableFault"
+				name="ResourceUnavailableFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+		</wsdl:operation>
+		<!--		<wsdl:operation name="Send_Document">   -->
+		<wsdl:operation name="SendDocument">
+			<wsdl:input message="prw:Send_DocumentRequest"
+				name="Send_DocumentRequest"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/primer-1.2-examples-cd-02/Printer/Printer.wsdl/Job/Send_DocumentRequest" />
+			<wsdl:output message="prw:Send_DocumentResponse"
+				name="Send_DocumentResponse"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/primer-1.2-examples-cd-02/Printer/Printer.wsdl/Job/Send_DocumentResponse" />
+			<wsdl:fault message="wsrf-rw:ResourceUnknownFault"
+				name="ResourceUnknownFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="wsrf-rw:ResourceUnavailableFault"
+				name="ResourceUnavailableFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/fault" />
+			<wsdl:fault message="prw:client_error_not_possibleFault"
+				name="client_error_not_possibleFault"
+				wsaw:Action="http://docs.oasis-open.org/wsrf/primer-1.2-examples-cd-02/Printer.wsdl/Fault" />
+		</wsdl:operation>
+	</wsdl:portType>
+
+	<wsdl:binding name="Printer_SOAPBinding" type="prw:Printer">
+		<soap:binding style="document"
+			transport="http://schemas.xmlsoap.org/soap/http" />
+
+		<!--            <wsdl:operation name="Print_Job">       -->
+		<wsdl:operation name="PrintJob">
+			<soap:operation soapAction="" style="document" />
+			<wsdl:input name="Print_JobRequest">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="Print_JobResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="client_error_not_possibleFault">
+				<soap:fault name="client_error_not_possibleFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="ResourceUnknownFault">
+				<soap:fault name="ResourceUnknownFault" use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="ResourceUnavailableFault">
+				<soap:fault name="ResourceUnavailableFault"
+					use="literal" />
+			</wsdl:fault>
+		</wsdl:operation>
+		<!--            <wsdl:operation name="Create_Job">      -->
+		<wsdl:operation name="CreateJob">
+			<soap:operation soapAction="" style="document" />
+			<wsdl:input name="Create_JobRequest">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="Create_JobResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="client_error_not_possibleFault">
+				<soap:fault name="client_error_not_possibleFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="ResourceUnknownFault">
+				<soap:fault name="ResourceUnknownFault" use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="ResourceUnavailableFault">
+				<soap:fault name="ResourceUnavailableFault"
+					use="literal" />
+			</wsdl:fault>
+		</wsdl:operation>
+		<wsdl:operation name="GetResourcePropertyDocument">
+			<soap:operation soapAction="" style="document" />
+			<wsdl:input name="GetResourcePropertyDocumentRequest">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="GetResourcePropertyDocumentResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault">
+				<soap:fault name="ResourceUnknownFault" use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="ResourceUnavailableFault">
+				<soap:fault name="ResourceUnavailableFault"
+					use="literal" />
+			</wsdl:fault>
+		</wsdl:operation>
+		<wsdl:operation name="GetResourceProperty">
+			<soap:operation soapAction="" style="document" />
+			<wsdl:input name="GetResourcePropertyRequest">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="GetResourcePropertyResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="InvalidResourcePropertyQNameFault">
+				<soap:fault name="InvalidResourcePropertyQNameFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="ResourceUnknownFault">
+				<soap:fault name="ResourceUnknownFault" use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="ResourceUnavailableFault">
+				<soap:fault name="ResourceUnavailableFault"
+					use="literal" />
+			</wsdl:fault>
+		</wsdl:operation>
+		<wsdl:operation name="GetMultipleResourceProperties">
+			<soap:operation soapAction="" style="document" />
+			<wsdl:input name="GetMultipleResourcePropertiesRequest">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="GetMultipleResourcePropertiesResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault">
+				<soap:fault name="ResourceUnknownFault" use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="ResourceUnavailableFault">
+				<soap:fault name="ResourceUnavailableFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="InvalidResourcePropertyQNameFault">
+				<soap:fault name="InvalidResourcePropertyQNameFault"
+					use="literal" />
+			</wsdl:fault>
+		</wsdl:operation>
+		<wsdl:operation name="SetResourceProperties">
+			<soap:operation soapAction="" style="document" />
+			<wsdl:input name="SetResourcePropertiesRequest">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="SetResourcePropertiesResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault">
+				<soap:fault name="ResourceUnknownFault" use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="ResourceUnavailableFault">
+				<soap:fault name="ResourceUnavailableFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="InvalidModificationFault">
+				<soap:fault name="InvalidModificationFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="UnableToModifyResourcePropertyFault">
+				<soap:fault name="UnableToModifyResourcePropertyFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="InvalidResourcePropertyQNameFault">
+				<soap:fault name="InvalidResourcePropertyQNameFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="SetResourcePropertyRequestFailedFault">
+				<soap:fault name="SetResourcePropertyRequestFailedFault"
+					use="literal" />
+			</wsdl:fault>
+		</wsdl:operation>
+		<wsdl:operation name="InsertResourceProperties">
+			<soap:operation soapAction="" style="document" />
+			<wsdl:input name="InsertResourcePropertiesRequest">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="InsertResourcePropertiesResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault">
+				<soap:fault name="ResourceUnknownFault" use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="ResourceUnavailableFault">
+				<soap:fault name="ResourceUnavailableFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="InvalidModificationFault">
+				<soap:fault name="InvalidModificationFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="UnableToModifyResourcePropertyFault">
+				<soap:fault name="UnableToModifyResourcePropertyFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="InvalidResourcePropertyQNameFault">
+				<soap:fault name="InvalidResourcePropertyQNameFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault
+				name="InsertResourcePropertiesRequestFailedFault">
+				<soap:fault
+					name="InsertResourcePropertiesRequestFailedFault" use="literal" />
+			</wsdl:fault>
+		</wsdl:operation>
+		<wsdl:operation name="UpdateResourceProperties">
+			<soap:operation soapAction="" style="document" />
+			<wsdl:input name="UpdateResourcePropertiesRequest">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="UpdateResourcePropertiesResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault">
+				<soap:fault name="ResourceUnknownFault" use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="ResourceUnavailableFault">
+				<soap:fault name="ResourceUnavailableFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="InvalidModificationFault">
+				<soap:fault name="InvalidModificationFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="UnableToModifyResourcePropertyFault">
+				<soap:fault name="UnableToModifyResourcePropertyFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="InvalidResourcePropertyQNameFault">
+				<soap:fault name="InvalidResourcePropertyQNameFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault
+				name="UpdateResourcePropertiesRequestFailedFault">
+				<soap:fault
+					name="UpdateResourcePropertiesRequestFailedFault" use="literal" />
+			</wsdl:fault>
+		</wsdl:operation>
+		<wsdl:operation name="DeleteResourceProperties">
+			<soap:operation soapAction="" style="document" />
+			<wsdl:input name="DeleteResourcePropertiesRequest">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="DeleteResourcePropertiesResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault">
+				<soap:fault name="ResourceUnknownFault" use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="ResourceUnavailableFault">
+				<soap:fault name="ResourceUnavailableFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="InvalidModificationFault">
+				<soap:fault name="InvalidModificationFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="UnableToModifyResourcePropertyFault">
+				<soap:fault name="UnableToModifyResourcePropertyFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="InvalidResourcePropertyQNameFault">
+				<soap:fault name="InvalidResourcePropertyQNameFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault
+				name="DeleteResourcePropertiesRequestFailedFault">
+				<soap:fault
+					name="DeleteResourcePropertiesRequestFailedFault" use="literal" />
+			</wsdl:fault>
+		</wsdl:operation>
+		<wsdl:operation name="QueryResourceProperties">
+			<soap:operation soapAction="" style="document" />
+			<wsdl:input name="QueryResourcePropertiesRequest">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="QueryResourcePropertiesResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault">
+				<soap:fault name="ResourceUnknownFault" use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="ResourceUnavailableFault">
+				<soap:fault name="ResourceUnavailableFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="InvalidResourcePropertyQNameFault">
+				<soap:fault name="InvalidResourcePropertyQNameFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="UnknownQueryExpressionDialectFault">
+				<soap:fault name="UnknownQueryExpressionDialectFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="InvalidQueryExpressionFault">
+				<soap:fault name="InvalidQueryExpressionFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="QueryEvaluationErrorFault">
+				<soap:fault name="QueryEvaluationErrorFault"
+					use="literal" />
+			</wsdl:fault>
+		</wsdl:operation>
+
+	</wsdl:binding>
+
+	<wsdl:binding name="Job_SOAPBinding" type="prw:Job">
+		<soap:binding style="document"
+			transport="http://schemas.xmlsoap.org/soap/http" />
+
+		<wsdl:operation name="Destroy">
+			<wsdl:input name="DestroyRequest">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="DestroyResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="ResourceNotDestroyedFault">
+				<soap:fault name="ResourceNotDestroyedFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="ResourceUnknownFault">
+				<soap:fault name="ResourceUnknownFault" use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="ResourceUnavailableFault">
+				<soap:fault name="ResourceUnavailableFault"
+					use="literal" />
+			</wsdl:fault>
+		</wsdl:operation>
+
+		<wsdl:operation name="SetTerminationTime">
+			<wsdl:input name="SetTerminationTimeRequest">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="SetTerminationTimeResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault">
+				<soap:fault name="ResourceUnknownFault" use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="ResourceUnavailableFault">
+				<soap:fault name="ResourceUnavailableFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="TerminationTimeChangeRejectedFault">
+				<soap:fault name="TerminationTimeChangeRejectedFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="UnableToSetTerminationTimeFault">
+				<soap:fault name="UnableToSetTerminationTimeFault"
+					use="literal" />
+			</wsdl:fault>
+		</wsdl:operation>
+
+		<wsdl:operation name="GetResourceProperty">
+			<wsdl:input name="GetResourcePropertyRequest">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="GetResourcePropertyResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="InvalidResourcePropertyQNameFault">
+				<soap:fault name="InvalidResourcePropertyQNameFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="ResourceUnknownFault">
+				<soap:fault name="ResourceUnknownFault" use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="ResourceUnavailableFault">
+				<soap:fault name="ResourceUnavailableFault"
+					use="literal" />
+			</wsdl:fault>
+		</wsdl:operation>
+
+		<!--            <wsdl:operation name="Send_Document">   -->
+		<wsdl:operation name="SendDocument">
+			<wsdl:input name="Send_DocumentRequest">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="Send_DocumentResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault">
+				<soap:fault name="ResourceUnknownFault" use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="ResourceUnavailableFault">
+				<soap:fault name="ResourceUnavailableFault"
+					use="literal" />
+			</wsdl:fault>
+			<wsdl:fault name="client_error_not_possibleFault">
+				<soap:fault name="client_error_not_possibleFault"
+					use="literal" />
+			</wsdl:fault>
+		</wsdl:operation>
+
+	</wsdl:binding>
+
+
+	<wsdl:service name="SOAPService">
+		<wsdl:port binding="prw:Printer_SOAPBinding"
+			name="PrinterSOAPPort">
+			<soap:address
+				location="http://localhost:9000/PrinterService/PrinterSOAPPort" />
+			<wswa:UsingAddressing
+				xmlns:wswa="http://www.w3.org/2005/08/addressing/wsdl" />
+		</wsdl:port>
+		<wsdl:port binding="prw:Job_SOAPBinding" name="JobSOAPPort">
+			<soap:address
+				location="http://localhost:9000/PrinterService/JobSOAPPort" />
+			<wswa:UsingAddressing
+				xmlns:wswa="http://www.w3.org/2005/08/addressing/wsdl" />
+		</wsdl:port>
+	</wsdl:service>
+
+</wsdl:definitions>

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/Printer.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/Printer.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/Printer.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/Printer.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/Printer.xsd?view=auto&rev=502193
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/Printer.xsd (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/Printer.xsd Thu Feb  1 02:59:13 2007
@@ -0,0 +1,227 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+	Copyright (C) OASIS Open (2004). All Rights Reserved.
+	 
+	This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English. 
+	
+	The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns. 
+	
+	This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+	
+-->
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+xmlns:pr="http://docs.oasis-open.org/wsrf/primer-1.2-examples-cd-02/Printer/Printer.xsd" 
+targetNamespace="http://docs.oasis-open.org/wsrf/primer-1.2-examples-cd-02/Printer/Printer.xsd" 
+xmlns:wsa="http://www.w3.org/2005/08/addressing" 
+xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2" 
+xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2" 
+xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"
+attributeFormDefault="unqualified" elementFormDefault="qualified">
+	
+	<xsd:import namespace="http://docs.oasis-open.org/wsrf/bf-2" 
+	   schemaLocation="./bf-2.xsd" />
+	<xsd:import namespace="http://www.w3.org/2005/08/addressing" 
+	   schemaLocation="/schemas/wsdl/ws-addr.xsd" />
+	<xsd:import namespace="http://docs.oasis-open.org/wsrf/rl-2" 
+	   schemaLocation="./rl-2.xsd" />	
+	<xsd:import namespace="http://docs.oasis-open.org/wsrf/rp-2" 
+	   schemaLocation="./rp-2.xsd" />
+	
+		
+	<xsd:element name="printer_name" type="pr:printer_nameType" />
+	<xsd:simpleType name="printer_nameType">
+		<xsd:restriction base="xsd:string">
+			<xsd:minLength value="1" />
+			<xsd:maxLength value="127" />
+		</xsd:restriction>
+	</xsd:simpleType>
+	
+	<xsd:element name="job_id" type="xsd:integer"/>
+
+	<!-- Printer Resource Properties document Schema 	-->
+
+	<xsd:element name="PrinterRP">
+		<xsd:complexType>
+			<xsd:sequence>
+				<xsd:element ref="pr:printer_reference" />
+				<xsd:element ref="pr:printer_name" />
+				<xsd:element ref="pr:printer_state" />
+				<xsd:element ref="pr:printer_is_accepting_jobs" />
+				<xsd:element ref="pr:queued_job_count" />				
+				<xsd:element ref="pr:document_format_supported" />
+				<xsd:element ref="pr:job_hold_until_default" minOccurs="0"/>
+				<xsd:element ref="pr:job_hold_until_supported" minOccurs="0" maxOccurs="unbounded" />
+				<xsd:element ref="wsrf-rp:QueryExpressionDialect" minOccurs="0" maxOccurs="unbounded" />
+				<xsd:element ref="pr:job_properties" minOccurs="0" maxOccurs="unbounded" />
+			</xsd:sequence>
+		</xsd:complexType>
+	</xsd:element>
+	
+	<xsd:element name="printer_reference" type="wsa:EndpointReferenceType" />
+	
+	<xsd:element name="printer_state" type="pr:printerStateType" />
+	<xsd:element name="printer_is_accepting_jobs" type="xsd:boolean" />
+	<xsd:element name="queued_job_count" type="xsd:integer" />
+	<xsd:element name="document_format_supported" type="pr:mimeMediaTypes" />
+	<xsd:simpleType name="name">
+		<xsd:restriction base="xsd:string">
+			<xsd:minLength value="1" />
+			<xsd:maxLength value="127" />
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="printerStateType">
+		<xsd:restriction base="xsd:string">
+			<xsd:enumeration value="Idle" />
+			<xsd:enumeration value="Processing" />
+			<xsd:enumeration value="Stopped" />
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="mimeMediaTypeType">
+		<xsd:restriction base="xsd:string">
+			<xsd:enumeration value="text/plain" />
+			<xsd:enumeration value="application/postscript" />
+			<xsd:enumeration value="application/vnd.hp-PCL" />
+			<xsd:enumeration value="application/octet-stream" />
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:element name="mimeMediaType" type="pr:mimeMediaTypeType" />
+	<xsd:complexType name="mimeMediaTypes">
+		<xsd:sequence>
+			<xsd:element ref="pr:mimeMediaType" maxOccurs="unbounded" />
+		</xsd:sequence>
+	</xsd:complexType>
+	
+	<xsd:element name="job_hold_until_default" type="pr:holdPeriod" />
+	<xsd:element name="job_hold_until_supported" type="pr:holdPeriod" />
+	<xsd:simpleType name="holdPeriod">
+		<xsd:restriction base="xsd:string">
+			<xsd:pattern value="No-Hold" />
+			<xsd:pattern value="Overnight" />
+			<xsd:pattern value="[A-Z,a-z,-,0-9]{1,10}" />
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:element name="printer_message_from_operator" type="xsd:string" />
+	
+
+	<!-- Job ResourceProperties Document schema -->
+	
+	<xsd:element name="job_properties">
+		<xsd:complexType>
+			<xsd:sequence>
+				<xsd:element ref="pr:job_reference" />
+				<xsd:element ref="pr:job_printer_reference" />
+				<xsd:element ref="pr:job_name" />
+				<xsd:element ref="pr:job_id" />
+				<xsd:element ref="pr:job_originating_user_name" />
+				<xsd:element ref="pr:job_state" />
+				<xsd:element ref="wsrf-rl:CurrentTime" />
+				<xsd:element ref="wsrf-rl:TerminationTime" />
+			</xsd:sequence>
+		</xsd:complexType>
+	</xsd:element>	
+
+	<xsd:element name="job_reference" type="wsa:EndpointReferenceType" />
+	<xsd:element name="job_printer_reference" type="wsa:EndpointReferenceType" />
+	<xsd:element name="job_name" type="pr:jobNameType"/>
+	<xsd:element name="job_originating_user_name" type="pr:userNameType" />
+	<xsd:element name="job_state" type="pr:jobStateType" />
+	<xsd:simpleType name="jobNameType">
+		<xsd:restriction base="xsd:string">
+			<xsd:minLength value="1" />
+			<xsd:maxLength value="1023" />
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="userNameType">
+		<xsd:restriction base="xsd:string">
+			<xsd:minLength value="1" />
+			<xsd:maxLength value="1023" />
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name="jobStateType">
+		<xsd:restriction base="xsd:string">
+			<xsd:enumeration value="pending" />
+			<xsd:enumeration value="pending-held" />
+			<xsd:enumeration value="processing" />
+			<xsd:enumeration value="processing-stopped" />
+			<xsd:enumeration value="canceled" />
+			<xsd:enumeration value="aborted" />
+			<xsd:enumeration value="completed" />
+		</xsd:restriction>
+	</xsd:simpleType>
+ 
+    <xsd:complexType name="DocumentContentType">
+		<xsd:sequence>
+			<xsd:element name="Base64Data" type="xsd:base64Binary" />
+		</xsd:sequence>
+	</xsd:complexType>
+    
+
+  <!-- Message Definitions -->
+
+
+   <xsd:element name="Print_JobRequest">	
+		<xsd:complexType>
+			<xsd:sequence>
+				<xsd:element ref="pr:printer_name" minOccurs="0"/>
+				<xsd:element ref="pr:job_name" />
+				<xsd:element name="document_format" type="pr:mimeMediaTypeType" />
+				<xsd:element name="document_content" type="pr:DocumentContentType" />
+			</xsd:sequence>
+		</xsd:complexType>
+	</xsd:element>
+
+	
+	<xsd:element name="JobCreationResponse">
+ 		<xsd:annotation>
+			<xsd:documentation>"Used for responses to Print-Job, Create-Job
+			 and Send-Document"</xsd:documentation>
+		</xsd:annotation>
+	  	<xsd:complexType>
+			<xsd:sequence>
+				<xsd:element ref="pr:job_id" minOccurs="0"/>
+				<xsd:element ref="pr:SuccessStatusCode" />
+				<xsd:element ref="pr:job_reference"/>
+				<xsd:element ref="pr:job_state" />
+			</xsd:sequence>
+		</xsd:complexType>
+	</xsd:element>
+
+	<xsd:element name="Create_JobRequest">
+		<xsd:complexType>
+			<xsd:sequence>
+				<xsd:element ref="pr:job_name" />
+			</xsd:sequence>
+		</xsd:complexType>
+	</xsd:element>
+	
+	<xsd:element name="Send_DocumentRequest">
+	<xsd:complexType>
+		<xsd:sequence>
+			<xsd:element name="last_document" type="xsd:boolean" />
+			<xsd:element name="document_format" type="xsd:string" />
+			<xsd:element name="document_content" type="pr:DocumentContentType" />
+		</xsd:sequence>
+	</xsd:complexType>
+	</xsd:element>
+	
+	<xsd:element name="client_error_not_possibleFault" type="pr:client_error_not_possibleFaultType"/>
+ 	<xsd:complexType name="client_error_not_possibleFaultType">
+		<xsd:complexContent>
+			<xsd:extension base="wsrf-bf:BaseFaultType"/>
+		</xsd:complexContent>
+	</xsd:complexType>
+	
+	<xsd:element name="SuccessStatusCode" type="xsd:string"/>
+	
+	<xsd:element name="Job_stateChangeNotification">
+	 <xsd:complexType>
+		<xsd:sequence>
+			<xsd:element ref="pr:printer_name"/>
+			<xsd:element ref="pr:job_name"/>
+			<xsd:element ref="wsrf-rp:ResourcePropertyValueChangeNotification" />
+		</xsd:sequence>
+	</xsd:complexType>
+	</xsd:element>
+	
+	
+</xsd:schema>

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/Printer.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/Printer.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/Printer.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

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

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/bf-2.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/bf-2.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/bf-2.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

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

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/r-2.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/r-2.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/r-2.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

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

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/rl-2.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/rl-2.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/rl-2.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/rlw-2.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/rlw-2.wsdl?view=auto&rev=502193
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/rlw-2.wsdl (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/rlw-2.wsdl Thu Feb  1 02:59:13 2007
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+ 
+  http://www.apache.org/licenses/LICENSE-2.0
+ 
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<!--
+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="rw-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="./rl-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="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: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: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>

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/rlw-2.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/rlw-2.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/rlw-2.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/rp-2.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/rp-2.xsd?view=auto&rev=502193
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/rp-2.xsd (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug305770/rp-2.xsd Thu Feb  1 02:59:13 2007
@@ -0,0 +1,393 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
+
+OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
+
+Copyright (C) OASIS Open (2005). All Rights Reserved.
+
+This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English. 
+
+The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns. 
+
+This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+-->
+
+<xsd:schema 
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+  xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"
+  xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
+  elementFormDefault="qualified" attributeFormDefault="unqualified" 
+  targetNamespace="http://docs.oasis-open.org/wsrf/rp-2">
+
+  <xsd:import namespace="http://docs.oasis-open.org/wsrf/bf-2"
+              schemaLocation="bf-2.xsd" /> 
+
+  <!-- =============== Resource Property Related  =================== --> 
+
+  <!-- ====== Resource Properties for QueryResourceProperties ======= -->
+
+  <xsd:element name="QueryExpressionDialect" type="xsd:anyURI" />
+   
+  <xsd:element name="QueryExpressionRPDocument">
+    <xsd:complexType>
+      <xsd:sequence>
+        <xsd:element ref="wsrf-rp:QueryExpressionDialect"
+                     minOccurs="0" maxOccurs="unbounded" />
+      </xsd:sequence>
+    </xsd:complexType>
+  </xsd:element>
+
+  <!-- ======= Global Attribute Declaration for WSDL 1.1 portType==== --> 
+
+  <xsd:attribute name="ResourceProperties" type="xsd:QName" />
+
+  <!-- = Notification Message for ResourceProperties value change === -->
+
+  <xsd:complexType name="ResourcePropertyValueChangeNotificationType">
+    <xsd:sequence>
+      <xsd:element name="OldValues" nillable="true"
+                   minOccurs="0" maxOccurs="1" >
+        <xsd:complexType>
+          <xsd:sequence>
+            <xsd:any minOccurs="1" maxOccurs="unbounded" />
+          </xsd:sequence>
+        </xsd:complexType>
+      </xsd:element>
+      <xsd:element name="NewValues" nillable="true"
+                   minOccurs="1" maxOccurs="1" >
+        <xsd:complexType>
+          <xsd:sequence>
+            <xsd:any minOccurs="1" maxOccurs="unbounded" />
+          </xsd:sequence>
+        </xsd:complexType>
+      </xsd:element>      
+    </xsd:sequence>
+  </xsd:complexType>
+  
+  <xsd:element name="ResourcePropertyValueChangeNotification" 
+        type="wsrf-rp:ResourcePropertyValueChangeNotificationType" />
+
+  <xsd:complexType name="QueryExpressionType" mixed="true">
+    <xsd:sequence>
+      <xsd:any minOccurs="0" maxOccurs="1" processContents="lax" />
+    </xsd:sequence>
+    <xsd:attribute name="Dialect" type="xsd:anyURI" />
+  </xsd:complexType>
+
+  <xsd:element name="QueryExpression" type="wsrf-rp:QueryExpressionType" />
+
+  <!-- ======= Message Types for GetResourcePropertyDocument  ======= -->
+
+  <xsd:element name="GetResourcePropertyDocument">
+    <xsd:complexType />
+  </xsd:element>
+
+  <xsd:element name="GetResourcePropertyDocumentResponse">
+    <xsd:complexType>
+      <xsd:sequence>
+        <xsd:any minOccurs="1" maxOccurs="1" />
+      </xsd:sequence>
+    </xsd:complexType>
+  </xsd:element>
+
+  <!-- ========== Message Types for GetResourceProperty  ============ -->
+       
+  <xsd:element name="GetResourceProperty" 
+               type="xsd:QName" />
+
+  <xsd:element name="GetResourcePropertyResponse" >
+    <xsd:complexType>
+      <xsd:sequence>
+        <xsd:any minOccurs="0" maxOccurs="unbounded" />
+      </xsd:sequence>
+    </xsd:complexType>
+  </xsd:element>
+
+  <xsd:complexType name="InvalidResourcePropertyQNameFaultType">
+    <xsd:complexContent>
+      <xsd:extension base="wsrf-bf:BaseFaultType" />
+    </xsd:complexContent>
+  </xsd:complexType>
+  <xsd:element name="InvalidResourcePropertyQNameFault" 
+               type="wsrf-rp:InvalidResourcePropertyQNameFaultType" />
+
+  <!-- ====== Message Types for GetMultipleResourceProperties ======= -->       
+
+  <xsd:element name="GetMultipleResourceProperties">
+    <xsd:complexType>
+      <xsd:sequence>
+        <xsd:element name="ResourceProperty" type="xsd:QName" 
+                     minOccurs="1" maxOccurs="unbounded" />
+      </xsd:sequence>
+    </xsd:complexType>
+  </xsd:element>
+ 
+  <xsd:element name="GetMultipleResourcePropertiesResponse">
+    <xsd:complexType>
+      <xsd:sequence>
+        <xsd:any minOccurs="0" maxOccurs="unbounded" />
+      </xsd:sequence>
+    </xsd:complexType>
+  </xsd:element>
+
+  <!-- ========== Message Types for PutResourceProperty  ============ -->
+
+  <xsd:element name="PutResourcePropertyDocument">
+    <xsd:complexType>
+      <xsd:sequence>
+        <xsd:any minOccurs="1" maxOccurs="1" />
+      </xsd:sequence>
+    </xsd:complexType>
+  </xsd:element>
+
+  <xsd:element name="PutResourcePropertyDocumentResponse">
+    <xsd:complexType>
+      <xsd:sequence>
+        <xsd:any minOccurs="0" maxOccurs="1" />
+      </xsd:sequence>
+    </xsd:complexType>
+  </xsd:element>
+
+  <xsd:complexType name="ResourcePropertyChangeFailureType">
+         <xsd:sequence>
+         <xsd:element name="CurrentValue" minOccurs="0" maxOccurs="1">
+           <xsd:complexType>
+             <xsd:sequence>
+               <xsd:any minOccurs="1" maxOccurs="unbounded" />
+             </xsd:sequence>
+           </xsd:complexType>
+         </xsd:element>
+         <xsd:element name="RequestedValue" minOccurs="0" maxOccurs="1">
+           <xsd:complexType>
+             <xsd:sequence>
+               <xsd:any minOccurs="1" maxOccurs="unbounded" />
+             </xsd:sequence>
+           </xsd:complexType>
+         </xsd:element>
+     </xsd:sequence>
+     <xsd:attribute name="Restored" type="xsd:boolean" />
+  </xsd:complexType>
+
+  <xsd:complexType name="UnableToPutResourcePropertyDocumentFaultType">
+    <xsd:complexContent>
+      <xsd:extension base="wsrf-bf:BaseFaultType">
+        <xsd:sequence>
+          <xsd:element name="ResourcePropertyChangeFailure"
+                       type="wsrf-rp:ResourcePropertyChangeFailureType" />
+        </xsd:sequence>
+      </xsd:extension>
+    </xsd:complexContent>
+  </xsd:complexType>
+  <xsd:element name="UnableToPutResourcePropertyDocumentFault" 
+               type="wsrf-rp:UnableToPutResourcePropertyDocumentFaultType" />
+
+  <!-- ========= Message Types for SetResourceProperties =========== -->
+                   
+  <xsd:complexType name="InsertType">
+    <xsd:sequence>
+      <xsd:any processContents="lax"
+               minOccurs="1" maxOccurs="unbounded" />
+    </xsd:sequence>
+  </xsd:complexType>
+  <xsd:element name="Insert" type="wsrf-rp:InsertType" />
+         
+  <xsd:complexType name="UpdateType">
+    <xsd:sequence>
+      <xsd:any processContents="lax"
+               minOccurs="1" maxOccurs="unbounded" />
+    </xsd:sequence>
+  </xsd:complexType>
+  <xsd:element name="Update" type="wsrf-rp:UpdateType" />
+         
+  <xsd:complexType name="DeleteType">
+    <xsd:attribute name="ResourceProperty" 
+                   type="xsd:QName" use="required" />
+  </xsd:complexType>
+  <xsd:element name="Delete" type="wsrf-rp:DeleteType" />
+        
+  <xsd:element name="SetResourceProperties">
+    <xsd:complexType>
+      <xsd:choice minOccurs="1" maxOccurs="unbounded">
+        <xsd:element ref="wsrf-rp:Insert" />
+        <xsd:element ref="wsrf-rp:Update" />
+        <xsd:element ref="wsrf-rp:Delete" />
+      </xsd:choice>
+    </xsd:complexType>
+  </xsd:element>
+
+  <xsd:element name="SetResourcePropertiesResponse" >
+    <xsd:complexType />
+  </xsd:element>
+
+  <xsd:complexType name="InvalidModificationFaultType">
+    <xsd:complexContent>
+      <xsd:extension base="wsrf-bf:BaseFaultType">
+        <xsd:sequence>
+          <xsd:element name="ResourcePropertyChangeFailure"
+                       type="wsrf-rp:ResourcePropertyChangeFailureType" />
+        </xsd:sequence>
+      </xsd:extension>
+    </xsd:complexContent>
+  </xsd:complexType>
+  <xsd:element name="InvalidModificationFault" 
+               type="wsrf-rp:InvalidModificationFaultType" />
+
+  <xsd:complexType name="UnableToModifyResourcePropertyFaultType">
+    <xsd:complexContent>
+      <xsd:extension base="wsrf-bf:BaseFaultType">
+        <xsd:sequence>
+          <xsd:element name="ResourcePropertyChangeFailure"
+                       type="wsrf-rp:ResourcePropertyChangeFailureType" />
+        </xsd:sequence>
+      </xsd:extension>
+    </xsd:complexContent>
+  </xsd:complexType>
+  <xsd:element name="UnableToModifyResourcePropertyFault" 
+               type="wsrf-rp:UnableToModifyResourcePropertyFaultType" />
+
+  <xsd:complexType name="SetResourcePropertyRequestFailedFaultType">
+    <xsd:complexContent>
+      <xsd:extension base="wsrf-bf:BaseFaultType">
+        <xsd:sequence>
+          <xsd:element name="ResourcePropertyChangeFailure"
+                       type="wsrf-rp:ResourcePropertyChangeFailureType" />
+        </xsd:sequence>
+      </xsd:extension>
+    </xsd:complexContent>
+  </xsd:complexType>
+  <xsd:element name="SetResourcePropertyRequestFailedFault" 
+               type="wsrf-rp:SetResourcePropertyRequestFailedFaultType" />
+
+  <xsd:complexType name="InsertResourcePropertiesRequestFailedFaultType">
+    <xsd:complexContent>
+      <xsd:extension base="wsrf-bf:BaseFaultType">
+        <xsd:sequence>
+          <xsd:element name="ResourcePropertyChangeFailure"
+                       type="wsrf-rp:ResourcePropertyChangeFailureType" />
+        </xsd:sequence>
+      </xsd:extension>
+    </xsd:complexContent>
+  </xsd:complexType>
+  <xsd:element name="InsertResourcePropertiesRequestFailedFault" 
+               type="wsrf-rp:InsertResourcePropertiesRequestFailedFaultType" />
+
+  <xsd:complexType name="UpdateResourcePropertiesRequestFailedFaultType">
+    <xsd:complexContent>
+      <xsd:extension base="wsrf-bf:BaseFaultType">
+        <xsd:sequence>
+          <xsd:element name="ResourcePropertyChangeFailure"
+                       type="wsrf-rp:ResourcePropertyChangeFailureType" />
+        </xsd:sequence>
+      </xsd:extension>
+    </xsd:complexContent>
+  </xsd:complexType>
+  <xsd:element 
+     name="UpdateResourcePropertiesRequestFailedFault" 
+     type="wsrf-rp:UpdateResourcePropertiesRequestFailedFaultType" />
+
+  <xsd:complexType name="DeleteResourcePropertiesRequestFailedFaultType">
+    <xsd:complexContent>
+      <xsd:extension base="wsrf-bf:BaseFaultType">
+        <xsd:sequence>
+          <xsd:element name="ResourcePropertyChangeFailure"
+                       type="wsrf-rp:ResourcePropertyChangeFailureType" />
+        </xsd:sequence>
+      </xsd:extension>
+    </xsd:complexContent>
+  </xsd:complexType>
+  <xsd:element 
+     name="DeleteResourcePropertiesRequestFailedFault" 
+     type="wsrf-rp:DeleteResourcePropertiesRequestFailedFaultType" />
+
+  <!-- ======== Message Types for InsertResourceProperties ========== -->
+
+  <xsd:element name="InsertResourceProperties">
+    <xsd:complexType>
+      <xsd:sequence>
+        <xsd:element ref="wsrf-rp:Insert" /> 
+      </xsd:sequence>
+    </xsd:complexType>
+  </xsd:element>
+
+  <xsd:element name="InsertResourcePropertiesResponse" >
+    <xsd:complexType />
+  </xsd:element>
+      
+  <!-- ======== Message Types for UpdateResourceProperties ========== -->
+
+  <xsd:element name="UpdateResourceProperties">
+    <xsd:complexType>
+      <xsd:sequence>
+        <xsd:element ref="wsrf-rp:Update" /> 
+      </xsd:sequence>
+    </xsd:complexType>
+  </xsd:element>
+
+  <xsd:element name="UpdateResourcePropertiesResponse" >
+    <xsd:complexType />
+  </xsd:element>
+
+  <!-- ======== Message Types for DeleteResourceProperties ========== -->
+
+  <xsd:element name="DeleteResourceProperties">
+    <xsd:complexType>
+      <xsd:sequence>
+        <xsd:element ref="wsrf-rp:Delete" /> 
+      </xsd:sequence>
+    </xsd:complexType>
+  </xsd:element>
+
+  <xsd:element name="DeleteResourcePropertiesResponse" >
+    <xsd:complexType />
+  </xsd:element>
+
+  <!-- ========= Message Types for QueryResourceProperties ========== -->         
+       
+  <xsd:element name="QueryResourceProperties" >
+    <xsd:complexType>
+      <xsd:sequence>
+        <xsd:element ref="wsrf-rp:QueryExpression" 
+                     minOccurs="1" maxOccurs="1" />
+      </xsd:sequence>
+    </xsd:complexType>
+  </xsd:element>
+ 
+  <xsd:element name="QueryResourcePropertiesResponse" >
+    <xsd:complexType>
+      <xsd:complexContent mixed="true">
+        <xsd:restriction base="xsd:anyType">
+          <xsd:sequence>
+            <xsd:any processContents="lax" 
+                     minOccurs="1" maxOccurs="unbounded" />
+          </xsd:sequence>
+        </xsd:restriction>
+      </xsd:complexContent>
+    </xsd:complexType>
+  </xsd:element>        
+
+  <xsd:complexType name="UnknownQueryExpressionDialectFaultType">
+    <xsd:complexContent>
+      <xsd:extension base="wsrf-bf:BaseFaultType" />
+    </xsd:complexContent>
+  </xsd:complexType>
+  <xsd:element name="UnknownQueryExpressionDialectFault" 
+               type="wsrf-rp:UnknownQueryExpressionDialectFaultType" />
+
+  <xsd:complexType name="InvalidQueryExpressionFaultType">
+    <xsd:complexContent>
+      <xsd:extension base="wsrf-bf:BaseFaultType" />
+    </xsd:complexContent>
+  </xsd:complexType>
+  <xsd:element name="InvalidQueryExpressionFault" 
+               type="wsrf-rp:InvalidQueryExpressionFaultType" />
+
+  <xsd:complexType name="QueryEvaluationErrorFaultType">
+    <xsd:complexContent>
+      <xsd:extension base="wsrf-bf:BaseFaultType" />
+    </xsd:complexContent>
+  </xsd:complexType>
+  <xsd:element name="QueryEvaluationErrorFault" 
+               type="wsrf-rp:QueryEvaluationErrorFaultType" />
+
+</xsd:schema>



Mime
View raw message