HP e-Commerce / XML director server appliance sa8250 - Users Guide
C H A P T E R 6 SA8250 Scenarios
255
Scenario 6:
Content
Routing using
RICH and XML
expressions
In addition to recognizing RICH expressions, the SA8250 has the
unique ability to direct traffic to servers based on its recognition of
patterns in the incoming XML data.
This diagram shows the network configuration for scenario 6. For
ease of reading, the SA8250 is interfaced to only three servers in this
scenario, but the principles demonstrated here could be applied to any
number of servers.
Network Configuration for Scenario 6
NOTE: There must be
one space before and
after the ampersand (&),
and the RICH expression
must always precede the
XML expression.
The table on the next page shows example XML patterns (in the form
of RICH and XML expressions) that would be programmed in the
SA8250 for each of the three servers in the figure above. For ease of
reading, the RICH and XML expressions are shown separately in the
table on the following page, but the actual pattern in the SA8250
would display in this form:
create */order.asp & //Amount[Value >= 10000]
For more information on XML commands, see Chapter 5.
Using the default special case
For more information on the XML default server setting, see Chapter
2.
Client
SA8250
Server 1
Server 2
Server 3
SwitchSwitch
Internet