The Source for Java Technology Collaboration


Use Cases for WSRP 2.0 Consumer Admin Module

Introduction

This page describes the additional use case that will be supported by WSRP Consumer Admin module to support both WSRP v1 and a WSRP v2 services. The document describes the changes w.r.t to to the consumer admin portlet. This would be applicable for any other UI that uses the WSRP Admin Mbeans (psconsole and psadmin)


Usecase 1 : Creating a WSRP Consumer creation for v1 WSRP Producer

This usecase addresses a scenario where the administrator or the user wants to create a WSRP Consumer and has a WSDL URL of the Producer, and this WSDL happens to support just version 1 of the WSRP service of implementation.

Note : The administrator need not know that this WSRP WSDL offers just version 1 of WSRP service.

Here is the walk through of the scenario with the screenshot of the WSRP Consumer admin portlet

1. Using the consumer admin portlet the user chooses to create a new Consumer

2. The user provides the WSDL URL of the WSRP Producer

3. The WSRP Consumer parses the WSDL and identifies it exports only WSRP v1 service WSDL. .

4. The subsequent screens provides the user with the version of the WSRP service available.

5. The rest of the screens are same as before where the user provides the consumer name to create a WSRP Consumer.


Usecase 2 : Creating a WSRP Consumer creation for v2 WSRP Producer

This usecase addresses a scenario where the administrator or the user wants to create a WSRP Consumer and has a WSDL URL of the Producer, and this WSDL happens to support just version 2 of the WSRP service of implementation.

Note : The administrator need not know that this WSRP WSDL offers just version 2 of WSRP service.

Here is the walk through of the scenario, with the screenshot of the WSRP Consumer admin portlet displaying the version information to the user.

1. Using the consumer admin portlet the user chooses to create a new Consumer

2. The user provides the WSDL URL of the WSRP Producer

3. The WSRP Consumer parses the WSDL and identifies it exports only WSRP v2 service WSDL.

4. The subsequent screens provides the user with the version of the WSRP service available.

5. The rest of the screens are same as before where the user provides the consumer name to create a WSRP Consumer.


Usecase 3 : Creating a WSRP Consumer creation for a v1 and v2 WSRP Producer

This usecase addresses a scenario where the administrator or the user wants to create a WSRP Consumer and has a WSDL URL of the Producer, and this WSDL happens to support both version 1 and version 2 of the WSRP service of implementation.

Note : The administrator need not know that this WSRP WSDL offers both version 1 and version 2 of WSRP service.

Here is the walk through of the scenario with the screenshot of the WSRP Consumer admin portlet

1. Using the consumer admin portlet the user chooses to create a new Consumer

2. The user provides the WSDL URL of the WSRP Producer

3. The WSRP Consumer parses the WSDL and identifies it exports both WSRP v1 and v2 services in the WSDL.

4. The subsequent screens provides the user the option to choose which version of the WSRP service he want to use (default will be v2).

5. The rest of the screens are same as before where the user provides the consumer name to create a WSRP Consumer.


Usecase 4 : (Optional usecase) Upgrading a v1 consumer to v2 consumer provided if the producer supports both V1 and V2 as a single WSDL

Work in progress - Optional usecase

This usecase addresses a scenario where the administrator has already created a WSRP Consumer that points to a WSDL that supports both WSRP v1 and v2 service, The consumer admin portlet may provide a option for the adminstrator to upgrade the version 1 consumer to version 2 (upgrade) while it will not allow a version 2 consumer to be downgraded to a version 1 consumer.

Changing a version on the consumer would mean that the user has to manually update the service description (option provided in wsrp consumer admin portlet). Update service description would be required to get the new service description that has v2 specific details such as events etc. -- This is Work in progress need to do a POC

-- Main.manishkg - 11 Dec 2007

Topic WSRPv2ConsumerAdminUseCase . { Edit | Ref-By | Printable | Diffs r3 < r2 < r1 | More }
 XML java.net RSS

Revision r3 - 12 Dec 2007 - 08:49:13 - Main.t_rajesh
Parents: WebHome > WSRP > WSRPv2 > WSRPv2FSD