Separate constraints for replies and faults

I believe I saw a similar question float by recently, but I'm not sure I
saw the answer:

Suppose I want to say "I can send replies either to a third party or
back on the back-channel, but I will only send faults back on the
back-channel".  How would I say this?

>From reading through WS-Policy again, and from Chris's comments, I think
the swimming-downstream way to say this is

<all>
  <exactlyOne>
     anon is OK for replies
     non-anon is OK for replies
  </exactlyOne>
  <exactlyOne>
    anon is OK for faults
  </exactlyOne>
</all>

The normalization rules then expand this combinatorially into what we'd
expect.

Is this about right?  If so, just how does that come out in
fully-spelled-out angle brackets?  Frankly, I
find WS-Policy very confusing, but that's more a WS-P issue.

Received on Monday, 5 March 2007 20:13:21 UTC