Example XML output

The following shows an example XML output generated by a scheduled trigger and TCP transport.

<?xml version="1.0" encoding="ISO-8859-1"?>
<Format encoded="no" delimiter="," />
<TransportMap id="AcmeProducts111" version="0" sequence="0" ><Item name="Product01"> <Data>12345</Data></Item><Item name="Product02"><Data>xyz12345</Data></Item><Item name="Product03"><Data>JIMISOK</Data></Item><Item name="Product04"><Data>AcmeProducts111</Data></Item><Item name="Product05"><Data>HotMetal101</Data></Item></TransportMap>


The content of this sample XML message is contained within the opening and closing <TransportMap> tag. The <TransportMap> tag has an id attribute that provides the name of the transport map. The values for version and sequence attributes are automatically generated.

Notice the <Item> tag. This tag provides information that was requested for the payload using the To Enterprise section of the Transport Map window. For more information, click Defining the XML payload.

The <Item> tag has these attributes and tags:

  • name — this attribute provides the name you specified as the Property Name parameter in the To Enterprise section of the Transport Map window. This name is associated with the logical name of the device variable.
  • Data — this tag provides the payload either runtime data or constant values that were defined using the Field and Details columns in the To Enterprise section of the Transport Map window.
Related topics

Defining the XML payload