MTF Proposal for Web Services Architecture
Service Lifecycle

Contributors

·        Hao He (Hao.He@thomson.com.au)

·        Mark Potts (mark.potts@talkingblocks.com)

·        Igor Sedukhin (igor.sedukhin@ca.com)

 

1.   Introduction

This document presents Management Task Force (MTF) proposed additions to the Web Services Architecture (WSA) as described in the following draft document http://dev.w3.org/cvsweb/~checkout~/2002/ws/arch/wsa/wd-wsa-arch.html. The contents of this document was contributed by the members of the MTF and discussed among the following active members of the MTF: Heather Kreger (IBM), Mark Potts (Talking Blocks), Igor Sedukhin (CA), Hao He (Thomson), Ying-Lin Husband (HP), Zulah Eckert (HP). The final consensus on the details in this document was not reached.

 

The proposal is to add clarity to certain aspects of the WSA and to make possible for the MTF to express sensible Web Services Management Architecture.

2.   Service Lifecycle

A Service lifecycle is expressed in the state transition diagrams below. There are two separate transition paths: service itself and request processing.

2.1.                    Service

 

States

 

Transitions

 

State Transition Table

 

Action

From State

To State

Sub-State

Comment

Start of Life

Enter

UP

IDLE

Instantiated and available

Start of Life

Enter

DOWN

STOPPED

Instantiated but not available

End of Life

UP

Exit

-o-

Destroyed

End of Life

DOWN

Exit

-o-

Destroyed

Activate

DOWN

UP

-any-

Becomes available.

Passivate

UP

DOWN

-any-

Becomes not available.

 

Up Substates

 

States

 

Transitions

 

State Transition Table

 

Action

Super State

Current State

End State

Comment

Accepts Request

UP

IDLE

BUSY

Currently PROCESSING requests

Completes all processing

UP

BUSY

IDLE

All requests completed (either FAILED or PROCESSED)

 

Down Substates

 

States

 

Transitions

 

State Transition Table

 

Action

Super State

Current State

End State

Comment

Manual Administration

UP

IDLE or BUSY

STOPPED

No longer accepting requests because of administrative action

Malfunction

UP

IDLE or BUSY

CRASHED

Malfunction in any UP state

Accepts Request

UP

BUSY

SATURATED

No longer accepting requests due to exhausted resources

Administrate

DOWN

CRASHED or SATURATED

STOPPED

No longer accepting requests because of administrative action

Processed or Failed Request(s)

DOWN

SATURATED

BUSY

Resources available after being exhausted such that requests can again be accepted

Recovery

DOWN

CRASHED

IDLE

Accepting requests again after a malfunction

Restart

DOWN

CRASHED or STOPPED

IDLE

Accepting requests again after being restarted

Manual Administration

DOWN

CRASHED

STOPPED

No longer CRASHED but not accepting requests

 

2.2.                    Request Processing

 

States

 

Transitions

 

State Transition Table

 

Action

Current State

End State

Comment

Accepts Request

       Enter

REQUEST RECEIVED

Request received by the Service

Process the Request

REQUEST RECEIVED

PROCESSING

Commence execution of service function based on request received

Completion of processing

PROCESSING

PROCESSED

Successful completion of function executed based on the request received

Failure in processing

PROCESSING

FAILED

Unsuccessful completion of function executed based on the request received