Show TOC

Configuring Web Services and Web Service ClientsLocate this document in the navigation structure

Use

When you use Web services in a business scenario, you can configure both the provider and the consumer side at runtime in SAP NetWeaver Administrator.

At runtime, you view and configure service definitions and proxy definitions. A service definition is a configurable representation of a Web service deployed on the application server. It corresponds to the service endpoint interface created at design time. You configure a Web service provider by creating and configuring one or more runtime representations of its service definition, called service endpoints. In this way, you can provide the same Web service with different runtime behavior in terms of security, for example, to the different consumers.

A proxy definition is a configurable representation of a Web service client deployed on the application server. It corresponds to the Web service proxy created at design time. You configure a Web service client by creating and configuring one or more runtime representations of its proxy definition, called logical ports. In this way, the same Web service client can consume a Web service exposed with different runtime configuration settings.

In terms of process flow, first you have to configure the service definitions, and then you can configure the proxy definitions that consume these service definitions. When the services and clients are configured and up and running, you can keep track of their behavior by reviewing the connectivity log.

Prerequisites
  • The service and proxy definitions that you want to configure are deployed on the application server.

  • The user account you use has the necessary roles and actions assigned to it. For more information, see Authorizations .

  • You have started SAP NetWeaver Administrator in a browser using the following address: http://[host]:[port]/nwa

Features

Initial Configuration Steps

Before you start configuring Web services and clients you need to make sure that the system is set up properly. Web services and clients connect to other systems over the network, so you need to configure the proxy and reverse proxy settings. You should also specify how your system connects to the central Services Registry in your landscape. Since most of the configuration tasks you perform are scheduled and run in the background at regular intervals, you can configure the length of these intervals according to you needs.

For more information, see Configuring SAP NetWeaver Administrator .

Configuring Providers

When you configure Web services, you can:

  • Configure individual Web services

    In this case, you apply configuration settings directly to every individual Web service. You configure individual Java Web services in the SAP NetWeaver Administrator in Start of the navigation path SOA Next navigation step Management Next navigation step Application and Scenario Communication  Next navigation step Single Service Administration End of the navigation path

    More information about the underlying concepts: Configuration of Individual Web Services and Web Service Clients .

    More information about the steps you need to complete to configure an individual Web service: Configuring Individual Web Services .

  • Configure groups of Web services

    In this case, you can apply identical settings to a group of Web services at one go.

    More information about the underlying concepts: Configuration of Groups of Web Services

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

Configuring Consumers

When you configure Web service clients, you can:

  • Configure individual Web service clients

    You apply configuration settings directly to every individual Web service client. You configure individual Java Web service clients in the SAP NetWeaver Administrator in Start of the navigation path SOA Next navigation step Management Next navigation step Application and Scenario Communication  Next navigation step Single Service Administration End of the navigation path.

    More information about the underlying concepts: Configuration of Individual Web Services and Web Service Clients .

    More information about the steps you need to complete to configure an individual Web service client: Configuring Individual Web Service Clients

  • Configure groups of Web service clients

    This approach allows you to configure one or more Web service clients that run on the same consumer system, for example System A, to consume one or more Web services that run on the same provider system, for example System B.

    You configure groups of Java Web service clients in the SAP NetWeaver Administrator.

    More information about the underlying concepts: Configuration of Groups of Web Service Clients

    More information about the steps you need to complete to configure a group of Web service clients: Configuring Groups of Web Service Clients

Viewing Web Service Logs and Traces

For Java Web service and Web service clients, you can view log and trace information in Start of the navigation path SOA Next navigation step Management Next navigation step Logs and Traces  Next navigation step  Web Services Logging & Tracing End of the navigation path.

More information: Viewing Connectivity Log