Возвращает список слоев трекинга Zulu, опубликованных на данном сервере, которые готовы работать по протоколу ZWS.
<xs:element name="zulu-server"> <xs:complexType> <xs:sequence> <xs:element name="Command"> <xs:complexType> <xs:choice> <xs:element name="TrackingGetLayerList"/> </xs:choice> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
<xs:element name="zwsResponse"> <xs:complexType> <xs:sequence> <xs:choice minOccurs="0"> <xs:element name="TrackingGetLayerList" type="typeGetLayerListResponse"/> </xs:choice> <xs:element name="RetVal" type="xs:integer"/> </xs:sequence> </xs:complexType> </xs:element> <xs:complexType name="typeGetLayerListResponse"> <xs:sequence> <xs:element name="Layer" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:all> <xs:element name="Name" type="xs:string"/> <xs:element name="Title" type="xs:string"/> </xs:all> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType>
<?xml version="1.0" encoding="UTF-8"?> <zulu-server service="zws" version="1.0.0"> <Command> <TrackingGetLayerList/> </Command> </zulu-server>
<?xml version="1.0" encoding="UTF-8"?>
<zwsResponse>
<TrackingGetLayerList>
<Layer>
<Name>Cars</Name>
<Title>Маршруты техники</Title>
</Layer>
<Layer>
<Name>People</Name>
<Title>Сотрудники</Title>
</Layer>
</TrackingGetLayerList>
<RetVal>2</RetVal>
</zwsResponse>