450 IBM WebSphere Host Publisher Version 3.5
16.2 RIO XML interface and the XML Legacy Gateway
Although both the RIO support and the XML gateway in Host Publisher provide
an XML interface to applications, there are some basic differences which we
summarize in this section:
1. The RIO XML interface:
– It provides an XML interface to a single Integration Object via XML over
HTTP or HTTPS.
– RIO XML is a single transaction providing inputs that map one-to-one with
the Integration Object input variables, and has outputs that map
one-to-one with the Integration Object output variables.
2. The XML Legacy Gateway extends a HOD emulator session to render the
data from each window in XML and then HTML (with JavaScript) by applying
a stylesheet. In general:
– It retrieves, after a programmed delay, the current state of the host window
as XML data from the xmlAppData JavaBean.
– It formats the XML data as HTML output using an XSL stylesheet and an
XSL processor. This output is returned to the browser.
– The user can interact with the HOD terminal entering data and pressing
PF keys, and the output from that interaction is shown in HTML (via XSL
applied to XML).
For details about how the XML gateway has been implemented in Host
Publisher, see Chapter 18, “XML Legacy Gateway” on page 567.
16.3 RIO Studio support
As illustrated in Figure 16-2 on page 451, RIO support is included for a specific
Integration Object (IO) when the Integration Object is saved with the RIO option.
This option is always set by default, but it can be easily turned off if RIO support
is not required. In this section, we describe how the Host Publisher Studio is
used to generate RIO support for your database and host Integration Objects.
16.3.1 Creating RIO support
Remote Integration Object (RIO) support is provided by the Host Publisher
Studio via RIO files generated when Integration Objects are created.