Validating the variables with the <assign> activity
This recipe will examine the validation of the variables through the assign activity in a BPEL process. At first glance, there may be no obvious relation to the transformation; however, providing the qualitative data for the transformation is crucial, otherwise the results of the transformation might be surprising.
Getting ready
We will extend the example from the Defining the variable recipe with the validation functionality of the BPEL assign activity.. We will modify the example so that it will fail during validation.
In the AssignWSinput
activity, we set the wrong XML fragment as follows:
<assign name = "AssignWSinput" xml:id = "id_15" validate = "yes"> <copy xml:id="id_52"> <from xml:id = "id_53"><literal ...
Get BPEL and Java Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.