-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major
-
None
-
Affects Version/s: V1.1
-
Component/s: 1.1 Spec
-
None
Section 9.5.2 in the Policy spec has this normative statement;
The transactedOneWay intent MUST NOT be attached to a request/response operation. [POL90028]
The problem with this statement is that it is too strict. If you read the three preceding statements:
When a reference is marked as transactedOneWay, any OneWay invocation messages MUST be transacted as part of a client global transaction. [POL90008]
If the client component is not configured to run under a global transaction or if the binding does not support transactional message sending, then a reference MUST NOT be marked as transactedOneWay. [POL90009]
If a service is marked as transactedOneWay, any OneWay invocation message MUST be received from the transport binding in a transacted fashion, under the target service's global transaction. [POL90010]
You can see stmts 8, 9 and 10 consider the fact that this intent might be attached at locations where there are both oneway and request/response operations. POL90028 does not have the same conditional behavior, and as a result, prohibits this intent from being placed on an interface/service/reference which has both one-way AND request/response operations.
We have the same problem with immediateOneWay intent. Those statements immediately follow in section 9.5.2.