Something similar has bit me a few times before. The editor will
support 2.0 constructs and is currently moving in that direction.
I am wandering, however, whether at some point there could be some code
that could at least issue a warning saying that some some BPEL elements
are not understood by the editor to help in situations like this. It
could be a simple as wrapping it in an unknown element and just holding
onto the dom of that node (when the DOM facade change is complete).
We've had a conversation about this wrt validation, and the result
there was that schema checks could not be really done as source could
have structural problems during editing.
-michal
James Moody wrote:
Hi Arnold,
My initial guess is the following:
In OASIS, they have renamed
Terminate
to Exit. We have removed terminate from the model and editor and have
replaced
it with exit, therefore your "terminate" node isn't showing up.
If you rename it to exit it should work.
The reason they renamed it was
exactly
the confusion you have below - namely, what is the relationship between
terminate and terminationhandler. The answer is that there is none.
Terminate
terminates the process (and is now called exit). TerminationHandler is
a handler that executes when a *scope* terminates.
References:
Discussion of termination handlers,
plus renaming of terminate to exit:
http://www.choreology.com/external/WS_BPEL_issues_list.html#Issue135
Hope this helps,
james
bpel-dev-bounces@xxxxxxxxxxx wrote on 07/18/2006
10:10:06
PM:
> Hi, still remember the LoanProcess_new.bpel from Jeffrey? the Link
is
> here: http://dev.eclipse.org/mhonarc/lists/bpel-dev/msg00145.html
>
> the Picture is here :
> http://dev.eclipse.org/mhonarc/lists/bpel-dev/msg00148.html
>
> I think there is a problem : Bpel Designer didn't draw the
Terminate
> (supposed to follow "OnAlarm" node) on the pricture, which
is an
> activity in standard BPEL. Terminate is on line 121 in the file.
> (<bpws:terminate name="Terminate"
suppressJoinFailure="yes"/>)
>
> Is there any way for me to show that? And what's the relationship
> between terminate and TerminateHandler in package
> "org.eclipse.bpel.model"?
>
> Thanks~
>
> --
>
> Arnold Cai
> _______________________________________________
> bpel-dev mailing list
> bpel-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/bpel-dev
_______________________________________________
bpel-dev mailing list
bpel-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/bpel-dev
--
Michal Chmielewski, CMST, Oracle Corp,
W:650-506-5952 / M:408-209-9321
"Manuals ?! What manuals ? Son, it's Unix, you just gotta know."
|