I am using these variables in message activity and so that answers my question. I guess I forgot to add the fact that I am using those variables in messaging activity. Apologies.
Thanks Dhanush -----Original Message----- From: Alex Boisvert [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2008 8:26 PM To: [email protected] Subject: Re: Support for Variables in ODE Another case that might lead to the same error message is using this "element" variable in a messaging activity (receive, invoke, reply, ...). These activities all need a variable with messageType. alex On Wed, May 28, 2008 at 9:41 PM, Dhanush Gopinath < [EMAIL PROTECTED]> wrote: > No I used "element" attribute that is point to a schema element. > > Thanks > Dhanush > > -----Original Message----- > From: Alex Boisvert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 28, 2008 8:09 PM > To: [email protected] > Subject: Re: Support for Variables in ODE > > On Tue, May 27, 2008 at 9:53 PM, Dhanush Gopinath < > [EMAIL PROTECTED]> wrote: > > > The messageType, type or element attributes are used to specify the > type > > of a variable. Exactly one of these attributes MUST be used. Attribute > > messageType refers to a WSDL message type definition. Attribute type > > refers to an XML Schema type (simple or complex). Attribute element > > refers to an XML Schema element. > > > > Does ODE support only messageType attribute here. Because when I > > specified the variable as an XML Schema Element Type, the deployment > > failed saying > > > > "Cannot use non-message variable XX in this context (message variable > is > > required)" > > > Yes, Ode supports "messageType", "type" and "element" attributes. > > I think you must have used "messageType" attribute pointing to a schema > element instead of a WSDL message. Is that possible? > > alex >
