Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Die Implementierung der Operation Rollback ist Implementation of the rollback operation is optional.

Die Anfrage ist ein Element The request comprises a vct:RollbackRequest, welches vom Typ element of type vct:TransactionRequestType ist. Die Antwort ist ein Element . The response comprises a vct:RollbackResponse, welches vom Typ element of type vct:TransactionResponseType ist.

...

Rule: Rollback

Ein veloconnect-konformer Server, der die Operation Rollback unterstützt, muss einen RolbackRequest wie folgt bearbeiten:

...

Falls die durch die Anfrage spezifizierte Transaktionsinstanz nicht existiert, wird der ResponseCode 420 zurückgeliefert.

...

Falls die Anfrage eine Transaktionsinstanz identfiziert, die sich in einem der Zustände 50 bis 199 befindet, so ist der ResponseCode 430 zurückzuliefern.

...

A Veloconnect-compliant server which supports the rollback operation must handle a RollbackRequest as follows:

  1. If the transaction instance specified by the request does not exist, ResponseCode 420 is returned.

  2. If the request identifies a transaction instance in a state between 50 and 199, ResponseCode 430 must be returned.

  3. Otherwise ResponseCode 200 must be returned, and the transaction instance must be deleted.