You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Matthieu Riou <ma...@gmail.com> on 2009/06/23 17:15:35 UTC
Re: Initializing Varibales in BPEL script?
On Mon, Jun 22, 2009 at 9:04 AM, Pishava <pi...@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
>
>
>
>