You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by ratha <ra...@wso2.com> on 2008/09/30 12:20:36 UTC

Message variable required

hi all,
In my bpel file i'm using the following 'receive' activity ;
<receive createInstance="yes" name="ReceiveCustomerRequestForLoanAmount" 
operation="request" partnerLink="LoanProcess" variable="creditInformation">

But when i try to invoke the service it says,
can not use non-message variable 'creditInformation' in this context and 
says message variable is required...

samething happen in 'reply' activity also.

How can I overcome such issue? Any suggestions..

Thanks,
Rgds,
ratha.

Re: Message variable required

Posted by Tammo van Lessen <tv...@gmail.com>.
Hi Ratha,

BPEL interaction activities send/receive WSDL messages and read/store
them in variables. Therefore such variables must be defined as message
types. Please have a look at your variable declarations and make sure
that you use the messageType attribute to define the type.

Best,
  Tammo

ratha wrote:
> hi all,
> In my bpel file i'm using the following 'receive' activity ;
> <receive createInstance="yes" name="ReceiveCustomerRequestForLoanAmount"
> operation="request" partnerLink="LoanProcess" variable="creditInformation">
> 
> But when i try to invoke the service it says,
> can not use non-message variable 'creditInformation' in this context and
> says message variable is required...
> 
> samething happen in 'reply' activity also.
> 
> How can I overcome such issue? Any suggestions..
> 
> Thanks,
> Rgds,
> ratha.