• No se han encontrado resultados

Historias de usuarios y prototipos de interfaz de usuario

3.  CAPÍTULO III. DESARROLLO ÁGIL DEL SISTEMA DE CLONACIÓN Y DISTRIBUCIÓN DE IMÁGENES DE

3.3.  Historias de usuarios y prototipos de interfaz de usuario

Looking at the configuration of Web Services there are two aspects to be considered. The provider side and the consumer side. The provider is offering certain functionality in form of a web service that can be called by a consumer described in a well defined way. The consumer in turn expects the functionality of the web service to be offered in a certain way according to the description of the web service. Both sides have to be configured appropriately. In an environment of a larger scale there is a need for means to configure the mass of Web Services efficiently.

Figure 151: Basic Web Service communication Use Cases

Here we look at the two aspects of Mass Configuration of Web Services (Provider) and Web Service clients (Consumer).

Configuring Web Service providers

2008 © 2008 SAP AG. All rights reserved.

189

There are two possibilities, either configure Web Services individually or in groups.

Configure individual Web Services.

In this case, you apply configuration settings directly to every individual Web service. This approach, also called single configuration, is suitable if you want to configure a small number of Web Services.

You configure individual Java Web Services in the SAP NetWeaver Administrator from SOA Management→ Business Administration → Web Services Administration.

Hint: More information about the steps you need to complete to configure an individual Web service:

Configuration of Individual Web Services and Web Service Clients

http://help.sap.com/saphelp_nwpi71/help-data/en/46/8c19c6bba66160e10000000a1553f7/frameset.htm

Configure groups of Web Services.

In this case, you can apply identical settings to a group of Web Services at one go. This approach is also called mass configuration. You configure groups of Java Web Services in the SAP NetWeaver Administrator from SOA Management.

Hint: More information about the steps you need to complete to configure a group of Web Services:

Configuration of Groups of Web Services

http://help.sap.com/saphelp_nwpi71/help-data/en/46/8c1f4aeece616ae10000000a1553f7/frameset.htm.

Configuring Web Service Consumers

When it comes two configuring Web Service consumers there are two ways to do it as well, either one by one or in a bundle.

Configure individual Web service clients

You apply configuration settings directly to every individual Web service client. This approach is suitable when you want to configure a small number of Web Services. You configure individual Java Web service clients in the SAP NetWeaver Administrator from SOA Management→ Business Administration→ Web Services Administration.

Hint: More information about the steps you need to complete to configure an individual Web service:

Configuration of Individual Web Services and Web Service Clients

http://help.sap.com/saphelp_nwpi71/help-data/en/46/8c19c6bba66160e10000000a1553f7/frameset.htm

Configure several Web service clients running on the same consumer system

This approach allows you to configure one or more Web service clients which run on the same consumer system, for example System A, to consume one or more Web Services which run on the same provider system, for example System B. You can configure Web service physical destinations in the SAP NetWeaver Administrator from SOA Management→ Technical Configuration→ Destination Template Management.

Hint: More information about the steps you need to complete to configure an individual Web service:

Configuration of Several Web Service Clients

http://help.sap.com/saphelp_nwpi71/help-data/en/46/8c19c6bba66160e10000000a1553f7/frameset.htm Mass Configuration for Providers

2008 © 2008 SAP AG. All rights reserved.

191

In the following diagram two roles and background tasks in the configuration process flow have been identified:

1. Technical Administrator

The Technical Administrator knows what technical configuration settings or policies need to be applied to the service definitions that are part of a business scenario. He or she prepares the relevant runtime configuration settings in one or more configuration profiles in advance. A configuration profile is a set of policies that need to be applied to a set of service definitions to meet the needs of a business scenario. You can think of configuration profiles as a placeholder for the runtime settings that need to be applied to service definitions. The Technical Administrator does not apply the configuration settings directly to the service definitions.

2. Business Administrator

The Business Administrator decides which service definitions in a business scenario to configure and expose for consumption with which runtime settings.

The Business Administrator:

• Groups service definitions in one or more logical units called configuration scenarios.

A configuration scenario is a logical group of service definitions. You can think of a configuration scenario as a worklist containing the service definitions necessary to complete part of or the whole business scenario.

• Assigns the configuration profiles prepared by the Technical Administrator to one or more service definitions grouped in a configuration scenario.

By assigning a configuration profile to service definitions, the Business Administrator triggers the configuration of the respective service definitions.

This means that the Business Administrator triggers the creation of a service endpoint for every service definition to which he or she assigns a configuration profile.

3. Profiles – Service Definition Assignments

When a configuration profile is assigned to a service definition, the system creates a service endpoint for this service definition. The Business Administrator does not explicitly create the service endpoints of service definitions. The actual creation of service endpoints is performed by a background job which runs at a present interval (5 minutes).

Documento similar