This project has retired. For details please refer to its Attic page.
Apache ODE – invalidVariables

invalidVariables

Fault Name

bpel:invalidVariables -- {excerpt} variable failed to validate against a schema{excerpt}

Description

This fault is thrown by the <[assign](assign.html)> and <[validate]> activities if a variable contains data that is inconsistent with its schema.

ODE does not currently perform _any_ variable data validation, hence this fault is never thrown.

Examples

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" />

See Also

<[assign](assign.html)>, <[validate]>