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

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrf message

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


Subject: Re: [wsrf] Issue: Delete will always fault if minOccurs > 0






The offending statement that makes this a problem is

If, as a result of processing the Delete component, the resource properties
document is no
longer able to validate, the processing of the component MUST fail.

There are a couple of approaches:
1) Move the validation requirement to the should be moved from the
component level to the
 SetResourceProperties element level.  (This may introduce other issues)
2) Leave it as is and note that for any ResourcePropertyElement with
minOccurs >0 the result
is that the elements values can not be deleted.

Tom


Murray, Bryan P." <bryan.murray@hp.com> wrote on 06/23/2004 08:52:23 PM:

> The WS-ResourceProperties specification indicates that the
> SetResourceProperties operation to Delete a property will remove all
> occurrences of the property. If the property has minOccurs > 0 this
> would cause the resource property document to become invalid with
> respect to its schema. The spec indicates this should cause a fault to
> be returned.
>
> This means that elements of this property can never be deleted (even if
> they are inserted).
>
> I propose that clarifying text be added to warn the reader that if they
> design a property with a minOccurs > 0 and expose Delete, that the
> Delete will always return a fault.
>
> Bryan
\



T o m   M a g u i r e


STSM, On Demand Architecture
Poughkeepsie, NY  12601


internet:                 tmaguire@us.ibm.com
phone:                   845.433.9401





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