C H A P T E R 3
XML Operations
27
XML Pattern Creation
XML patterns are created with the create pattern command.
Because each pattern is assigned to a specific server, the command’s
syntax requires that a server be specified.
HP SA7150> create pattern <server name>
After entering the command and a server name, the SA7150 prompts
you for a URI expression.
HP SA7150> create pattern gold
URI Expression: /PurchaseOrder
Each time a new URI expression is entered, the system performs a
“validity check” (a test for syntactical correctness). If the expression
is invalid, the SA7150 displays an error message and prompts you to
begin again.
NOTE: The validity
warning opposite is an
example for illustrative
purposes only. Actual
messages will vary
depending on the error.
Improper use of ’*’ character in URI
Expression
Enter another pattern? [n]: y
After you enter a valid URI expression, the system prompts for an
XML expression.
XML Expression: //order [amount>1000]
Enter another pattern? [n]:
HP SA7150>
As with the URI expressions, the SA7150 performs a validity check
on each XML expression when entered and displays an error message
if there is a problem. After you enter a valid XML expression, the
SA7150 performs a “duplicate check,” (i.e., verifies that the newly
entered pattern does not already exist). If the pattern already exists,
the following message appears:
A pattern with this URI and XML expression
already exists
Enter another pattern? [n]:
When the above steps are complete, the SA7150 asks if you want to
create another XML pattern.
The SA7150 stores each XML pattern in a list on the server specified
during the pattern’s creation and assigns each a unique index number
within each server list. You can display all server lists at the console
by typing the show pattern command.
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 ...