ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhananjay Rao" <dhananjay....@gmail.com>
Subject Assignment failure for XSD type AnyType
Date Mon, 19 Nov 2007 06:46:24 GMT
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

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