REST Web Service Consumer Transformation Output Mapping
REST Web Service Consumer Transformation Output Mapping
When you view the transformation ports, show the output mapping to view the method output hierarchy. When you show the output mapping, you can define output groups, define output ports, and map method output elements to output ports.
The output mapping includes the following areas:
Method Output
The
Method Output
area shows the elements in the response message that the web service returns to the REST Web Service Consumer transformation. If you use a schema object to create the transformation, the schema object defines the method output hierarchy.
Ports
Create the transformation output groups and ports in the
Ports
area.
After you create output ports, map the elements from the
Method Output
area to the ports in the
Ports
area. When you map an element from the method output to an output port, the location of the element appears in the
Location
column in the
Ports
area.
The Developer tool maps elements in the first level of the method output to output ports when you choose to map the first level of the output hierarchy. The Developer tool also creates the ports to perform the mapping. If the first level of the hierarchy contains a multiple occurring parent element with one or more multiple occurring child elements, the Developer tool does not map the first level of the hierarchy.
You can choose to display the output ports in a hierarchy. Each child group appears under the parent group. You can also choose to view the lines that connect the elements in the method output to the output ports.
If the associated schema object is deleted from the repository, the Developer tool retains the location of the method elements in the output mapping. When you show the output mapping, the
Ports
area still displays the location of the method elements in the
Location
column for the output ports. If you associate another schema with the transformation, the Developer tool checks whether each location is valid. The Developer tool clears the location of method elements in the
Ports
area of the output mapping if the location is no longer valid.