Show TOC Start of Content Area

Procedure documentation Testing the Application Service  Locate the document in its SAP Library structure

Use

Once you have deployed the application service, you can test it in the Service Browser. To do this, first you need to map the corresponding service to a Web service destination. A destination is necessary for all services that require authentication.

...

Prerequisites

·        You have the necessary permissions to work with CAF Administrative and Test tools.

You need to assign to your user the following roles:

¡        CAF Administrator (SAP_CAF_ADMIN)

¡        CAF Developer (SAP_CAF_DEVELOPER)

      You have created a Web service destination with the connection properties of the system that hosts the service.

Procedure

1. Map the Web service to the ESServiceTest logical destination

...

       1.      Open the CAF Runtime Configurator in your browser using http://<host>:<port>/caf.

       2.      Navigate to Administrative tools External Service Configuration Service Registry.

       3.      On the Destinations Mapping screen, select demo.sap.com/es_service_test Web Services CustomerBasicDataByIDQueryResponse_In from the External Services list.

       4.      From the Destinations list, select Web Services ESServiceTest.

       5.      Choose Map.

This graphic is explained in the accompanying text

You are now able to access the es_service_test service through the specified destination.

2. Test the application service

...

       1.      In the CAF Runtime Configurator, navigate to Test tools Service Browser.

       2.      From the Available Services list, select demo.sap.com es_service_test modeled.CustomerBasicDataByIDQueryResponse_In CustomerBasicDataByIDResponseMessage_sync CustomerBasicDataByIDQueryResponse_In.

       3.      Enter relevant input parameters in the corresponding query parameter fields.

This graphic is explained in the accompanying text

       4.      Choose Execute query to test the service.

In case of successful execution, results are displayed in the table Current Result Service: CustomerBasicDataByIDResponseMessage_sync.

 

End of Content Area