Types of Reported Errors
</Request>
Sample XML Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Set xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ErrorCode="0x4368a400"
</Set>
</Request>
The following example also illustrates a schema error. In this case, the client application has requested
a <Set> operation specifying a value for the <GracefulRestartTime> object that is not within the range
of valid values for this item.
If a request does not conform to the XML schema, the CRS-1 Series router does not guarantee the
Note
response other than that it will be graceful.
Sample XML Request Specifying an Invalid Object Value Range
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Set>
</Set>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Set xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ErrorCode="0x4368a800"
Cisco CRS-1 Series Carrier Routing System XML API Guide
10-100
ErrorMsg="'XML Service Library' detected the 'warning'
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 ErrorCode="0x4368a400" ErrorMsg="'XMLMDA' detected the
'warning' condition '
The XML request does not conform to the schema. A child element of
the element on which this error appears is invalid. No such child
element name exists at this location in the schema. Please check
the request against the schema.'"/>
</AS>
</BGP>
</Configuration>
<Configuration>
<BGP MajorVersion="1" MinorVersion="0">
<AS>
<Naming>
<AS>3</AS>
</Naming>
<Global>
<GracefulRestartTime>6000</GracefulRestartTime>
</Global>
</AS>
</BGP>
</Configuration>
ErrorMsg="'XML Service Library' detected the 'warning'
Chapter 10
Error Reporting in Cisco CRS-1 Series XML Responses
OL-4596-01
Need help?
Do you have a question about the CRS-1 - Carrier Routing System Router and is the answer not in the manual?