Configuring Web Services and Web Service
Clients in the SAP NetWeaver Administrator
When you use Web services in a business scenario, you can configure both the provider and the consumer side at runtime in the 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.
You can configure service definitions and proxy definitions in the SAP NetWeaver Administrator in local or central mode:
· To start the SAP NetWeaver Administrator in local mode: http://<host>:<port>/nwa
· To start the SAP NetWeaver Administrator in central mode: http://<host>:<port>/nwapi
· The service and proxy definitions which you want to configure are deployed on the application server.
· You have Administrator permissions.
In terms of process flow, first you have to configure the service definitions, and then you can configure the proxy definitions which consume these service definitions. When the services and clients are configured and up and running, you can keep track of their behavior by reviewing their logs and traces.
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 Web services in the SAP NetWeaver Administrator as follows:
¡ You can configure individual ABAP and Java Web services in the SAP NetWeaver Administrator in central mode (alias /nwapi). Choose Configuration Management → Infrastructure → Web Services Configuration → WS configuration.
¡ You can also configure individual Java Web services in the SAP NetWeaver Administrator in local mode (alias /nwa). Choose SOA Management → Application and Scenario Communication → Single Service Administration.
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.
This approach, is relevant only for Java Web services. You configure groups of Java Web services in the SAP NetWeaver Administrator in local mode from SOA Management.
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 Web service clients in the SAP NetWeaver Administrator as follows:
¡ You can configure individual ABAP and Java Web service clients in the SAP NetWeaver Administrator in central mode (alias /nwapi) from Configuration Management → Infrastructure → Web Services Configuration → WS Clients Configuration.
¡ You can also configure individual Java Web service clients in the SAP NetWeaver Administrator in local mode from SOA Management → Application and Scenario Communication → Single Service Administration.
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 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 configure groups of Java Web service clients in the SAP NetWeaver Administrator in local mode from SOA Management.
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
You can view log and trace information of calls to Web services (Java and ABAP) and from Web service clients (Java and ABAP).
You can view log and trace information in the SAP NetWeaver Administrator in central mode (alias /nwapi) from Configuration Management → Infrastructure → Web Services Configuration → Web Services Logging & Tracing.
For Java Web service and Web service clients, you can also can view log and trace information in the SAP NetWeaver Administrator in local mode from SOA Management → Logs and Traces → Web Services Logging & Tracing.
More information: Viewing Web Services Logs and Traces.