beautypg.com

Xml “well-formed” check – HP e-CommerceXML Accelerator sa7150 User Manual

Page 40

background image

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

30

The table below illustrates ways in which XML messages are handled
depending on which component of XML patterns match and whether
a default XML server is configured.

XML “Well-formed” Check

If the SA7150 detects a URI expression match in the XML data
stream, it checks it for syntactical errors, and, if it detects any, by
default sends an error message to the requesting client. Alternately, it
can be configured to send an incoming XML data stream to the
mapped server when it detects punctuation or syntax errors. In all
such cases the XML expression is ignored for normal processing
purposes.

If the xml_well_formed command is set to enable, when
malformed XML data is found in an incoming request the

SA7150

terminates the connection and returns HTTP Error 403 to

the client with the message, “XML data is not well-formed.”

If xml_well_formed is set to disable, when malformed XML
data is found in an incoming request it is sent to the mapped
server.

Default XML Server
Configured

Default XML Server
Not Configured

URI Match, no XML
Match

Default XML Server

Mapped Server

XML Match, no URI
Match

Mapped Server

Mapped Server

URI and XML Match

Server to which matching pattern
is assigned

Server to which matching
pattern is assigned

XML Message Destinations