Construct an Input Request for a Web Service Call

You can create one row using the row generation transform to construct an input request for a web service call.

When calling a web service, an input request is always required. If the web service function expects an input with constant values only, you can use the row generation transform to construct the input message and map it with the schema created in the XML Map transform. A typical data flow is as follows:

Follow the steps below to construct an input request for a web service call:

  1. In the data flow editor, drag the row generation transform onto the canvas and open the transform.

    The Row count is set at 1 by default. In this case, the value in the Row count option determines how many times the web service function will be called at run time.

    The Row number starts at option can be left as default, as the value in the row does not affect anything in this case.

  2. Connect the row generation transform with the XML Map transform where you have built the nested structure for the web service call.
  3. Open the XML Map transform and select the output schema.
  4. In the Transform Details, in the Iteration Rule tab, select the plus icon and select Create rule expression.
  5. Select the row generation transform you just defined and select OK.