ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Boisvert" <boisv...@intalio.com>
Subject Re: Assign Activity : Copy to message variable xxxx requires a message for the r-value
Date Mon, 13 Aug 2007 14:41:15 GMT
On 8/10/07, Anup Chandran <anup.chandran@3ds.com> wrote:
>
> <bpws:assign name="AssignForInvoke" validate="no">
>   <bpws:copy>
>     <bpws:from part="payload" variable="input"/>
>     <bpws:to variable="CreateECRPartnerLinkRequest"/>
>   </bpws:copy>
> </bpws:assign>
>
> I get the following error on deploy:
>
> ERROR [BpelC] file:/C:/apache-tomcat-5.5.20/webapps/ode/WEB-INF/processes/ECRProcess/ECRProcess.bpel:25:
> error: [CopyToMessageFromNonMessage]
> Copy to message variable CreateECRPartnerLinkRequest requires a message
> for the
> r-value.


The <to> and <from> must be type-compatible.    In this case your <from>
is
a message part (I'm guessing an element of complexType) whereas the <to> is
a message type.   So you're missing a the "part" attribute on the <to> in
order to resolve a compatible message part.

alex

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message