CXML-RESPONSE
cXML Response is the <Response> element of the cXML DTD that returns the result of a synchronous <Request>: status, functional data and any errors.
Definition
The <Response> is the symmetric reply of a <Request>. It carries a mandatory <Status> (code 200, 400, 500, etc.) and, when applicable, a functional sub-element such as <PunchOutSetupResponse> carrying the redirect URL to the supplier's PunchOut catalog.
Origin
Like <Request>, <Response> has been defined since cXML 1.0. It standardises HTTP synchronous return semantics for uniform buyer/supplier integration.
Use
On a PunchOutSetup, the buyer emits <Request><PunchOutSetupRequest>...</PunchOutSetupRequest></Request> and receives a <Response><Status code="200" text="success"/><PunchOutSetupResponse><StartPage><URL>https://supplier.example/punchout?token=...</URL></StartPage></PunchOutSetupResponse></Response>.
Related terms
- cXML — the parent standard.
- cXML Request — the related request.
- cXML Status — the status code.
- cXML Header — the header block.