beautypg.com

HP e-CommerceXML Accelerator sa7150 User Manual

Page 66

background image

C H A P T E R 4 HP e-Commerce/XML Server Accelerator SA7150 User Guide

56

Cleartext map for XML only? [n]: y

HP SA7150>

Verify creation of maps:

Map Net Ser Cipher Re- Client well

ID KeyID Server IP Port Port Suites direct Auth XML form

== ===== ========= ===== ==== ======== ===== ===== === ====

1 N/A 1.1.1.1 443 80 N/A N/A N/A n N/A

2 001 1.1.1.2 443 80 all(v2+v3) n n n N/A

3 N/A 1.1.1.3 443 80 N/A N/A N/A n N/A

7. Enable XML for each mapping with the set xml command:

HP SA7150> set xml 1 enable

HP SA7150> set xml 2 enable

HP SA7150> set xml 3 enable

8. Create XML patterns for Server 1:

HP SA7150> create pattern server1

URI Expression: */order.asp

XML Expression: //From[id = “Acme”]

Enter another pattern? [n]: y

URI Expression: */order.asp

XML Expression: //Amount[Value >= 10000]

Enter another pattern? [n]: y

URI Expression: */order.asp

XML Expression: default

Enter another pattern? [n]:

9. Create XML patterns for Server 2:

HP SA7150> create pattern server2

URI Expression: */order.asp

XML Expression: //From[id = “Widgets.com”]

Enter another pattern? [n]: y

URI Expression: */order.asp

XML Expression: //Amount[Value < 10000]

Enter another pattern? [n]: y

URI Expression: */order.asp

XML Expression: //Order[@type = "debit

card"]

Enter another pattern? [n]: