1. A method for simulating business process execution language (BPEL) programs comprising the steps of: producing a document object model (DOM) tree from a BPEL document defining a BPEL program; and, simulating said BPEL program by emulating selected BPEL activities for activity nodes defined in said DOM tree.