R E V I E W D R A F T - C I S C O C O N F I D E N T I A L
9-5
Cisco 4700 Series Application Control Engine Appliance Administration Guide
OL-11157-01
Chapter 9 Configuring the XML Interface
XML Overview
</command>
<status code="100" text="XML_CMD_SUCCESS"/>
</config_command>
</response_xml>
******** Client **************
POST /bin/xml_agent HTTP/1.1
Content-Length: 95
xml_cmd=<request_xml>
<show_running-config/>
</request_xml>
******** Server **************
HTTP/1.1 401 Unauthorized
Connection: close
WWW-Authenticate: Basic realm=/xml-config
HTTP Return Codes
HTTP return codes indicate the status of the request and reports errors between
the server and the client. The Apache HTTP server return status codes follow the
standards outlined in RFC 2616.
Table 9-1
lists the supported HTTP return codes.
Table 9-1
Supported HTTP Return Codes for XML
Return Code
Description
200
OK
201
Created
202
Accepted
203
Non-Authoritative Information
206
Partial Content
301
Moved Permanently
302
Found
400
Bad Request
401
Unauthorized (credentials required, but not provided)
403
Forbidden (illegal credentials submitted; syslog also generated)
404
Not Found (“/xml-config” not specified)