Hi,
I tried to add a Resource  to a ServiceGroup with an InitialTerminationTime
by using the standard WS-ServiceGroupEntry-1_2.wsdl.
But the Entries were never destroyed...
I figured out that I didn't declare the wsrl-TerminationTime and
wsrl-CurrentTime properties and I didn't declare the
ScheduledTermination-Capability.
The SimpleServiceGroup capability checks for the
ScheduledTermination-Capability and only if it gets it it schedules the
terminaton of the entry.

When looking for the fault I found a incompatibility to the specification.
According to the standard the add() method should fail when it can not
schedule the termnination:
From http://docs.oasis-open.org/wsrf/wsrf-ws_service_group-1.2-spec-os.pdf
- line 493
---
If the ServiceGroup is unable or unwilling to set the TerminationTime
resource property of  the ServiceGroupEntry resource to the given value of
the “absolute time” form or a value greater, then the Add request MUST
fault"
---

So I think the createEntry-method of the SimpleServiceGroup should throw a
AddRefusedFault when it can't find the "scheduled-termination"-capability.

Regards,
Christian

Reply via email to