case, due to the properties of aggregation rules, each
infinite sequence is equivalent to a finite set of fi-
nite sequences. More precisely, taking into account
that any data dependency relation F ∈ {FW, SRC,EL}
verifies F
2
≡ F, we have the equivalences:
F
∗
≡ {ε,F} (ε is the empty sequence) and F
+
≡ {F}.
The diagnosis model of o, R ⊆ [
•
t
receive
∪
◦
t
receive
→
i
t
•
reply
i
]
{FW,SRC,EL}
, is thus given by the algorithm:
Alg 1 Input S: BPEL net system of o, M: final
marking. Output R: set of dependency relations
RF: list of sets of dependency relations
RF =
/
0
for each σ
i
= (t
i1
,t
i2
,...,t
ik
i
) ∈ FS
M
(S) do
R = D(t
i1
);
for j=2 to k
i
do
R = ◦
Agg
(R,D(t
ij
))
endfor;
RF = RF ∪ {R};
endfor;
while (|RF| > 1) do
RF[1] = ⊕
Agg
(RF[1],RF[2]);
remove(RF,RF[2]);
endwhile;
R = RF[1];
7 CONCLUSION
In this paper, following model-based diagnosis ap-
proach, we used Petri nets to construct the diagno-
sis model of a BPEL service. By analyzing its BPEL
code, we decomposed the BPEL process into basic
operations (receive, reply, assign, and invoke) and op-
erators (sequence, switch, while, flow). Each generic
basic operation was then modeled by an extended
BPEL Petri net (normal Petri net enriched by acti-
vation places and reading arcs and extended by data
dependency relations attached to each transition) and
each operator by an extended BPEL Petri net con-
structor, leading to an automatic extended BPEL Petri
net modeling of the process. Finally, we gave the
propagation rules for data dependencies correspond-
ing to several composition modes (sequential, alter-
native, hierarchical through data structures) and the
algorithm for calculating the diagnosis model of a
BPEL service. Such a model can now be used as in-
put to model-based diagnosis algorithms, such as the
one proposed by (Ardissono et al., 2005a).
Further work will be carried out along two steps.
First, achieving decentralized model-based diag-
nosis for composite Web services. All our current
work is in a centralized environment, but in real-
ity, decentralization and distribution are the trends
of software application. Centralized diagnosis is not
adequate for decentralized composite Web services.
Some progress was done in this direction by (Ardis-
sono et al., 2005a), but limited to orchestrated Web
services with a diagnosis supervisor.
Second, realizing auto-repairable and auto-
reconfigurable Web services. For that, we need to
define first the repair and reconfiguration rules for ba-
sic Web service activities (operations or operators),
and then the actions planner and scheduler for the re-
pair and reconfiguration supervisor of the Web ser-
vices (centralized or decentralized).
REFERENCES
Andrews, T., Curbera, F., Dholakia, H., Goland, Y., Klein,
J., Leymann, F., Liu, K., Roller, D., Thatte, S.,
Trickovic, I., and Weerawarana, S. (2003). Busi-
ness process execution language for web services,
version 1.1. BEA Systems, IBM Corp., Microsoft
Corp., SAP AG, Siebel Systems. http://www-
128.ibm.com/developerworks/library/specification/ws-
bpel.
Ardissono, L., Console, L., Goy, A., Petrone, G., Picardi,
C., Segnan, M., and Dupr
´
e, D. T. (2005a). Coop-
ertive model-based diagnosis of web services. Proc. of
IFIP/IEEE Int. Workshop on Self-Managed Systems
Services (SELFMAN 2005), Nice, France.
Ardissono, L., Console, L., Goy, A., Petrone, G., Picardi,
C., Segnan, M., and Dupr
´
e, D. T. (2005b). Enhanc-
ing web services with diagnostic capabilities. Proc. of
European Conference on Web Services (ECOWS-05),
pp. 182-191, Vaxjo, Sweden, IEEE.
Booth, D., Haas, H., McCabe, F., Newcomer, E., Cham-
pion, M., Ferris, C., and Orchard, D. (2004). Web
services architecture, technical report, w3c. Technical
report. http://www.w3.org/TR/ws-arch/.
Hamadi, R. and Benatallah, B. (2003). A petri net-
based model for web service composition. Proc. of
the 14th Australasian database conference, Adelaide,
Australia, ACM.
Hinz, S., Schmidt, H., and Stahl, C. (2005). Trasforminf
bpel to petri nets. Proc. of the 3rd Int. Conference on
Business Process Management (BPM 2005), Nancy,
France, LNCS 3649, pages 220-235.
Rosario, S., Benviniste, A., and S. Haar, C. J. (2006).
Net systems semantics of web services orchestrations
modeled in orc. Research report, IRISA, 1780.
Weerawarana, S. and Curbera, F. (2002). Busi-
ness process with bpel4ws: Understanding
bpel4ws, part 1. Technical report. http://www-
128.ibm.com/developerworks/webservices/library/ws-
bpelcol1/.
WEBIST 2007 - International Conference on Web Information Systems and Technologies
304