bpel:invalidVariables -- {excerpt} variable failed to validate against a schema{excerpt}
This fault is thrown by the <[assign](assign.html)> and <[validate]> activities if a variable contains data that is inconsistent with its schema.
The following BPEL will generate the fault in the <assign> activity:
<variable name="foo" type="xsd:string" /> <assign validate="yes"> <copy> <to variable="foo"> <from> <literal> <bar><baz>BarBaz</baz></bar> </literal> </from> </copy> </assign>
The following BPEL will generate the fault in the <validate> activity:
<variable name="foo" type="xsd:string" /> <assign validate="no"> <copy> <to variable="foo"> <from> <literal> <bar><baz>BarBaz</baz></bar> </literal> </from> </copy> </assign> <validate variables="foo" />
<[assign](assign.html)>, <[validate]>