Without seeing your entire process it's a little tough to say, but I'm
guessing that $inTask.root is not being intialized. If you're not
doing this yet, you need to do something like (you will likely need to
set the namespaces appropriately in the literal part):
<bpws:copy>
<bpws:from>
</bpws:from>
<bpws:to ><![CDATA[$inTask.root]]></bpws:to
>
</bpws:copy>
On Nov 18, 2007 10:46 PM, Dhananjay Rao <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I'm using following assigment statement in my BPEL process
>
> <bpws:copy>
> <bpws:from xmlns:bpws="
> http://schemas.xmlsoap.org/ws/2004/03/business-process/"><![CDATA[$inPayload.payload/]]></bpws:from
> >
> <bpws:to xmlns:bpws="
> http://schemas.xmlsoap.org/ws/2004/03/business-process/"><![CDATA[$inTask.root/ns0:taskInput]]></bpws:to
> >
> </bpws:copy>
>
> The variable inPayload is of following type
>
> <xsd:element name="createTaskRequest">
> <xsd:complexType>
> <xsd:sequence>
> <xsd:element name="taskMetaData" type="b4p:taskMetaDataType" />
> <xsd:element name="participantToken" type="xsd:string" />
> <xsd:element name="taskInput" />
> </xsd:sequence>
> </xsd:complexType>
> </xsd:element>
>
> taskInput is AnyType.
>
> and variable inTask is of type
>
> <element name="input">
> <complexType>
> <sequence>
> <element name="Address_" type="string"/>
> <element name="Name_" type="string"/>
> </sequence>
> </complexType>
> </element>
>
> When i execute this process following error is thrown in the ode console
>
>
> ERROR - GeronimoLog.error(104) | Assignment Fault: {
> http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure,lineNo=168,faultExplanation=Noresults
> for expression: {OXPath10Expression $inTask.root/ns0:taskInput}
>
> I'm i doing something wrong here?
>
> Thanks in advance.
>
> Regards,
> Dan
>