Show TOC Start of Content Area

Procedure documentation Creating the HTTP Destination Locate the document in its SAP Library structure

Use

To transfer the user’s logon ticket to the Web service, the Web Dynpro uses the Destination service on the AS Java. Therefore, the next step is to create an HTTP destination to be used by the Web Dynpro application.

Prerequisites

This graphic is explained in the accompanying textThis graphic is explained in the accompanying text

You have a user with administration rights on the AS Java.

This graphic is explained in the accompanying textThis graphic is explained in the accompanying text

The AS Java is running and you can connect to it using the Visual Administrator.

This graphic is explained in the accompanying textThis graphic is explained in the accompanying text

You know the URL for the Web service configuration.

Caution

You can find the URL path in the Web Dynpro project under TutWD_CarRental ® Web Dynpro ® Models ®CarRentalModel ® Logical Ports ®Config1Port_Document in the Access tab page. The parameter ~style=document is necessary.

Procedure

...

       1.      Log on to the AS Java as an administrator using the Visual Administrator.

       2.      Expand <SID> ® Server ®Services.

       3.      Select the Destinations service.

       4.      Under Destinations, select HTTP and choose New.

Note

Although there is a node for Web services, select HTTP. Web service destinations are used for deployable proxies and Web Dynpro uses standalone proxies. Therefore, the destination that will used by the Web Dynpro needs to be an HTTP destination and not a Web service destination.

       5.      In the dialog that follows, enter CarRental as the destination name and choose OK.

       6.      Enter the Web service’s URL and select Logon Ticket as the authentication mechanism.

See the figure below.

This graphic is explained in the accompanying text

       7.      Save the destination.

Result

The Destination service retrieves the logon ticket from the Web Dynpro and passes it to the Web service available at the corresponding destination’s URL.

Note

The URL specified in the Destination service overrides any URL specified in the Web service configuration specified in the deployment description.

Next Step:

Using the HTTP Destination Within the Web Dynpro

 

End of Content Area