wsbpel_main-draft-sep-06-2005.xsd

来自「bpel执行引擎用来执行bpel业务流程」· XSD 代码 · 共 903 行 · 第 1/3 页

XSD
903
字号
<?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.  --><schema targetNamespace="http://schemas.xmlsoap.org/ws/2004/03/business-process/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/" elementFormDefault="qualified">	<annotation>		<documentation>			BPEL4WS Schema			2004-03-24: YIU-OSS: Alex Yiu: Extracted from  wsbpel-specification-draft.doc (Rev 1.22 - Modified on 24 March, 2004)			2004-03-24: YIU-OSS: Alex Yiu: Updated targetNamespace with "2004/03"			2004-03-24: YIU-OSS: Alex Yiu: fixed a number of syntax typos (e.g remove complexContent)			2004-06-26: YIU-OSS: Alex Yiu: Using XMLSpy to do a re-indent			2004-06-28: YIU-OSS: Alex Yiu: Applying Issue 94 resolution by merging tActivityContainer and tActivityOrCompensateContainer			2004-06-28: YIU-OSS: Alex Yiu: Applying Issue 75 resolution: by allowing partnerLinks declaration within a scope			2004-06-28: YIU-OSS: Alex Yiu: Applying Issue 37 resolution: "initiate" attribute becomes a tri-value switch instead of a boolean switch			2004-07-19: YIU-OSS: Alex Yiu: Adding "service-ref" element and its definition for issue 34			2004-07-21: YIU-OSS: Alex Yiu: Applying Issue 43 and 44			2004-09-01: YIU-OSS: Alex Yiu: Applying Issue 146: Making tVariable Extensible			2004-09-01: YIU-OSS: Alex Yiu: Applying Issue 149: Adding formal documentation support to BPEL 			2004-09-01: YIU-OSS: Alex Yiu: A bunch of misc cleanup for Issue 13			2004-10-20: YIU-OSS: Alex Yiu: Fixing schema problems discovered by Dieter Koenig			2004-10-20: YIU-OSS: Alex Yiu: Applying Issue 123			2004-10-20: YIU-OSS: Alex Yiu: Applying some non-normative changes suggested by Paul Brown 			2004-11-30: YIU-OSS: Alex Yiu: Applying Issue 152 and 165			2004-12-02: YIU-OSS: Alex Yiu: Applying Issue 135 (TerminationHandler changes from Satish)			2005-04-02: curbera-oss: Paco Curbera: Applying Issue 93			2005-04-24: curbera-oss: Paco Curbera: Applying Issue 112			2005-05-01: YIU-OSS: Alex Yiu: Fixing XSD syntax typo for Issue 112			2005-05-02: YIU-OSS: Alex Yiu: Reapplying XSD syntax changes lost during CVS Migration:					(a) Moving terminationHandler from process level to scope level					(b) removing compensationHandler from the process level					(c) renaming an attribute of "scope" from "variableAccessSerializable" to "isolated"					(d) removing "enableInstanceCompensation" attribute from XSD					(e) removing "partner" and "partners" element			2005-05-06: Rev 1.18: Assaf Arkin: Applying Issue 160, added validate activity, validate attribute to assign, simple type tNCNames			2005-06-24: Rev 1.19: YIU-OSS: Alex Yiu: fixing minor typo in the Rev 1.18			2005-06-28: Rev 1.20: YIU-OSS: Alex Yiu: applying Issue 140 - adding "repeatUntil" activity			2005-07-25: Rev 1.21: YIU-OSS: Alex Yiu: Applying Issue 103, 199, 203 and Issue 196			2005-08-14: Rev 1.22: curbera-oss: Paco Curbera: Applying Issue 139.1, 147			2005-08-20: Rev 1.23: assaf-oss: Assaf Arkin: fixed issues 202, 206, 209, 214 and 132. (this comment is added by alex)			2005-08-29: Rev 1.24: YIU-OSS: Alex Yiu: rectify the definition of "forEach" (issue 147) according to the issue 204 by adding "scope" (note: we still need to apply the rest of issue 204.  			2005-08-30: Rev 1.25: YIU-OSS: Alex Yiu: 				Apply XSD changes for Issue 190, Issue 136, Issue 213. 				Apply XSD Changes for Issue 111 and 11.1				Apply XSD Changes for Issue 192 by merging wsbpel_msgprop.xsd into this wsbpel_main.xsd				XSD Changes in Issue 145 was missing. Re-apply it here. 		</documentation>	</annotation>	<import namespace="http://schemas.xmlsoap.org/wsdl/" schemaLocation="wsdl.xsd"/>	<import namespace="http://www.w3.org/XML/1998/namespace"  schemaLocation="xml.xsd" />	<element name="documentation" id="documentation">		<complexType mixed="true">			<sequence minOccurs="0" maxOccurs="unbounded">				<any processContents="lax"/>			</sequence>			<attribute name="source" type="anyURI"/>			<attribute ref="xml:lang"/>		</complexType>	</element>	<complexType name="tExtensibleElements">		<annotation>			<documentation>		This type is extended by other component types		to allow elements and attributes from		other namespaces to be added.	   </documentation>		</annotation>		<sequence>			<element ref="bpws:documentation" minOccurs="0" maxOccurs="unbounded" />			<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>		</sequence>		<anyAttribute namespace="##other" processContents="lax"/>	</complexType>	<element name="process" type="bpws:tProcess"/>	<complexType name="tProcess">		<complexContent>			<extension base="bpws:tExtensibleElements">				<sequence>					<element name="import" type="bpws:tImport" minOccurs="0" maxOccurs="unbounded"/>					<element name="partnerLinks" type="bpws:tPartnerLinks" minOccurs="0"/>					<element name="variables" type="bpws:tVariables" minOccurs="0"/>					<element name="correlationSets" type="bpws:tCorrelationSets" minOccurs="0"/>					<element name="faultHandlers" type="bpws:tFaultHandlers" minOccurs="0"/>					<element name="eventHandlers" type="bpws:tEventHandlers" minOccurs="0"/>					<group ref="bpws:activity"/>				</sequence>				<attribute name="name" type="NCName" use="required"/>				<attribute name="targetNamespace" type="anyURI" use="required"/>				<attribute name="queryLanguage" type="anyURI" default="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"/>				<attribute name="expressionLanguage" type="anyURI" default="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"/>				<attribute name="suppressJoinFailure" type="bpws:tBoolean" default="no"/>				<attribute name="abstractProcess" type="bpws:tBoolean" default="no"/>				<attribute name="exitOnStandardFault" type="bpws:tBoolean" default="no"/>			</extension>		</complexContent>	</complexType>	<group name="activity">		<annotation>			<documentation>				Addtional constraint:				 - rethrow activity can be used ONLY within a fault handler 				   (i.e. "catch" element of bpws:tCatch type and 				   "catchAll" element of bpws:tActivityOrCompensateContainer type )				 - compensate activity can be used ONLY within a fault handler or a compensation handler 				   (i.e. bpws:tActivityOrCompensateContainer type)			</documentation>		</annotation>		<choice>			<element ref="bpws:empty"/>			<element ref="bpws:invoke"/>			<element ref="bpws:receive"/>			<element ref="bpws:reply"/>			<element ref="bpws:assign"/>			<element ref="bpws:validate"/>			<element ref="bpws:wait"/>			<element ref="bpws:throw"/>			<element ref="bpws:rethrow"/>			<element ref="bpws:exit"/>			<element ref="bpws:flow"/>			<element ref="bpws:if"/> 			<element ref="bpws:while"/>			<element ref="bpws:repeatUntil"/>			<element ref="bpws:sequence"/>			<element ref="bpws:pick"/>			<element ref="bpws:scope"/>			<element ref="bpws:compensate"/>			<element ref="bpws:forEach"/> 			<element ref="bpws:extensionActivity"/> 		</choice>	</group>	<element name="empty" type="bpws:tEmpty"/>	<element name="invoke" type="bpws:tInvoke"/>	<element name="receive" type="bpws:tReceive"/>	<element name="reply" type="bpws:tReply"/>	<element name="assign" type="bpws:tAssign"/>	<element name="validate" type="bpws:tValidate"/>	<element name="wait" type="bpws:tWait"/>	<element name="throw" type="bpws:tThrow"/>	<element name="rethrow" type="bpws:tRethrow"/>	<element name="exit" type="bpws:tTerminate"/>	<element name="flow" type="bpws:tFlow"/>	<element name="if" type="bpws:tIf" />	<element name="while" type="bpws:tWhile"/>	<element name="repeatUntil" type="bpws:tRepeatUntil"/>	<element name="sequence" type="bpws:tSequence"/>	<element name="pick" type="bpws:tPick"/>	<element name="scope" type="bpws:tScope"/>	<element name="compensate" type="bpws:tCompensate"/>	<element name="forEach" type="bpws:tForEach"/>	<element name="extensionActivity" type="bpws:tExtensionActivity"/> 	<complexType name="tImport">		<complexContent>			<extension base="bpws:tExtensibleElements">				<attribute name="namespace" type="anyURI" use="required"/>				<attribute name="location" type="anyURI" use="required"/>				<attribute name="importType" type="bpws:importedURI" use="required"/>			</extension>		</complexContent>	</complexType>	<complexType name="tPartnerLinks">		<complexContent>			<extension base="bpws:tExtensibleElements">				<sequence>					<element name="partnerLink" type="bpws:tPartnerLink" maxOccurs="unbounded"/>				</sequence>			</extension>		</complexContent>	</complexType>	<complexType name="tPartnerLink">		<complexContent>			<extension base="bpws:tExtensibleElements">				<attribute name="name" type="NCName" use="required"/>				<attribute name="partnerLinkType" type="QName" use="required"/>				<attribute name="myRole" type="NCName"/>				<attribute name="partnerRole" type="NCName"/>				<attribute name="initializePartnerRole" type="bpws:tBoolean" default="no"/>			</extension>		</complexContent>	</complexType>	<complexType name="tFaultHandlers">		<complexContent>			<extension base="bpws:tExtensibleElements">				<sequence>					<element name="catch" type="bpws:tCatch" minOccurs="0" maxOccurs="unbounded"/>					<element name="catchAll" type="bpws:tActivityOrCompensateContainer" minOccurs="0"/>				</sequence>			</extension>		</complexContent>	</complexType>	<complexType name="tCatch">		<complexContent>			<extension base="bpws:tActivityOrCompensateContainer">				<attribute name="faultName" type="QName"/>				<attribute name="faultVariable" type="NCName"/>				<attribute name="faultMessageType" type="QName"/>				<attribute name="faultElement" type="QName"/>			</extension>		</complexContent>	</complexType>	<complexType name="tActivityContainer">		<complexContent>			<extension base="bpws:tExtensibleElements">				<sequence>					<group ref="bpws:activity"/>				</sequence>			</extension>		</complexContent>	</complexType>	<complexType name="tActivityOrCompensateContainer">		<annotation>			<documentation>				An empty extension from bpws:tActivityContainer to denote where the compensate activity is allowed			</documentation>		</annotation>		<complexContent>			<extension base="bpws:tActivityContainer"/>		</complexContent>	</complexType>	<complexType name="tEventHandlers">		<complexContent>			<extension base="bpws:tExtensibleElements">				<sequence>					<element name="onEvent" type="bpws:tOnEvent" minOccurs="0" maxOccurs="unbounded"/>					<element name="onAlarm" type="bpws:tOnAlarmEvent" minOccurs="0" maxOccurs="unbounded"/>				</sequence>			</extension>		</complexContent>	</complexType>	<complexType name="tOnEvent">		<complexContent>			<extension base="bpws:tOnMsgCommon">								<sequence>					<group ref="bpws:activity"/>				</sequence>				<attribute name="messageType" type="QName" use="required"/>				<attribute name="variable" type="NCName" use="required"/>			</extension>		</complexContent>	</complexType>	<complexType name="tOnMessage">		<complexContent>			<extension base="bpws:tOnMsgCommon">				<sequence>					<group ref="bpws:activity"/>				</sequence>				<attribute name="variable" type="NCName" use="optional"/>			</extension>		</complexContent>	</complexType>	<complexType name="tOnMsgCommon">		<complexContent>			<extension base="bpws:tExtensibleElements">				<sequence>					<element name="fromPart" type="bpws:tFromPart" minOccurs="0" maxOccurs="unbounded"/>					<element name="correlations" type="bpws:tCorrelations" minOccurs="0"/>				</sequence>				<attribute name="partnerLink" type="NCName" use="required"/>				<attribute name="portType" type="QName" use="optional"/>				<attribute name="operation" type="NCName" use="required"/>				<attribute name="messageExchange" type="NCName" use="optional"/>			</extension>		</complexContent>	</complexType>	<complexType name="tOnAlarmCommon">		<complexContent>			<extension base="bpws:tExtensibleElements">					<sequence>						<choice>							<element name="for" type="bpws:tDuration-expr"/>							<element name="until" type="bpws:tDeadline-expr"/>						</choice>					</sequence>			</extension>		</complexContent>	</complexType>	<complexType name="tOnAlarmPick">		<complexContent>			<extension base="bpws:tOnAlarmCommon">				<sequence>					<group ref="bpws:activity"/> 				</sequence> 			</extension> 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?