GetLayerBaseInfo (ZWS)

Возвращает описание базы данных слоя

Схема запроса:

    <xs:complexType name="typeGetLayerBaseInfo">
        <xs:all>
            <xs:element name="Layer" type="typeLayer"/>
            <xs:element name="TypeID" type="xs:integer" minOccurs="0"/>
            <xs:element name="BasedID" type="xs:integer" minOccurs="0"/>
            <xs:element name="Queries" type="typeFlag" minOccurs="0" default="Yes"/>
            <xs:element name="Forms" type="typeFlag" minOccurs="0" default="No"/>
        </xs:all>
    </xs:complexType>        

Схема ответа:

<xs:complexType name="typeGetLayerBaseInfoResponse">
        <xs:all>
            <xs:element name="Base">
                <xs:complexType>
                    <xs:all>
                        <xs:element name="BaseID" type="xs:integer"/>
                        <xs:element name="UserName" type="xs:string"/>
                        <xs:element name="Queries">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="Query">
                                        <xs:complexType>
                                            <xs:sequence>
                                                <xs:element name="Name" type="xs:string"
                                                  minOccurs="1" maxOccurs="1"/>
                                                <xs:element name="Fields">
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="Field">
                                                  <xs:complexType>
                                                  <xs:all>
                                                  <xs:element name="Name" type="xs:string"/>
                                                  <xs:element name="UserName" type="xs:string"/>
                                                  </xs:all>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                </xs:element>
                                            </xs:sequence>
                                        </xs:complexType>
                                    </xs:element>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                        <xs:element name="Forms">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="Form">
                                        <xs:complexType>
                                            <xs:sequence>
                                                <xs:element name="Name" type="xs:string"
                                                  minOccurs="1" maxOccurs="1"/>
                                                <xs:element name="QueryName" type="xs:string"
                                                  minOccurs="1" maxOccurs="1"/>
                                                <xs:element name="Fields">
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="Field">
                                                  <xs:complexType>
                                                  <xs:all>
                                                  <xs:element name="Name" type="xs:string"/>
                                                  <xs:element name="UserName" type="xs:string"/>
                                                  </xs:all>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                </xs:element>
                                            </xs:sequence>
                                        </xs:complexType>
                                    </xs:element>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                    </xs:all>
                </xs:complexType>
            </xs:element>
        </xs:all>
    </xs:complexType>        

Пример запроса:

<?xml version="1.0" encoding="UTF-8"?>
<zulu-server service="zws" version="1.0.0">
    <Command>
        <GetLayerBaseInfo>
            <Layer>riga:teplo</Layer>
            <TypeID>6</TypeID>        
            <Queries>no</Queries>
            <Forms>yes</Forms>
        </GetLayerBaseInfo>
    </Command>
</zulu-server>