XML Schema Definitions

Input and output data transfer is done in XML, conforming to a strict schema that enables standard access to data from different applications. The schemas provided in the sp Web Services API define the correct data layout for all valid requests and responses.
casp1032
Input and output data transfer is done in XML, conforming to a strict schema that enables standard access to data from different applications. The schemas provided in the 
DX NetOps Spectrum
 Web Services API defines the correct data layout for all valid requests and responses.
Used to define the required syntax for GET Tunneling, the schema files are also more useful than WADL for advanced usage. The schema files are used to generate the JAXB beans that can be used for java and javascript development. These beans are available in <
$SPECROOT
>/RestfulExamples/lib/spectrumrest.jar.
DX NetOps Spectrum
 provides the following XML Schema Definitions (.xsd) files, which are located in <
$SPECROOT
>/RestfulExamples/src/xsd:
  • Filter.xsd
    Specifies the XML for attribute filters and search criteria.
    This is the same XML that is used by the 
    DX NetOps Spectrum
     Locater; however, the Filter.xsd is only used by the 
    DX NetOps Spectrum
     Web Services API.
  • Request.xsd
    Defines the XML format used in GET Tunneling. All POST body XML must have a tag like the following:
    xsi:schemaLocation="http://www.ca.com/spectrum/restful/schema/request ../../../xsd/Request.xsd">
  • Response.xsd
    Defines the XML or JSON format for all synchronous responses and XML format for all asynchronous responses.