On 8/10/07, Anup Chandran <[EMAIL PROTECTED]> 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

Reply via email to