Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[bpel-dev] .bpelex validation

Hi!

Sometimes extensions file (.bpelex) becomes corrupt - all extensions
are incorrectly extending Process like this:
  <extensions>
    <extendedObject href="SOA_Expressway_On_Ramp.bpel#/"/>
    <extensionObject
xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
  </extensions>
instead of corresponding activity or other element. Or it can come out
of sync if we edit it manually or edit bpel outside of Eclipse.

So, we need to validate bpelex while loading bpel and remove bpelex in
case it's not valid. I have some basic understanding of how it should
work - extension should be applied to correct element (i.e.
ActivityExtension should not be applied to the Process,
VariableExtesion should be applied to Variable) and any extension
should not extend missing element (please correct me if I'm wrong).
But probably there are some other things that should be checked.
Please tell me what should be checked except cases I've already
mentioned

By the way, if you know how .bpelex becomes corrupted, please send me
the scenario.

Thanks,
Dennis


Back to the top