ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Waruna Ranasinghe <waruna...@gmail.com>
Subject Re: <onAlarm> not works in <pick>
Date Fri, 14 Oct 2011 07:52:39 GMT
In a pick, you should at-least have one "onMessage"

Thanks,
Waruna

On 14 October 2011 11:42, Denis Weerasiri <ddweerasiri@gmail.com> wrote:

> Hi folks,
> I'm getting the following compilation error for the below code. I checked
> the BPEL spec and seems my code is compliant with BPEL 2.0.
>
> Invalid content was found starting with element 'bpel:onAlarm'. One of '{"
> http://docs.oasis-open.org/wsbpel/2.0/process/executable":documentation,
> WC[##other:"http://docs.oasis-open.org/wsbpel/2.0/process/executable"], "
> http://docs.oasis-open.org/wsbpel/2.0/process/executable":targets, "
> http://docs.oasis-open.org/wsbpel/2.0/process/executable":sources, "
> http://docs.oasis-open.org/wsbpel/2.0/process/executable":onMessage}' is
> expected.
>
> <bpel:pick name="Pick">
>     <bpel:onAlarm>
>           <bpel:for><![CDATA['PT5M']]></bpel:for>
>                <bpel:scope>
>                       <bpel:sequence>
>                            <bpel:invoke/>
>                        </bpel:sequence>
>                </bpel:scope>
>     </bpel:onAlarm>
>
>      <bpel:onAlarm/>
> </bpel:pick name="Pick">
>
> Any help appreciated.
> --
> Thanks,
> Denis
> ----------------------------------------------------------
> *Denis Weerasiri*
> *
> *
> <http://wso2.com/>**** <http://wso2.com/>*site: **
> https://sites.google.com/site/ddweerasiri/*<
> https://sites.google.com/site/ddweerasiri/>
> *blog: **http://ddweerasiri.blogspot.com* <
> http://ddweerasiri.blogspot.com/>
> *
> twitter: **http://twitter.com/ddweerasiri* <http://twitter.com/ddweerasiri
> >*
> linked-in: **http://lk.linkedin.com/in/ddweerasiri*<
> http://lk.linkedin.com/in/ddweerasiri>
>



-- 
-----------------------------------------------------
Regards,
Waruna Ranasinghe

mob: 0724318285
blog: http://warunapw.blogspot.com
twitter: http://twitter.com/warunapww
http://lk.linkedin.com/in/waruna
www.facebook.com/waruna.ranasinghe

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