CXML-STATUS
cXML Status is the <Status> element of the cXML DTD that carries a 3-digit return code (200, 400, 500…) modeled on HTTP, with a text attribute and an optional body.
Definition
<Status> is mandatory in every <Response> and frequent in reply <Message> elements. Common codes: 200 OK, 400 Bad Request, 401 Unauthorized, 412 Precondition Failed (key already used), 500 Internal Server Error. Exact values are documented in the cXML DTD.
Origin
Specified in cXML 1.0 on the HTTP/1.1 RFC 2616 model, to reuse codes familiar to web developers.
Use
When a buyer sends a PunchOutSetupRequest with a wrong NetworkId, the supplier replies <Status code="401" text="Unauthorized">Invalid credentials</Status>. The error can be traced and fixed in the Ariba console.
Related terms
- cXML — the parent standard.
- cXML Response — the host element.
- cXML Request — the related request.
- cXML Message — the asynchronous pattern.