EasyManua.ls Logo

Cisco ACE-4710-K9

Cisco ACE-4710-K9
418 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
REVIEW DRAFT - CISCO CONFIDENTIAL
Chapter 9 Configuring the XML Interface
XML Overview
9-6
Cisco 4700 Series Application Control Engine Appliance Administration Guide
OL-11157-01
The following HTTP headers are supported:
Content-Length (nonzero value required for all POSTs)
Connection (close value indicates that a request should not be persistent)
WWW-Authenticate (sent to the client when credentials are required and
missing)
Authorization (sent from the client to specify basic credentials in base 64
encoding)
For example, when an XML error occurs, th
e HTTP response contains a 200
return code. The portion of the original XML document with the error is returned
with an error element that contains the error type and description.
The following is a typical example of an XML error response:
<response_xml>
<config_command>
<command>
interface vlan 20
no shut
description xyz
exit
</command>
<status code = ‘200’ text=’XML_CMD_FAILURE’>
<error_command> description xyz </error_command>
<error_message> unrecognized element - description </error_message>
</status>
</config_command>
</response_xml>
405 Method Not Allowed
406 Not Acceptable
408 Request Time-out (more than 30 seconds has passed waiting on
recei
ve)
411 Missing Content-Length (missing or zero Content-Length
fi
eld)
500 Internal Server Error
501 Not Implemented (“POST” not specified)
505 HTTP Version Not Supported (“1.0” or “1.1” not specified)
Table 9-1 Supported HTTP Return Codes for XML (continued)
Return Code Description

Table of Contents

Related product manuals