[gfs-wg] updateLogicalReference clarification
Peter Gardfjäll
peterg at cs.umu.se
Thu Dec 15 07:27:01 CST 2005
Hello everybody,
I would like some clarifications regarding the use of the
updateLogicalReference operation of the RNSResolver porttype.
According to the specification, the operation is intended to allow
"the caller to update the description of the Logical Reference and
add and/or remove associated EPRs."
Furthermore, the specification states that the EndpointReference property
value "MUST be embedded in the Update change type element" of the
changeProperties element (a SetResourceProperties element as pictured
below).
<wsrp:SetResourceProperties>
{
<wsrp:Insert >
{any}*
</wsrp:Insert> |
<wsrp:Update >
{any}*
</wsrp:Update> |
<wsrp:Delete ResourceProperty="QName" />
}+
</wsrp:SetResourceProperties>
So, if your are only allowed to use the Update change type of the
SetResourceProperties element, how would you distinguish an EPR add from
an EPR delete operation?
Furthermore, the specification is quite contradicting as it a few lines
down goes on to state that:
"The ChangeInput parameter is fully capable of inserting, updating, and
deleting properties in a single message exchange via the changeProperties
component. This means that an rns:EndpointReference value may be used for
adding a new EPR while another rns:EndpointReference value is sent
identifying an existing endpoint reference that should be de-referenced.
Values MUST be represented by the appropriate change type: Insert, Update,
or Delete."
Still, if this is true, how would you represent an EPR delete using the
Delete change type element (which only takes a QName and does not allow
endpoint references to be specified)?
A few examples covering the intended use of this operation would be very
helpful.
Cheers,
Peter
More information about the gfs-wg
mailing list