<xsd:complexTypename="tInvoke"> <xsd:annotation> <xsd:documentation> XSD Authors: The child element correlations needs to be a Local Element Declaration, because there is another correlations element defined for the non-invoke activities. </xsd:documentation> </xsd:annotation> <xsd:complexContent> <xsd:extensionbase="tActivity"> <xsd:sequence> <xsd:elementname="correlations"type="tCorrelationsWithPattern"minOccurs="0"/> <xsd:elementref="catch"minOccurs="0"maxOccurs="unbounded"/> <xsd:elementref="catchAll"minOccurs="0"/> <xsd:elementref="compensationHandler"minOccurs="0"/> <xsd:elementref="toParts"minOccurs="0"/> <xsd:elementref="fromParts"minOccurs="0"/> </xsd:sequence> <xsd:attributename="partnerLink"type="xsd:NCName"use="required"/> <xsd:attributename="portType"type="xsd:QName"use="optional"/> <xsd:attributename="operation"type="xsd:NCName"use="required"/> <xsd:attributename="inputVariable"type="BPELVariableName"use="optional"/> <xsd:attributename="outputVariable"type="BPELVariableName"use="optional"/> </xsd:extension> </xsd:complexContent> </xsd:complexType>
<xsd:complexTypename="tCorrelationsWithPattern"> <xsd:annotation> <xsd:documentation> XSD Authors: The child element correlation needs to be a Local Element Declaration, because there is another correlation element defined for the non-invoke activities. </xsd:documentation> </xsd:annotation> <xsd:complexContent> <xsd:extensionbase="tExtensibleElements"> <xsd:sequence> <xsd:elementname="correlation"type="tCorrelationWithPattern"minOccurs="1"maxOccurs="unbounded"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType>
<xsd:complexTypename="tPick"> <xsd:annotation> <xsd:documentation> XSD Authors: The child element onAlarm needs to be a Local Element Declaration, because there is another onAlarm element defined for event handlers. </xsd:documentation> </xsd:annotation> <xsd:complexContent> <xsd:extensionbase="tActivity"> <xsd:sequence> <xsd:elementref="onMessage"minOccurs="1"maxOccurs="unbounded"/> <xsd:elementname="onAlarm"type="tOnAlarmPick"minOccurs="0"maxOccurs="unbounded"/> </xsd:sequence> <xsd:attributename="createInstance"type="tBoolean"default="no"/> </xsd:extension> </xsd:complexContent> </xsd:complexType>
<xsd:complexTypename="tReceive"> <xsd:annotation> <xsd:documentation> XSD Authors: The child element correlations needs to be a Local Element Declaration, because there is another correlations element defined for the invoke activity. </xsd:documentation> </xsd:annotation> <xsd:complexContent> <xsd:extensionbase="tActivity"> <xsd:sequence> <xsd:elementname="correlations"type="tCorrelations"minOccurs="0"/> <xsd:elementref="fromParts"minOccurs="0"/> </xsd:sequence> <xsd:attributename="partnerLink"type="xsd:NCName"use="required"/> <xsd:attributename="portType"type="xsd:QName"use="optional"/> <xsd:attributename="operation"type="xsd:NCName"use="required"/> <xsd:attributename="variable"type="BPELVariableName"use="optional"/> <xsd:attributename="createInstance"type="tBoolean"default="no"/> <xsd:attributename="messageExchange"type="xsd:NCName"use="optional"/> </xsd:extension> </xsd:complexContent> </xsd:complexType>
<xsd:complexTypename="tReply"> <xsd:annotation> <xsd:documentation> XSD Authors: The child element correlations needs to be a Local Element Declaration, because there is another correlations element defined for the invoke activity. </xsd:documentation> </xsd:annotation> <xsd:complexContent> <xsd:extensionbase="tActivity"> <xsd:sequence> <xsd:elementname="correlations"type="tCorrelations"minOccurs="0"/> <xsd:elementref="toParts"minOccurs="0"/> </xsd:sequence> <xsd:attributename="partnerLink"type="xsd:NCName"use="required"/> <xsd:attributename="portType"type="xsd:QName"use="optional"/> <xsd:attributename="operation"type="xsd:NCName"use="required"/> <xsd:attributename="variable"type="BPELVariableName"use="optional"/> <xsd:attributename="faultName"type="xsd:QName"/> <xsd:attributename="messageExchange"type="xsd:NCName"use="optional"/> </xsd:extension> </xsd:complexContent> </xsd:complexType>
<xsd:complexTypename="tScope"> <xsd:annotation> <xsd:documentation> There is no schema-level default for "exitOnStandardFault" at "scope". Because, it will inherit default from enclosing scope or process. </xsd:documentation> </xsd:annotation> <xsd:complexContent> <xsd:extensionbase="tActivity"> <xsd:sequence> <xsd:elementref="partnerLinks"minOccurs="0"/> <xsd:elementref="messageExchanges"minOccurs="0"/> <xsd:elementref="variables"minOccurs="0"/> <xsd:elementref="correlationSets"minOccurs="0"/> <xsd:elementref="faultHandlers"minOccurs="0"/> <xsd:elementref="compensationHandler"minOccurs="0"/> <xsd:elementref="terminationHandler"minOccurs="0"/> <xsd:elementref="eventHandlers"minOccurs="0"/> <xsd:groupref="activity"minOccurs="1"/> </xsd:sequence> <xsd:attributename="isolated"type="tBoolean"default="no"/> <xsd:attributename="exitOnStandardFault"type="tBoolean"/> </xsd:extension> </xsd:complexContent> </xsd:complexType>
<xsd:elementname="compensationHandler"type="tActivityContainer"> <xsd:annotation> <xsd:documentation> This element can contain all activities including the activities compensate and compensateScope. </xsd:documentation> </xsd:annotation> </xsd:element>
实际上就是一个tActivityContainer
element:terminationHandler
1 2 3 4 5 6 7
<xsd:elementname="terminationHandler"type="tActivityContainer"> <xsd:annotation> <xsd:documentation> This element can contain all activities including the activities compensate and compensateScope. </xsd:documentation> </xsd:annotation> </xsd:element>