ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthieu Riou <matthieu.r...@gmail.com>
Subject Re: Initializing Varibales in BPEL script?
Date Tue, 23 Jun 2009 15:15:35 GMT
On Mon, Jun 22, 2009 at 9:04 AM, Pishava <pishava@yahoo.com> wrote:

> Hello,
>
>  Is it necessary to initialize all variables  defined in BEPL script prior
> using them in  Service Invocation?
> Because my BPEL script throws AssignmentFault exception when a variable is
> not initialized prior to mapping to its content to another variables.
> There is no problem in intializing all variables, but how  about  the
> "Input" mesage variable of the Process itself?!! I can jsut initialize it
> after "first receive" activity, which creates BPEL instance. In that case I
> will lost the "actual" input values for the process.
>
> Any idea, comment?
>

Input variables are initialized in full using your message so they are
initialized from the message and you shouldn't need to set them to anything.
So if you have the following:

<receive variable="foo" ..../>

The foo variable will be set to the content of your message when it arrives.

Matthieu


>
> regards,
> /shahab
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message