ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rosalin Pattnaik" <rosalin.pattn...@gmail.com>
Subject Facing problem with condition evaluation on RHS in an assignment statement while using ODE.
Date Thu, 17 Jul 2008 12:41:42 GMT
Hi,


I tried to assign

concat(" Name:
",$outGetEntityDetails.parameters/tns:entityDetail[@key='Name']/text())

to

$output.payload/tns:validator[$counter]

This gives me the following exception <faultcode>soapenv:selectionFailure</
faultcode>
   <faultstring>{
http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure<http://docs.oasis-open.org/wsbpel/2.0/process/executable%7DselectionFailure>Multiple
results for expression: {OXPath10Expression
$output.payload/tns:validator[$counter]}</faultstring>


While i am able to assign to
$output.payload/tns:validator[1]/$output.payload/tns:validator[2]/$output.payload/tns:validator[3].It
is so that an condition in an Xpath is not evaluated on RHS of an
assignment?

How can i assign to each user element while the schema is something like
this..

<element name="sample">
                <complexType>
                    <sequence>
                        <element name="user" type="string" minOccurs="0"
maxOccurs="unbounded"/>
                    </sequence>
                </complexType>
            </element>



Regards,
Rosalin

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