Show TOC

Configuring Web Service Clients to Connect to a Provider SystemLocate this document in the navigation structure

Use

You need to configure the Web service clients to connect to the provider system that provides the Web service you have imported in your application.

Procedure

1. Configure Connection to the Service Registry

  1. Open the SAP NetWeaver Administrator. To access the tool, go to http://<host>:<port>/nwa and navigate to Start of the navigation path SOA  Next navigation step Application and Scenario Communication  Next navigation step Single Service Administration. End of the navigation path choose

  2. Open the Consumer Proxies tab page and find the ServicesRegistrySi WSDL port type name.

  3. Select the Configuration tab page.

  4. Choose SericeRegistrySiPort .

  5. In the bottom General tab page choose Edit pushbutton.

  6. In the Web Service End Point URL enter the following URL: http://sr.esworkplace.sap.com:80/ServicesRegistrySiService/ServicesRegistrySiPort .

  7. Open the Security tab page and from the Authentication dropdown list, select HTTP Authentication .

  8. Select User ID/Password(Basic) then choose Details pushbutton. Enter the user name and password you use to access the Service Registry

  9. Choose Save .

2. Creating a Communication Profile

  1. Log on to the SAP NetWeaver Administrator using the quick link http://<host>:<port>/nwa/systems .

  2. Open the Communication Profiles tab page and choose New .

  3. Enter caf_profile in the Profile Name field and CAF Profile in the Profile Description field.

  4. On the next page, enable Use Name/Password (Basic) and disable the None identifier.

  5. Complete the wizard.

3. Configure Connection to a Provider System

  1. Log on to the SAP NetWeaver Administrator using the quick link http://<host>:<port>/nwa/systems .

  2. Open the Provider Systems tab page and choose New .

  3. As the system type, choose ABAP .

  4. In the System Name field, choose the value help and in the window that appears search for all available systems. To do that, enter * and choose Go .

  5. Choose the HU2 Provider System.

  6. On the Metadata User , enter a user name and a password for the back-end system you used when you imported the Web service in the SAP NetWeaver Developer Studio.

  7. On the Communication Profile , choose the profile you have created and choose Next .

  8. On the Services Search Settings , as the mode select Multiple Services and as the Service Source, select Service Registry .

4. Create a User for the Provider System

  1. Open the SAP NetWeaver Administrator. To access the tool, go to http://<host>:<port>/nwa and navigate to Start of the navigation path SOA  Next navigation step Application and Scenario Communication  Next navigation step User Account Management. End of the navigation path

  2. Open the Maintenance tab page, choose New and enter es_test_user as a name for the user and a short description.

  3. Choose Next and enter the name of the user to be used to access the back-end system that provides the Web service. Choose Finish .

  4. Open the Assignment page and choose New .

  5. Choose a name of a user from the available user accounts and select es_test_user from the table. Choose Next .

  6. On the Provider page, select the HU2 on esworkplace provider system. Choose Next .

  7. On the Service Interfaces page, choose Next .

  8. On the Service Group page, select Concrete , choose the es_test_service_group service group from the list and choose Finish .

5. Assign the Service Group to a Provider System

  1. Open the SAP NetWeaver Administrator. To access the tool, go to http://<host>:<port>/nwa and navigate to Start of the navigation path SOA Next navigation step Application and Scenario Communication  Next navigation step  Application Communication. End of the navigation path

  2. From the table, select the demo.sap.com/es_test_service~ear application.

  3. Open the ServiceGroup tab and choose Edit .

  4. Select es_test_service_group from the table, and choose Assign Provider System .

  5. On the Assign Provider System window, choose HU2 on esworkplace as a provider system and then choose OK and Save .