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 in the SAP NetWeaver Developer Studio. 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 in the SAP NetWeaver Developer Studio. 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.
● 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.
Depending on your needs, the SAP NetWeaver Administrator offers several approaches to configuring Web services and Web service clients outlined below.
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. This approach, is suitable when you want to configure a small number of Web services.
You configure individual Java Web services in the SAP NetWeaver Administrator 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: 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 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. 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 → 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.
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 for calls to Web services and from Web service clients in the SAP NetWeaver Administrator from SOA Management → Logs and Traces → Web Services Logging & Tracing.
More information: Viewing Web Services Logs and Traces.
You can also view log and trace information from within the details of a particular service or proxy definition in SOA Management → Application and Scenario Communication → Single Service Administration.