Thanks, Alex, the message is now initialized correctly.
Thanks also for pointing me at the compliance doc.


Ian Griggs
Integration Architect
Applied Materials Canada Inc.
AGS Manufacturing Automation Services
[email protected] <<-- New mail address
[email protected] <<-- personal mail address
647 288 5298  -- Direct dial number in office
(416) 977-0599 x85298 -- office, note new extension
(416) 465 9389 -- home

The content of this message is Applied Materials Confidential.  If you are
not the intended recipient and have received this message in error, any use
or distribution is prohibited.  Please notify me immediately by reply
e-mail and delete this message from your computer system.  Thank you.


                                                                           
                                                                           
                                                                           
                                                                        To 
    "Alex Boisvert"                      [email protected]               
    <[email protected]>                                              cc 
                                                                           
    01/04/2009 08:09 PM                                            Subject 
                                         Re: Problem initializing a BPEL   
                                         message from a literal            
         Please respond to                                                 
        [email protected]                                                
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




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