An example of WS context is the context of
ContactMobileCare WS: W-context={
SW-
context
∪
DW-context};
SW-context={Name=“ContactMobileCare”, Memory=
“128”, language= “French”};
DW-context={availability=“no”}
Fig. 3 shows the derived composition net that is
extracted out of the composition net of Fig. 1
according to the defined context template.
Figure 3: DCN for Anatole scenario.
Prototype: A prototype is fully operational. We used Java
to implement the needed functionalities for context
collection and generation as well as for view extraction.
The architecture of the prototype comprises two modules
that a Java program orchestrates. The first module is about
the context generator and the second is the view extractor.
The context generator provides, upon request, several
contextual details related to users and WS. To this
purpose, two XML files are delivered by the context
generator. Both files are then submitted to the view
extraction module. We used CPN Tools, which is a tool
for editing, simulating and analyzing CPN. The extraction
of a view consists of comparing the expected contextual
elements that are associated with this specification to the
current contextual details that are obtained out of the
context generator. The result of the comparison is an XML
file that corresponds to the view that can now be
visualized as a Petri-Net using the CPN Tools and verified
using the various properties we listed in Section 3.4.
5 CONCLUSION
In this paper, we presented a high level Petri-Net
approach for the specification and verification of
composite WS. Our literature review has shown that
building reliable composite WS calls for formal
verification. Our literature review has also shown
that no much has been done to cater for context in
composite services. Therefore, we proposed a high
level Petri-Net approach that integrates context
during specification, maps this specification onto a
Petri-Net. Furthermore, we discussed in this paper
how the execution of a composite WS is tracked
using view. We illustrated and prototyped the dual
use of Petri-Nets and views with a patient-related
scenario. Although this scenario was simple, it
revealed the challenges that need to be taken up
when deploying WS in critical domains such as
healthcare. Our next work aims at proposing
extensions for BPEL with user and WS contexts
included. In addition, we aim at developing a tool
that converts an extended BPEL specification into a
CPN for automatic verification purposes.
REFERENCES
Benatallah, B. and Rachid, H., 2003. A Petri net-based
model for web service composition, in Proceedings of
the Fourteenth Australasian database conference on
Database technologies. Adelaide, Australia.
Benslimane et al, 2005. A View-based approach for
tracking composite Web services. In Proceedings of
the European Conference on Web Services, IEEE
Computer Society. Växjö, Sweden.
Bing, H., 2006. Choreography Modeling and Analysis of a
Travel Reservation Web Service, in Proceedings of
The Fifth International Joint Conference on
Autonomous Agents & Multi-Agent Systems.
Hakodate, Japan.
Chiu, D. K. W., S. C. Cheung, S. Till, K. Karlapalem, Q.
Li, and E. Kafeza, 2004. Workflow View Driven
Cross-Organizational Interoperability in a Web
Service Environment. Information Technology and
Management Journal, Vol. 5, No. 3/4:221-250.
Daniel, F. and Pernici, B. , 2005. Insights into Web
Service Orchestration and Choreography,
International Journal of E-Business Research, The
Idea Group Inc., vol. 1, pp. 58 - 77.
Ghedira, C. and Mezni, H., 2006. Through Personalized
Web Service Composition Specification: From BPEL
to C-BPEL, Electronic Notes in Theoretical Computer
Science, vol. 146, pp. 117-132.
Jensen, K., 1997. Colored Petri Nets: Basic Concepts,
Analysis Methods, and Practical Use, 2nd ed. Berlin;
New York: Springer.
Medjahed, B. et al., 2003. Composing Web services on the
Semantic Web, International Journal on Very Large
Data Bases, vol. 12(4), pp. 333-351.
Petri, C., 1962. Kommunikation mit Automaten. Schriften
des IIM Nr. 2, Institut fur Instrumentelle Mathematik.
Germany: University of Bonn.
Xiaochuan, Y. and Krys JK., 2004. Process Composition
of Web Services with Complex Conversation
Protocols: a colored Petri Nets Based Approach, in
Proceedings of The Design, Analysis and Simulation
of Distributed Systems Conference.
Yang, Y. et al., 2005. Transformation BPEL to CP-nets for
verifying Web services composition, in Proceedings of
The International Conference on Next Generation
Web Services Practices (NWeSP'05). Seoul, Korea.
ICEIS 2007 - International Conference on Enterprise Information Systems
112