Show Table of Contents
19.2.2. Business Activities
A client creates and manages Business Activities using the
UserBusinessActivityclasses. A WS-BA activity is started and associated with the client thread by calling the
beginmethod of the
UserBusinessActivityclass. A client can terminate a business activity by calling the
closemethod, and cancel it by calling the
If any of the Web Services invoked by the client register for the
BusinessActivityWithCoordinatorCompletionprotocol, the client can call the
completedmethod before calling the
closemethod, to notify the services that it has finished making service invocations in the current activity.
More complex business activity management, such as suspension and resumption of business activities, is supported by the
Full details of the WS-AT APIs are provided in Chapter 21, The XTS API.