Escolar Documentos
Profissional Documentos
Cultura Documentos
Architecture
Lecture 8: More BPEL
Notes selected from the paper Formal Semantics and Analysis
of control flow in WS-BPEL by Ouyang and others and the book
Business Process Execution Language for Web Services by
Matjaz Juric
X
sx
X
skip
cx
skippedx fx
95-843: Service Oriented Architecture
Master of Information System 4!
Management
Structured Activities (normal behavior)
(a) sequence
rx
X
<sequence name=X> sx
activity A
activity B
</sequence> rA
A
fA
rB
B
fB
sx
rA rB
A B
fA fB
cx
cx
cx
rA
A
fA
cx
<pick>
<onMessage>... The onMessage can act as a
normal receive with almost
the same syntax.
</onMessage>
<onMessage>... The other onMessage can be used
</onMessage> to receive the fault notification.
<onAlarm>... The onAlarm element specifies an
end time or duration.
</onAlarm> It may contain a series of
activities or a throw.
</pick>
<scope variableAccessSerializable="yes">
...
</scope>
95-843: Service Oriented Architecture
Master of Information System 23!
Management
Correlation
Correlation is used to match
messages with business process
instances.
A set of properties shared by
messages and used for correlation
is called a correlation set.
Correlation sets are defined and
then used in invokes and receives.
95-843: Service Oriented Architecture
Master of Information System 24!
Management
Define The Correlation
Properties are defined
<process> with the WSDL extensibility
mechanism and are
<partnerLinks> associated with an
<variables> Xpath query into a
message.
<correlationSets>
<correlationSet name=TicketOrder
properties=aln:FlightNo/>
</correlationSets>
So, aln:FlightNo is a name
that points into a message
and TicketOrder is the name
of the correlationSet.
:
:
<invoke>
The syntax used to call
register for SOA the handler is
<compensationHandler> <compensate
name=xxx />
activities to drop SOA where xxx is the name
</compensationHandler> of the invoke activity
that needs to be
</invoke>
compensated.