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.
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.
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 ...