ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Weerasiri <ddweeras...@gmail.com>
Subject Re: <onAlarm> not works in <pick>
Date Fri, 14 Oct 2011 08:06:41 GMT
On Fri, Oct 14, 2011 at 1:22 PM, Waruna Ranasinghe <warunapww@gmail.com>wrote:

> In a pick, you should at-least have one "onMessage"
>
Even though I had at-least onMessage it gives me this error. I'll look into
the impl of BpelObjectFactory$BOMSAXErrorHandler further.

error is [2011-10-14 11:13:21,072] ERROR -
BpelObjectFactory$BOMSAXErrorHandler -
null:file:///opt/temp-svn/apache/ode/bpel/WSMonitor-13/WSMonitor.bpel:249:51:cvc-complex-type.2.4.a:
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.

>
> 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
>



-- 
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>

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