C H A P T E R 5
Command Reference
83
create pattern
Create an XML pattern for a specified server. Patterns associated
with a given server are uniquely identified by a system-generated
numeric pattern ID. After you execute the command, you are
prompted to enter the URI expression followed by the XML
expression. After a pattern is created the system prompts the user
to enter another pattern.
Syntax:
HP SA7150> create pattern <serverName>
HP SA7150> create pattern Standard
URI Expression: */purchase.asp
XML Expression: //From[Id=’acme’]
Enter another pattern? [n]: n
URI Expression
is the string identifying the target of the HTTP
POST (wildcards can be used).
XML Expression
is the string to which incoming XML data is
compared. Documents containing strings matching a pattern are
sent to the server associated with the matched pattern.
The SA7150 checks each expression for syntactical correctness as
it’s entered. If it detects an error during this check it presents a
message similar to the one below. (Messages vary depending on the
nature of the error.)
Improper use of ’*’ character in URI
Expression
After both the URI and XML expressions have been entered, the
SA7150 checks for “duplicate patterns,” i.e., it verifies that the
newly created pattern hasn’t already been defined. If it detects a
duplicate it displays the following message:
A pattern with this URI and XML expression
already exists
Command
Description
Summary of Contents for P4518A - Traffic Management Server Sa7150
Page 1: ...hp e commerce xml server accelerator sa7150 user guide ...
Page 10: ...C O N T E N T S HP e Commerce XML Server Accelerator SA7150 User Guide x Notes ...
Page 16: ...C H A P T E R 1 HP e Commerce XML Server Accelerator SA7150 User Guide 6 Notes ...
Page 24: ...C H A P T E R 2 HP e Commerce XML Server Accelerator SA7150 User Guide 14 Notes ...
Page 62: ...C H A P T E R 3 HP e Commerce XML Server Accelerator SA7150 User Guide 52 Notes ...
Page 80: ...C H A P T E R 4 HP e Commerce XML Server Accelerator SA7150 User Guide 70 Notes ...
Page 140: ...C H A P T E R 6 HP e Commerce XML Server Accelerator SA7150 User Guide 130 Notes ...
Page 158: ...C H A P T E R 8 HP e Commerce XML Server Accelerator SA7150 User Guide 148 Notes ...
Page 170: ...A P P E N D I X B HP e Commerce XML Server Accelerator SA7150 User Guide 160 Notes ...
Page 174: ...A P P E N D I X C HP e Commerce XML Server Accelerator SA7150 User Guide 164 Notes ...
Page 175: ...Regulatory Information Taiwan Class A EMI Statement ...
Page 184: ...A P P E N D I X D HP e Commerce XML Server Accelerator SA7150 User Guide 174 Notes ...
Page 212: ...I N D E X HP e Commerce XML Server Accelerator SA7150 User Guide 202 Notes ...