QA Steps sandbox · Protocol sandbox

Protocol sandbox

The register of every being of the three worlds, by the oldest rule.

Your tasks

A code appears when a task is done – type it into the lesson.

Sign in to see your tasks

Tasks check what you did, so they need your account.

The Chronicle – SOAP

A SOAP 1.1 service with a WSDL: read the twenty sealed records without signing in, then create, replace and delete records of your own with HTTP Basic, a token from Login, or a WS-Security UsernameToken.

OperationCredentialsWhat it does
Login–Your sandbox username and password → token (valid 3600 seconds) and expiresIn.
GetCreaturenoOne record by id. Records 1–20 are sealed and readable by everyone; yours are visible only to you.
ListCreaturesnoFilters world, type, status, nameContains, sealed (combined with AND), limit 1–100 (default 20), offset. Answers total and one page.
CreateCreatureyesA new record of yours (no id, sealed or createdAt – the server sets them).
UpdateCreatureyesReplaces the whole record: an optional element you leave out returns to its default.
DeleteCreatureyesDeletes one of your records. A deleted id never comes back.
faultcodeCode in the detailWhen
ClientCHR-INVALID-XMLThe body is not well-formed XML.
ClientCHR-INVALID-REQUESTAn element breaks the schema: missing, unexpected, out of range, not in the list, Header after Body.
ClientCHR-UNKNOWN-OPERATIONThe operation or its namespace is not in the WSDL.
ClientCHR-ACTION-MISSINGNo SOAPAction header.
ClientCHR-ACTION-MISMATCHThe SOAPAction header names another operation.
ClientCHR-CONTENT-TYPEContent-Type is not text/xml.
ClientCHR-UNAUTHENTICATEDNo credentials, or a wrong username or password.
ClientCHR-TOKEN-INVALIDThe token is malformed, signed wrongly or expired.
ClientCHR-NOT-FOUNDNo such record for you (missing, deleted or someone else's).
ClientCHR-SEALEDRecords 1–20 cannot be changed or deleted.
ClientCHR-LIMIT-REACHEDYou keep 200 records at most. Reset my data clears them.
ServerCHR-INTERNALSomething failed on the server.
MustUnderstandCHR-MUST-UNDERSTANDA header block with mustUnderstand="1" the service does not know.
VersionMismatchCHR-SOAP-VERSIONA SOAP 1.2 envelope. Use SOAP 1.1.

How to call it from your tools

GetCreature – request body

GetCreature with curl

CreateCreature with HTTP Basic

Login – request body

The token from Login in the SOAP Header

WS-Security UsernameToken (PasswordText) in the SOAP Header

An expired token, to see the fault (it belongs to no one)