ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafal Perkowski <rafal.p...@gmail.com>
Subject Re: $ode:processQName undeclared variable
Date Tue, 08 Mar 2011 10:58:49 GMT
Hi,

I fixed the problem. I added namespaces to process:
xmlns:ode="http://www.apache.org/ode/type/extension"
expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0".

Thanks,

Rafal

On Tue, Mar 8, 2011 at 11:45 AM, Rafal Perkowski <rafal.p123@gmail.com> wrote:
> Hi,
>
> I have to get process name. I tried code below:
> <bpel:copy>
>        <bpel:from>$ode:processQName</bpel:from>
>        <bpel:to>$SaveDataInput.parameters/ns1:processId<-bpel:to>
> </bpel:copy>
> I cannot deploy this process. I got error:
> 11:37:50,005 ERROR [BpelC] null:165: error: [UndeclaredVariable]
> Attempt to reference undeclared variable "processQName".
> 11:37:50,131 ERROR [ProcessStoreImpl] Deploy failed; error:
> [CompilationErrors] Compilation completed with 1 error(s):
>        null:165: error: [UndeclaredVariable] Attempt to reference undeclared
> variable "processQName".
>
> I tried the same code with $ode:pid and it works fine.
> Does somebody know what is the problem?
>
> Thanks,
>
> Rafal
>

Mime
View raw message