Import Data Types into the Data Type Repository

Use

You can import structured, array, and enumeration data types from SOAP Web services and OData Web services as customer-specific data types in the universal Web service destination system into the PCo data type repository. For RESTful Web services, you can import the defined message structure as a structured PCo data type into the PCo data type repository.

During the import, PCo data types are created that correspond to the data types of the Web service. You can then assign these data types to the variables of the Web service using the data type selection dialog. In this way, it is possible, for example, to transfer a variable with a deeply nested structured data type to the Web service call.

When importing the data types, you must specify one or more namespaces for the new PCo data types. The namespaces must follow the namespace rules. (See also: Namespaces.)

Procedure

To import the data types of a Web service, proceed as follows:

  1. Create a universal Web service destination system and select WSDL (for a SOAP Web service) or OData as the description type.

    Configure the destination system so that the Web service operations offered by the Web server appear in the service explorer.

  2. Navigate then either to the Start of the navigation pathOperation Configuration Next navigation step Request Message ConfigurationEnd of the navigation path or Start of the navigation pathOperation Configuration Next navigation step Response Message ConfigurationEnd of the navigation path tab.

  3. Choose the Import Data Types into Data Type Repository button.

    The system collects all Web service data types from the Web service descriptions and uses them to generate proposals for corresponding PCo data types. These proposals are displayed in the Import Data Types into Data Type Repository dialog box. The dialog box also shows you whether or not Web service data types and corresponding PCo data types are already known in the PCo data type repository.

    If you have configured a RESTful Web service, the defined message structure is imported into the data type repository as a structured PCo data type in this step.

  4. Perform the import. (See also: Functions in the Import Data Types Dialog Box.)