Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Once you create a Web Service Consumer activity on easy parser, you need to pass a valid input request to the Web Service Consumer. To generate the input request as per the Web Service, you can directly load the WS Consumer activity into the Data Mapper. For example, if you have a source data in text format and you want to pass this data to Web Service Consumer as an input request then, you need to perform the following steps:

  • Create a Text Schema
  • Open Data Mapper
  • Load Text Schema at source side
  • Load WS Consumer Activity at target side
  • Select an operation for the Web Service and the XSD type as Input
  • Map the fields to generate a request for the Web Service
     

...

  • Create a Text Schema
  • Open Data Mapper
  • Load WS Consumer activity at source side
  • Select require operation for the Web Service and select XSD type as Output.
  • Load Text Schema at target side
  • Map the fields to convert the response into the target format
     

    Info

    Only by using EasyWSDL parser, you can load WS Consumer activities directly into the Data mapper. If you use WSDL4j parser to create a WS Consumer activity then, you need to create an XML Schema and then load it into the Data Mapper.

...

Steps to Load the Web Consumer Activity into Data Mapper

  1. Create a new data mapping activity for the respective Web Service Consumer activity. While loading the schema, select the WS Consumer tab from theSchema Type column in the Select Schema dialog box (see Figure 311).


    Figure 311: Select Schema

     

     

     

    Info

    Select the WS Provider tab from the Schema Type column in the Select Schema dialog box, if you want to load WS Provider activity in the Data Mapper.

  2. Click the Load button. This action will display you the Select Operation Dialog box.
  3. Select an operation from the Operation drop-down list. If there is only one operation for this WS Consumer activity, then the Adeptia Suite will show you only that operation as selected (see Figure 312).

    Figure 312: Select Operation Dialog Box

  4. Select the XSD type from the XSD type drop-down list (see Figure 313).

    Figure 313: Select Operation Dialog

  5. Click OK to save the changes. This will upload the WS Consumer schema in the Data Mapper (see Figure 314).

...