Hi Ian,

On Sun, Jan 4, 2009 at 1:53 PM, <[email protected]> wrote:

> I added an assign element to initialize initVar with a validate="yes"
> attribute.
>
> The assign of the literal succeeds, but when I attempt to invoke using it,
> ode claims that the variable isn't properly initialized. It's not clear
> whether the assign element  is actually validating the variable.
>
> The error message in the Tomcat log is:
>
> ERROR - GeronimoLog.error(104) | org.apache.ode.bpel.common.FaultException:
> The variable initVar isn't properly initialized.


The <assign> is ill-formed because it does not have a <copy> in it.   Adding
the <copy> around the <from> and <to> should fix it.

Sadly, the compiler doesn't report this as a compile problem :(


I also added a validate element.

There is a warning in the Tomcat log that ode does not recognize the
> validate element.  Can anyone see what I am doing wrong with the validate
> node?
>
> WARN - GeronimoLog.warn(92) | Unrecognized element in BPEL dom:
> {http://docs.oasis-open.org/wsbpel/2.0/process/executable}validate<http://docs.oasis-open.org/wsbpel/2.0/process/executable%7Dvalidate>
>

The <validate> activity isn't currently supported.

(as mentioned in
http://ode.apache.org/ws-bpel-20-specification-compliance.html)

alex

Reply via email to