Databases Reference
In-Depth Information
Setting validateXML for a partner link
To specify the validateXML property for a partner link, open the partner link within
the BPEL process, and select the Property tab, as shown in the following screenshot:
Next click the plus sign. This will pop-up a window with a drop-down list
containing properties you can set on the partner link. Select validateXML ,
and then for the Property Value , specify true .
In Enterprise Manager, you can also set this property to true for the
BPEL Service engine. This will enable schema validation of incoming and
outgoing XML documents for all partner links in all composites (unless
specifically disabled on a partner link by setting validateXML to false ).
This is usually an unnecessary overhead, but it can be useful for the
purpose of testing.
Using schema validation within the
Service Bus
Within the Service Bus, schema validation is carried out using a Validate action,
which is typically invoked during a pipeline stage or route node.
The Validate action provides an additional degree of flexibility when compared to
the Mediator, in that, rather than validating the entire payload of a document, you
can choose to validate just a fragment of the XML document, which you specify
using XPath.
Upon completing validation, you can specify that the Validate action records the
result of the validation, either true or false in a variable, or that it should throw
an exception if the validation fails.
 
Search WWH ::




Custom Search