The definition of planning that we give allows us to distinguish between the tech-
nology used to build a planner and planning in the sense of entailment. Even Java
4
can be used to write a planner. The seminal paper [4] about composing web services
describes a method of programming the goals, preferences, and constraints of the prob-
lem with Golog: the resulting formulation is turned over to an interpreter that functions
as a planner.
We describe the basic requirements of producing a plan that is a process instance,
which is simpler than producing a workflow. Because of the possibility that some web
services at execution time will return outputs that conflict with the current plan, or
simply fail, sound planning is inadequate for planning web services.
If some outputs (and by extension effects) can be assumed by default, semantic an-
notations of these, in addition to preconditions and effects, can be used in conjunction
with re-planning to solve problems of synthesizing process instances from web ser-
vices. This kind of defeasible reasoning will require a revision of sound entailment for
planning.
We haveused Redux[6] as a Goal-Operator-OrientedProgramming (GOOP) method
to build a planner that can achieve the examples in this paper by declarative expression
of preferences as operators and goals to try first, constraints that must not be violated,
characterization of the undesired output values as contingencies, and by using the re-
sequencing method for conjunctive goal interference.
Finally, the reader is encouraged to try the two very simple examples in this paper
on their own service planning technology. The example of the car manufacturer out-
sourcing the CD player may be the first example in the web services planning literature
to require real planning.
Acknowledgements
This paper was sponsored by SAP Labs USA and benefited from discussions with many
people, especially Michael Genesereth,Tim Hinrichs, Sheila McIlraith, Daniel Meyer,
Harald Meyer, and Richard Waldinger.
References
1. Finzi et al.: “Open world planning in the situation calculus”, it Proc. AAAI 2000, AAAI Press,
2000. Available at http://logic.stanford.edu/serviceplanning/readinglist/openworldsitcalc.pdf
2. Kassoff and Genesereth: “PrediCalc: a logical spreadsheet management system”, The Knowl-
edge Engineering Review, 22, Cambridge University Press, Nov 2007, pp 281-295.
3. Ludwig et al.: “Cross Cutting Concerns”, Dagstuhl Seminar 05462 on Service-Oriented Com-
puting, November 2005. Available at http://tinyurl/webservdef
4. McIlraith and Son: “Adapting Golog for Composition of Web Services”, 8th Int. Conf. on
Knowledge Representation and Reasoning (KR2002), Morgan Kaufman. , April 2002
5. Oh,Lee, and Kumara: “A comparative illustration of AI planning-based web services compo-
sition”, ACM SIGecom Exchanges , 5:5, pp 1-10, ACM, 2006.
4
http://java.com/en
40