ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tammo van Lessen <tvanles...@gmail.com>
Subject Re: Assignment Fault - No results for expression
Date Tue, 15 Jul 2008 15:15:35 GMT
Hi Massimiliano,

did you initialize the whole variable with the literal? If you're just 
writing a subpart (indicated by an XPath), this subpart is most probably 
not existing and therefore resulting in a selection failure. I know that 
ActiveBPEL can automatically initialize variables. However, as this is 
not automatically possible in all cases (especially when dealing with 
optional elements, how many instances should be automatically created, 
should also subchildren be created?), we have decided to not implement 
it. In case people really request this freature we still can consider 
implementing it.


Massimiliano Giraldo wrote:
> Hi all!
> When I try to execute a service, created for ActiveBpel, modified and
> correctly deployed on Ode, I have this error:
> ERROR [ASSIGN] Assignment Fault:
> {http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure,lineNo=43,faultExplanation=No
> results for expression: {OXPath10Expression
> bs:Properties[bs:PropertyName='deviceID']/bs:PropertyValue
> I read on the web (and in this mailing list too) that this error may be
> generated by two reasons:
> - the absense of <literal> element when I define the variable, before the
> assignment.
> - a problem of namespaces.
> - different implementation of assignment between Active Bpel and Apache Ode.
> In my bpel file, the variable is within <literal> and </literal> element,
> with correct namespace.
> The namespace of the query
> "bs:Properties[bs:PropertyName='deviceID']/bs:PropertyValue" is correct too.
> May be there another reason that can generate this error? Or was my analysis
> wrong?
> Thanks,
> Max
> -----
> http://www.pcguide.netsons.org http://www.pcguide.netsons.org 

View raw message