10-101
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-01
Chapter 10 Error Reporting in Cisco CRS-1 Series XML Responses
Types of Reported Errors
condition 'An error was encountered in the XML beneath this operation
tag'">
<Configuration>
<BGP MajorVersion=”1” MinorVersion=”0”>
<AS>
<Naming>
<AS>3</AS>
</Naming>
<Global>
<GracefulRestartTime ErrorCode="0x4368a800" ErrorMsg='
XMLMDA' detected the 'warning' condition '
The XML request does not conform to the schema. The character data
contained in the element on which this error appears (or one of its
child elements) does not conform to the XML schema for its datatype.
Please check the request against the schema.'"/>
</Global>
</AS>
</BGP>
</Configuration>
</Set>
</Request>
Operation Processing Errors
Operation processing errors include errors encountered during the processing of an operation, typically
as a result of committing the target configuration after previous <Set> or <Delete> operations. This
includes errors returned from Configuration Manager and the Cisco CRS-1 Series infrastructure, failed
authorization attempts, and “invalid configuration errors” returned from the back-end Cisco CRS-1
Series operating system applications.
The following example illustrates an operation processing error resulting from a <GetNext> request
specifying an unrecognized iterator ID:
Sample XML Client Request and Processing Error
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<GetNext IteratorID="1" Abort="true"/>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0" ErrorCode="0xa367a800" ErrorMsg="'
XML Service Library' detected the 'fatal' condition 'The XML
Infrastructure has been provided with an iterator ID which is not recognized. The
iterator is either invalid or has timed out.'"/>
For more information on errors resulting from a commit of the target configuration, see the section on
“Commit Errors”.
Error Codes and Messages
The error codes and messages returned from the Cisco CRS-1 Series router may originate in any one of
several components.