Wf-XML / ASAP Demo

 

Wf-XML 2.0 and ASAP Interoperability Demonstration "Plug and Play Process"

The Workflow Management Coalition (WfMC) has assembled demonstrations several times this year of products that have implemented the Wf-XML 2.0 web protocol.

bullet

Slide Presentation with audio (24MB) by Keith Swenson, Fujitsu Services
 

bullet

ASAP/Wf-XML Demo Scenario: Wf-XML 2.0 web protocol
 

bullet

Slides (PowerPoint) from the live demonstration which took place on Monday, February 28 at the BPM Think Tank, both in front of an audience and online with observers around the world.

Interoperability

Wf-XML is built upon OASIS ASAP, so it is simultaneously a demonstration of ASAP interoperability.

It is the SERVICE that is asynchronous, not the MESSAGING

ASAP is a web services protocol that can be used to access a generic service that might take a long time to complete.  As you probably know, web services protocols allow a remote service to be accessed in a standard way.  Existing protocols work best when the service can provide an answer quickly, within a minute or two at the longest. ASAP is useful when the answer might take longer than this -- for example services that last from minutes to months in duration.  The service being invoked might be fully automated, a manual task that a person performs, or any mixture of the two.  This capability to handle both automated and manual activities is what makes ASAP particularly suited for B2B and intra-organizational service request scenarios.  More information on ASAP is included below.

Wf-XML 2.0, from the Workflow Management Coalition (WfMC) extends this to include BPM & workflow interchange capabilities.  A business process engine is a special type of asynchronous service: it has the ability to be started, to involve people in that process, and to complete some time later.  One BPM engine can be easily linked to another BPM engine using Wf-XML.  Wf-XML extends ASAP by including the ability to retrieve the process definition, and to monitor the current state of a running process instance.

bullet
Wf-XML 2.0 Specification
XML Based Protocol for Run-Time Integration of Process Engines
bullet

Asynchronous Service Access Protocol (ASAP) Version 1.0
Proposed Committee Draft, May 18, 2005

More information at www.wfmc.org

Documents
 
bulletWorkgroup 1: XPDL
 
bulletWorkgroup 4: Wf-XML
 
bulletWorkflow Reference Model.
Document Number TC00-1003 (pdf)
 
bullet
Wf-XML 2.0 Specification
XML Based Protocol for Run-Time 
Integration of Process Engines
bulletWf-XML 2.0 web protocol
ASAP/Wf-XML Demo Scenario

 

Frequently asked questions (FAQ)

1          What does ASAP stand for?

Asynchronous Service Access Protocol

2          What does Asynchronous mean?

ASAP uses the term asynchronous to mean that the requests and responses are not synchronized. In a synchronous exchange, the client asks A and the server answers A, client asks B and the server answers B, and so forth. In an asynchronous exchange, the client can ask A, B then C, and the server can answer B, C then A. For an asynchronous exchange to work, the client must have some means for correlating the responses to the requests. The need for asynchronous interaction arises when the server takes a long time to create its responses.

3          Why do we need asynchronous services?

Most everything on the Internet is currently based on instant gratification. A client requests a resource; if the server does not respond with the resource within 60 seconds, then the request fails. With the expansion of the Internet to electronic commerce and most notably webservices, there have arisen classes of resources that cannot be created within 60 seconds. Some of these resources take several minutes or even days to create. What we need is an ability for a webservice to respond to client, "The resource you requested is not ready yet. Where do you want me to send it when it's done?"

4          What types of webservices are asynchronous?

Any service that takes more than 60 seconds to respond is a likely asynchronous webservice. Business processes are often asynchronous, especially if they require human intervention or approval. Large data mining queries will often be asynchronous. Remote mobile devices that move in and out of coverage areas are also well suited for asynchronous webservices. Chained webservices, that is webservices that rely on other webservices, can also be asynchronous because, although each service in the chain my respond by itself in less than 60 seconds, the sum of their response times in sequence exceeds 60 seconds.

5          What is the objective of ASAP?

The objective of ASAP is to provide the minimum functionality necessary to handle an asynchronous exchange in Simple Object Access Protocol (SOAP).

6          If asynchronous services are so common, why form a separate technical committee for ASAP?

Many standards efforts face an asynchronous challenge or have an asynchronous requirement. Without ASAP, each of these standards efforts would be forced to create their own means of handling an asynchronous exchange in SOAP. There would arise a multitude of systems having a multitude of ways of accomplishing essentially the same task. Is that not what we adopted XML and SOAP to avoid? The objective of ASAP is to provide the minimum functionality necessary to handle an asynchronous exchange in SOAP that other standards efforts can employ in achieving their particular business requirements.

7          What is Wf-XML 2.0?

ASAP can be used with any kind of service – the internal workings of that service are not exposed.  Wf-XML extends the protocol with additional information for the special case that the service is a BPM engine.  Such engines have the property that their process can be examined by being retrieved in a standard form, such as XPDL or BPEL.  It provides an interface to send new or updated process definitions to the BPM engine.  Also, for any engine that implements the process as a sequence of activities, it provides a call to find out what the current activities are running, which is a finer grained indication of the status than you could get from ASAP alone.

8          What would Wf-XML be used for?

Wf-XML is an ideal way for a BPM engine to invoke a process in another BPM engine, and to wait for it to completed.

9          How can Wf-XML be used by BP Design Tools?

Wf-XML provides a standard way to retrieve a process definition from a BPM engine, and to provide an updated one to the BPM engine.  A process design tool could used this standard web services based protocol to browse processes on remote BPM server.  It provides an interface between such a design tool and the BPM engine; this is the traditional WfMC Interface 1 for getting and setting the process definition.  There is no other effort known to be proposed for standardizing this interaction.

10      Where did ASAP and Wf-XML come from?

The roots of the current effort began in 1997 with the Internet Engineering Task Force (IETF) effot named Simple Workflow Access Protocol (SWAP) lead by Netscape, Oracle and others. SWAP was implemented by a number of commercial products.  For example, an office supply company used SWAP to allow its 1300 corporate customers to order equipment over the Internet, and to allow the conclusion of the request to return some number of minutes or hours later.

The WfMC took the ideas of SWAP, and reduced the scope in order to produce a somewhat more limited, but more rigorously defined standard that became known as Wf-XML.

Because SWAP was invented before SOAP, it does not use SOAP message structures.  ASAP is an effort to move the same capability to be on top of SOAP messages, and to conform to other web standards that have come into existence in the mean time.  Similarly, Wf-XML 2.0 is an attempt to move the existing Wf-XML to this ASAP basis because it is based on SOAP.

More than 20 individuals have contributed to the creation of ASAP so far. The current technical committee includes individuals from Amberpoint, British Telecom, Cisco, Computer Associates, Fujitsu, Iway, Lockheed Martin, Research in Motion and The University of Hong Kong.

11      Who is sponsoring the Demonstration of Wf-XML and ASAP?

The Workflow Management Coalition (WfMC) is making the arrangements for the demonstration, and the publication of the results.

More information

(Internet connection required)

bullet

ASAP/Wf-XML 2.0 Cookbook—Updated in Workflow Handbook 2005

Keith D Swenson, Fujitsu Software Corporation, United States
This paper is for those who have a process engine of some sort, and wish to implement a Wf-XML interface. At first, this may seem like a daunting task because the specifications are thick and formal. But, as you will see, the basic capability can be implemented quickly and easily. This paper will take you through the basics of what you need to know in order to quickly set up a foundation and demonstrate the most essential functions. The rest of the functionality can rest on this foundation. The approach is to do a small part of the implementation in order to understand how your particular process engine will fit with the protocol.
 

bullet

ASAP/Wf-XML 2.0 Cookbook in Workflow Handbook 2004

bullet

http://www.oasis-open.org/committees/asap

bullet

A good resource is the OASIS Cover Page on the subject:
http://xml.coverpages.org/wf-xml.html
 

bullet

Background Information
AWSP (Asynchronous Web Services Protocol )  June 2002 (Historical Reference ONLY)
(awsp-2002-04-05.zip).( zipped 497kb.)
In April 2002 at the San Francisco meeting of WfMC, the AWSP (Asynchronous Web Services Protocol was presented, discussed, and found to meet all the goals that had been identified at the Muenster meeting.  These goals specifically were (Layer on top of SOAP, Use XML Schema representation, Multiple Observers, Subscribe/Unsubscribe, Set process instance data).  Since that time: this work has evolved into the ASAP technical committee of OASIS, and has been entirely subsumed by that other work.  Please use this document only for historical reference, and refer instead to the ASAP working group (http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=asap) for current implementation information.

 

Contents of CDROM | Workflow Handbook 2005 | Excellence in Practice Vol 6 | Standards | Product Analysis | Introduction to Workflow | Presentations | Vendor Information | Join WfMC

Disclaimer: This CD ROM has been thoroughly scanned and tested at all stages of production. We still recommend that you run a virus checker on any software before using it. Future Strategies Inc., and the Workflow Management Coalition cannot accept any responsibility for disruption, damage and/or loss to your data or to your computer system, which might occur while using this CD ROM, the programs or the data on it. 

Copyright © 2001-2005 Workflow Management Coalition (www.wfmc.org)
Copyright © 2001-2005  by Future Strategies Inc.