XML schema error
This following XML request has transposed the <configuration> and <cli> tag sets:
<?xml version="1.0" encoding="UTF-8"?>
<request MajorVersion="1" MinorVersion="0">
<configuration>
<cli>
<command>
</cli>
</configuration>
</request>
The XML response to that malformed request is:
<?xml version="1.0" encoding="UTF-8"?>
<response MajorVersion="1" MinorVersion="0">
<responseType>XML_SCHEMA_ERROR</responseType>
<responseSeverity>SEVERITY_ERROR</responseSeverity>
<responseMsg>% Error: Schema error detected in the XML request.</responseMsg>
</response>
XML command error
The following XML request contains an invalid CLI command:
<?xml version="1.0" encoding="UTF-8"?>
<request MajorVersion="1" MinorVersion="0">
<cli>
<configuration>
<command>
</configuration>
</cli>
</request>
The XML response to that invalid request is:
<?xml version="1.0" encoding="UTF-8"?>
<response MajorVersion="1" MinorVersion="0">
<responseType>CLI_PARSE_ERROR</responseType>
<responseSeverity>SEVERITY_ERROR</responseSeverity>
<responseMsg><command>ip access test test1</command></responseMsg>
</response>
XML application error
The command in this XML request makes an invalid request:
<?xml version="1.0" encoding="UTF-8"?>
<request MajorVersion="1" MinorVersion="0">
<cli>
<configuration>
<command>
<command>
</configuration>
</cli>
</request>
The error response contains a <responseSeverity> of "APPLICATION_ERROR",
<responseSeverity>SEVERITY_ERROR, and a <responseMsg> of "% Error: Seq number does not exist."
1164
|
FTOS XML Feature
ip access standard test2
ip access test test1
</command>
ip access standard test1
seq 10 permit host 1.2.3.4 log count bytes
</command>
</command>
</command>