Chapter 4 Component APIs

RTP Streaming API

</xs:element>

<xs:element name="port" minOccurs="0"> <xs:simpleType>

<xs:restriction base="xs:unsignedShort"> <xs:minInclusive value="20480"/> <xs:maxInclusive value="32768"/>

</xs:restriction>

</xs:simpleType>

</xs:element>

</xs:all>

<xs:attribute name="onStopped" use="optional"> <xs:simpleType>

<xs:restriction base="xs:string"> <xs:minLength value="1"/> <xs:maxLength value="256"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="receiveVolume" use="optional"> <xs:simpleType>

<xs:restriction base="xs:integer"> <xs:minInclusive value="0"/> <xs:maxInclusive value="100"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:schema>

Error Schema

<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">

<xs:element name="errorResponse"> <xs:complexType>

<xs:all>

<xs:element name="type"> <xs:simpleType>

<xs:restriction base="xs:string"> <xs:enumeration value="InvalidURL"/> <xs:enumeration value="InvalidResource"/> <xs:enumeration value="InvalidResourceID"/> <xs:enumeration value="UnavailableResource"/> <xs:enumeration value="InvalidXML"/>

</xs:restriction>

</xs:simpleType>

</xs:element>

<xs:element name="data" nillable="true"> <xs:simpleType>

<xs:restriction base="xs:string"/> </xs:simpleType>

</xs:element>

</xs:all>

</xs:complexType>

</xs:element>

</xs:schema>

Cisco Unified IP Phone Services Application Development Notes

4-4

OL-20949-01

 

 

Page 46
Image 46
Cisco Systems OL-20949-01 manual Error Schema