however, during ode migration, i get
javax.xml.ws.soap.SOAPFaultException: axis2ns1:selectionFailure
errors from some of my processes..i must say, i think variable initialization is the most annoying part of developing bpel processes..
so, i decided to note down some basics about that:
an explanation from http://www.mail-archive.com/dev@ode.apache.org/msg03470.html
ODE doesn't support variable initialization yet. See here:
http://ode.apache.org/ws-bpel-20-specification-compliance.html
The only way to initialize a message variable is through a copy operation within an assign activity.
You can initialize all of the parts of a message at once if you are copying from another message variable of the same message type.
If you are copying from an expression, literal, or other variable type then you need to specify the message part in the to specification.
Variables need to be initialized before they are assigned from or when
assigned to using a query or an expression or if they are used as to
input to an invoke or in conditional expressions.
assigned to using a query or an expression or if they are used as to
input to an invoke or in conditional expressions.
If you are just assigning directly to a variable's message part with no query then no
initialization is needed.
initialization is needed.
Hiç yorum yok:
Yorum Gönder