HP e-Commerce / XML director server appliance sa8250 - Users Guide
C H A P T E R 6 HP e-Commerce/XML Director Server Appliance SA8250 User Guide
256
This table shows example SA8250 responses to incoming XML data.
Server RICH Expression XML Expression
1 */order.asp //From[id = “Acme”]
*/order.asp //Amount[Value >= 10000]
*/order.asp default
2
*/order.asp //From[id = “Widgets.com”]
*/order.asp //Amount[Value < 10000]
*/order.asp //Order[@type = “debit card”]
3
*/order.asp //Amount[Value > 5000 and Value < 10000]
*/order.asp //Address[ZipCode > 90000]
*/order.asp //From[contains(id, “Your”)]
XML Patterns for Scenario 6
Incoming XML Data SA8250 Response
company name is Acme Directed to Server 1
company name is Widgets.com Directed to Server 2
company name is YourCo.com Directed to Server 3
purchase amount is $13,280 Directed to Server 1
purchase amount is $7,280 Load-balanced between Servers 2 and 3 because it
falls within the value range for both servers
purchase amount is $713 Directed to Server 2
order is paid for with a debit card Directed to Server 2
customer’s zip code is 92128 Directed to Server 3
customer’s zip code is 27513 Directed to Server 1 due to the default* setting
order is paid for with a credit card Directed to Server 1 due to the default* setting
Example SA8250 Responses to incoming XML traffic