OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

wsbpel message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [wsbpel] Issue 11 - Call for Discussion

> 3. As pointed out, this is orthogonal to type validation 
> because some use
> case: {while+invoke+receive+assign} require the incremental 
> build out of documents. It seems that a separate issue should 
> be opened to track validation (which could be addressed by 
> doing validation only on the edges). More generically, any 
> logic that combines sync or async interaction and build out 
> of a document will not be able to be compressed into a single 
> activity, companion language or not.

That's the way I see it too. The validation problem in the
{while+invoke+receive+assign} loop does not come from the assign itself
but from the incremental building of the XML typed variable through
successive loop cycles. No matter what we substitute the assign with,
the problem remains. The bottom line is that it is only at the
completion of the loop that it makes sense to validate the variable

The only alternative approach seems to be encapsulating the entire loop
into a separate Web service (with the assumption that whatever we use to
implement that Web service does not insist in doing validation before
the end of the loop). But that means that BPEL loses control of the
detailed operations that occur inside the loop itself, which in many
cases might not be what is desired.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]