cdl:interaction
Element information
Namespace: http://www.w3.org/2005/10/cdl
Schema document: ws-cdl.xsd
Type: cdl:tInteraction
Properties: Local, Qualified
Content
- Sequence [1..1]
- cdl:description [0..1]
- cdl:CDLExtension [0..*]
- cdl:participate [1..1]
- cdl:exchange [0..*]
- cdl:timeout [0..1]
- cdl:record [0..*]
from type cdl:tExtensibleElements
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
Any attribute | [0..*] | Namespace: ##other, Process Contents: lax | from type cdl:tExtensibleElements | |
name | [1..1] | xsd:NCName | ||
channelVariable | [1..1] | xsd:QName | ||
operation | [1..1] | xsd:NCName | ||
align | [0..1] | xsd:boolean | Default value is "false". | |
initiate | [0..1] | xsd:boolean | Default value is "false". |
Used in
- Group cdl:activity
- Type cdl:tChoice via reference to cdl:activity (Element cdl:choice)
- Type cdl:tChoreography via reference to cdl:activity (Element cdl:choreography)
- Type cdl:tFinalizer via reference to cdl:activity (Element cdl:finalizerBlock)
- Type cdl:tParallel via reference to cdl:activity (Element cdl:parallel)
- Type cdl:tSequence via reference to cdl:activity (Element cdl:sequence)
- Type cdl:tWorkunit via reference to cdl:activity (Element cdl:workunit)
Sample instance
<interaction name="creditAuthorization" channelVariable="tns:CreditRequestor" operation="authorize"> <participate relationshipType="SuperiorInferior" fromRoleTypeRef="tns:Superior" toRoleTypeRef="tns:Inferior"/> <exchange name="creditRequest" informationType="creditRequest" action="request"> <send variable="getVariable('tns:creditRequest','','')"/> <receive variable="getVariable('tns:creditRequest','','')"/> </exchange> <exchange name="creditAuthorized" informationType="creditAuthorizedType" action="respond"> <send variable="getVariable('tns:creditAuthorized','','')"/> <receive variable="getVariable('tns:creditAuthorized','','')"/> </exchange> <exchange name="creditDenied" informationType="creditDeniedType" action="respond"> <send variable="getVariable('tns:creditDenied','','')" causeException="tns:creditDenied"/> <receive variable="getVariable('tns:creditDenied','','')" causeException="tns:creditDenied"/> </exchange> </interaction>