Exposing Flows as Web Services

Having built a flow model implementing the cell phone ordering process, the next step is to make it available so others can use it. To do this, the flow model itself is defined as a service provider implementing a particular service provider type.

You can denote the flow's individual activities that implement this service's operations by “exporting” them, that is, by making them available for direct interactions with service clients. Still left open is how a flow's concrete instance actually comes to life and vanishes again after it is completed—this is addressed by the flow model's life cycle operations.

After you have these ingredients together, it is possible to use WSDL services and other WSFL flows to recursively ...

Get Java™ Web Services Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.