Show TOC

Procedure documentationCreating Web Service Destinations Locate this document in the navigation structure

 

To establish connections to servers that contain web services, you must create Web service destinations. You can create three types of Web service destinations based on your requirements, as explained in the following table:

Requirement

Destination Type

You need the client application to locate and access the Web service on the provider system through the corresponding WSDL file. In this case, the entire provider system is considered to be a single Web service.

WSDL

You need the client application to locate and access the WSDL of the corresponding Web service through the WSIL file.

WSIL

You want the WSDL of the corresponding Web service to be published in a service registry. The client application must locate the WSDL file by querying the service registry.

Service Registry

Prerequisites

You have obtained:

  • Authorization to connect to a server and to access the required Web service.

  • URL of a Web service.

Procedure

Creating a WSDL / WSIL Destination
  1. Choose   Window   Preferences.  

  2. In the Preferences tree, expand the Destination Configurations node and choose Web Service Configuration.

  3. In the Web Service Configuration screen area, choose Create.

  4. In the Create Destination window, specify the destination and authentication details as explained in the following table.

    Field Name

    Description

    Value

    Destination Name

    Name of the physical destination of a provider system. This name must be identical with the name of the logical destination in the client application

    A meaningful alphanumeric text

    Destination Type

    How the system has to search for a Web service

    WSDL or WSIL

    WSDL / WSIL URL

    URL of the destination type

    If you have chosen WSDL, enter the direct link to the WSDL file on the provider system. If you have chosen WSIL, enter the direct link to the WSIL file on the provider system.

    Example Example

    • For the AS Java system, enter http://<host_name>:<port>/inspection.wsil.

    • For the AS ABAP system, enter http://<host_name>:<port>?sap-client=<client number>

    End of the example.

    Socket Timeout

    When the connection to the provider system has to be closed

    The default value is 60,000 milliseconds

    Authentication Required

    Determines if an authentication to access the destination is needed

    Select or deselect the checkbox

    User ID

    Name of the user through which the system can connect to the required destination of the provider system

    A username assigned to you

    Password

    The corresponding password through which the system can connect to the required destination of the provider system

    A password assigned to you

  5. Choose Finish.

  6. Choose OK.

Creating a Service Registry Destination
  1. Choose   Window   Preferences  .

  2. In the Preferences tree, expand the Web Services node.

  3. Choose Services Registry.

  4. Enter the server name and the server port for the UDDI and classification service.

  5. Choose Apply.

  6. In the Preferences tree, expand the Destination Configurations node and choose Web Service Configuration.

  7. In the Web Service Configuration screen area, choose Create.

  8. In the Create Destination window, specify the destination and authentication details as explained in the following table.

    Field name

    Description

    Value

    Destination Name

    Name of the physical destination of a provider system. This name must be identical with the name of the logical destination in the client application

    A meaningful alphanumeric text

    Destination Type

    How the system has to search for a Web service

    Services Registry

    System Type

    Type of the provider system

    Java or ABAP

    System Name

    System ID of the provider system

    An alphanumeric system name, for example, U7A

    Host Name

    Name of the database host of the provider system

    An alphanumeric host name, for example, us4296

    Installation Number

    Installation number of the provider system

    A numeric value, for example, 0120021077

    Client

    Number of the AS ABAP client in which the Web services are available

    A numeric value, for example, 000

    Socket Timeout

    When the connection to the provider system has to be closed

    The default value is 60,000 milliseconds

    Authentication Required

    Determines if an authentication to access the destination is needed

    Select or deselect the checkbox

    User ID

    Name of the user through which the system can connect to the required destination of the provider system

    A username assigned to you

    Password

    The corresponding password through which the system can connect to the required destination of the provider system

    A password assigned to you

  9. Choose Finish.

  10. Choose OK.

Result

The Web service destination that you have created is available for search in the Visual Composer Search task panel on relaunching Visual Composer.