07-19-04 10:52 PM
Hello
This happens due to the rules followed for definite assignment of
variables. The compiler cannot determine if the variable will be definitely
assigned since it is initialzied in a decide shape where the control may or
may not go during runtime.
Please restructure your code.
Cheers!
--
This posting is provided "AS IS" with no warranties, and confers no rights.
EBusiness Server Team
"Aniello" <aniello> wrote in message
news:#03rYKcbEHA.3728@TK2MSFTNGP10.phx.gbl...
>
> Hi all,
> In my orchestration I have a decide shape where i construct a message (in
> then branch) towards a web service, i make the invocation (send shape) and
i
> receive the result (receive shape). The output content of the receive
shape
> is an array and I want to use it outside of decide branch, during the
> construction of a new message towards another web service. The problem is
> that when i try to access to the result content i haven't errors or
warning,
> but when compile the orchestration I receive the error:
>
> "(3870): use of unassigned local variable
> 'Response_From_getListTG_CAP_1.getListTGResult'"
>
> It seems that the engine foresee that if i don't pass through the then
> branch i'm not able to have the content of the result message and makes an
> error....but the problem should arise at run time.
> Could anyone to suggest me how to solve this problem?
>
> Thanks in advance,
> Aniello.
>
>
[ Post a follow-up to this message ]
|