XML Schema Definitions

Input and output data transfer is done in XML, conforming to a strict schema which 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.
csp
Input and output data transfer is done in XML, conforming to a strict schema which enables standard access to data from different applications. The schemas provided in the
CA Spectrum
Web Services API define 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 java script development. These beans are available in <
$SPECROOT
>/RestfulExamples/lib/spectrumrest.jar.
CA 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
    CA Spectrum
    Locator; however, the Filter.xsd is only used by the
    CA 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.