Liquid Studio Documentation
Data Mapping / Data Mapper Functions / By Category / Web Service / Web Service
In This Topic
    Web Service
    In This Topic

    Function Name
    Web Service
    Category
    Web Service
    Icon
    XML Source
    Description
    Define a call to a Web Service
    Inputs
    Filename The value will be treated as a filename and loaded into a XML Document.
    (can not be connected if 'XML String' is connected)
    XML String The value will be treated as raw XML data and parsed into the XML Document.
    (can not be connected if 'Filename' is connected)
     
    Outputs
    Data Items in source Nodes, attributes and values in the source XML data
    Properties
    General Specify the name of the Source component
    Structure Specify the Schema, root element and type for source structure
    Source Data Specify filename to use as source XML when mapping executes

    Usage

    Allows Web Service calls to be made within the Data Mapper.

    Because it is possible to call a web service in the following ways

    The Web Service component is unlike many of the other components as it can behave as a data source and data target.

    Creating an XML data source

    To begin, drag the Web Service component from the Component Palette onto a new Data Mapper file.

    XML Data Source Component

    As soon as you drag the component over, the Web Service Wizard will open, guiding you through the process of defining your mapping source.

    Select a Web Service Connection

    In order to create a Web Service Test, you must first select a Web Service Connection from the current list of connections.

    The first page of the wizard enables you to create a new connection or edit / delete an existing connection.

    Once you select a connection you can click 'Next >' to move to the next page Selecting a Web Method.

    Selecting a Web Method

    You can now select the Web method you wish to call. Web services typically offer the ability call there methods using a number of protocols.

    The browser shows all the supported protocols and all the methods exposed for each of them.

    For WSDL, the Web Service Test Client supports protocols, SOAP 1.1, SOAP 1.2, HTTP GET & HTTP POST. Any other protocols are ignored.

    Once you select your method, and press Finish, and request is constructed for you.

    You can then modify the request and call the web method. See Web Service Test Client.

     

    Select Web Method Options

    Open API connections have additional information from the definition file that may be set using this page of the wizard.