Протокол для получения GPS-координат


Данный XML-файл не содержит никакой особой стилевой информации. Древо приведено ниже.

<wsdl:definitions xmlns:wsdl="https://schemas.xmlsoap.org/wsdl/" xmlns:ns1="https://schemas.xmlsoap.org/soap/https" xmlns:soap="https://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="https://webservice.telemetry.udo.fors.ru/" xmlns:wsp="https://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:xsd="https://www.w3.org/2001/XMLSchema" name="TelemetryService" targetNamespace="https://webservice.telemetry.udo.fors.ru/">
   <wsdl:types>
      <xs:schema xmlns:xs="https://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="https://webservice.telemetry.udo.fors.ru/">
         <xs:element name="storeTelemetry" type="tns:storeTelemetry" />
         <xs:element name="storeTelemetryList" type="tns:storeTelemetryList" />
         <xs:element name="storeTelemetryListResponse" type="tns:storeTelemetryListResponse" />
         <xs:element name="storeTelemetryResponse" type="tns:storeTelemetryResponse" />
         <xs:element name="testService" type="tns:testService" />
         <xs:element name="testServiceResponse" type="tns:testServiceResponse" />
         <xs:complexType name="testService">
            <xs:sequence>
               <xs:element minOccurs="0" name="a" type="xs:int" />
               <xs:element minOccurs="0" name="b" type="xs:int" />
            </xs:sequence>
         </xs:complexType>
         <xs:complexType name="testServiceResponse">
            <xs:sequence>
               <xs:element minOccurs="0" name="result" type="xs:int" />
            </xs:sequence>
         </xs:complexType>
         <xs:complexType name="storeTelemetryList">
            <xs:sequence>
               <xs:element maxOccurs="unbounded" minOccurs="0" name="telemetryWithDetails" type="tns:telemetryWithDetails" />
            </xs:sequence>
         </xs:complexType>
         <xs:complexType name="telemetryWithDetails">
            <xs:sequence>
               <xs:element name="telemetry" type="tns:telemetryBa" />
               <xs:element maxOccurs="unbounded" minOccurs="0" name="telemetryDetails" type="tns:telemetryDetailBa" />
            </xs:sequence>
         </xs:complexType>
         <xs:complexType name="telemetryBa">
            <xs:sequence>
               <xs:element name="coordX" type="xs:double" />
               <xs:element name="coordY" type="xs:double" />
               <xs:element name="date" type="xs:dateTime" />
               <xs:element name="glonass" type="xs:boolean" />
               <xs:element name="gpsCode" type="xs:string" />
               <xs:element name="speed" type="xs:double" />
            </xs:sequence>
         </xs:complexType>
         <xs:complexType name="telemetryDetailBa">
            <xs:sequence>
               <xs:element minOccurs="0" name="sensorCode" type="xs:string" />
               <xs:element minOccurs="0" name="value" type="xs:string" />
            </xs:sequence>
         </xs:complexType>
         <xs:complexType name="storeTelemetryListResponse">
            <xs:sequence />
         </xs:complexType>
         <xs:complexType name="storeTelemetry">
            <xs:sequence>
               <xs:element minOccurs="0" name="telemetry" type="tns:telemetryBa" />
               <xs:element maxOccurs="unbounded" minOccurs="0" name="telemetryDetails" type="tns:telemetryDetailBa" />
            </xs:sequence>
         </xs:complexType>
         <xs:complexType name="storeTelemetryResponse">
            <xs:sequence />
         </xs:complexType>
         <xs:element name="TelemetryException" type="tns:TelemetryException" />
         <xs:complexType name="TelemetryException">
            <xs:sequence>
               <xs:element name="user" nillable="true" type="xs:string" />
               <xs:element name="gpsCode" nillable="true" type="xs:string" />
               <xs:element name="date" nillable="true" type="xs:dateTime" />
            </xs:sequence>
         </xs:complexType>
      </xs:schema>
   </wsdl:types>
   <wsdl:message name="testServiceResponse">
      <wsdl:part element="tns:testServiceResponse" name="parameters" />
   </wsdl:message>
   <wsdl:message name="storeTelemetry">
      <wsdl:part element="tns:storeTelemetry" name="parameters" />
   </wsdl:message>
   <wsdl:message name="storeTelemetryList">
      <wsdl:part element="tns:storeTelemetryList" name="parameters" />
   </wsdl:message>
   <wsdl:message name="storeTelemetryResponse">
      <wsdl:part element="tns:storeTelemetryResponse" name="parameters" />
   </wsdl:message>
   <wsdl:message name="storeTelemetryListResponse">
      <wsdl:part element="tns:storeTelemetryListResponse" name="parameters" />
   </wsdl:message>
   <wsdl:message name="TelemetryException">
      <wsdl:part element="tns:TelemetryException" name="TelemetryException" />
   </wsdl:message>
   <wsdl:message name="testService">
      <wsdl:part element="tns:testService" name="parameters" />
   </wsdl:message>
   <wsdl:portType name="TelemetryService">
      <wsdl:operation name="testService">
         <wsdl:documentation>
           Test operation - returns the sum of two input integer parameters
         </wsdl:documentation>
         <wsdl:input message="tns:testService" name="testService">
            <wsdl:documentation>
              Input parameters for testService operation - two integers
            </wsdl:documentation>
         </wsdl:input>
         <wsdl:output message="tns:testServiceResponse" name="testServiceResponse">
            <wsdl:documentation>
              The result of testService operation - the sum of two input parameters
            </wsdl:documentation>
         </wsdl:output>
         <wsdl:fault message="tns:TelemetryException" name="TelemetryException" />
      </wsdl:operation>
      <wsdl:operation name="storeTelemetryList">
         <wsdl:documentation>
           Saving of data array on the vehicle movement with sensor values
         </wsdl:documentation>
         <wsdl:input message="tns:storeTelemetryList" name="storeTelemetryList">
            <wsdl:documentation>
              Input parameters for storeTelemetryList operation: Data array on the vehicle movement with sensor values
            </wsdl:documentation>
         </wsdl:input>
         <wsdl:output message="tns:storeTelemetryListResponse" name="storeTelemetryListResponse">
            <wsdl:documentation>The result of performing storage function - empty</wsdl:documentation>
         </wsdl:output>
         <wsdl:fault message="tns:TelemetryException" name="TelemetryException" />
      </wsdl:operation>
      <wsdl:operation name="storeTelemetry">
         <wsdl:documentation>
           Saving of data array on the vehicle movement and sensor values
         </wsdl:documentation>
         <wsdl:input message="tns:storeTelemetry" name="storeTelemetry">
            <wsdl:documentation>
              Input parameters for storeTelemetry operation: Data array on the vehicle movement with sensor values
            </wsdl:documentation>
         </wsdl:input>
         <wsdl:output message="tns:storeTelemetryResponse" name="storeTelemetryResponse">
            <wsdl:documentation>The result of performing storage function - empty</wsdl:documentation>
         </wsdl:output>
         <wsdl:fault message="tns:TelemetryException" name="TelemetryException" />
      </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name="TelemetryServiceSoapBinding" type="tns:TelemetryService">
      <soap:binding style="document" transport="https://schemas.xmlsoap.org/soap/https" />
      <wsp:PolicyReference URI="#UsernameToken" />
      <wsdl:operation name="testService">
         <soap:operation soapAction="" style="document" />
         <wsdl:input name="testService">
            <soap:body use="literal" />
         </wsdl:input>
         <wsdl:output name="testServiceResponse">
            <soap:body use="literal" />
         </wsdl:output>
         <wsdl:fault name="TelemetryException">
            <soap:fault name="TelemetryException" use="literal" />
         </wsdl:fault>
      </wsdl:operation>
      <wsdl:operation name="storeTelemetryList">
         <soap:operation soapAction="" style="document" />
         <wsdl:input name="storeTelemetryList">
            <soap:body use="literal" />
         </wsdl:input>
         <wsdl:output name="storeTelemetryListResponse">
            <soap:body use="literal" />
         </wsdl:output>
         <wsdl:fault name="TelemetryException">
            <soap:fault name="TelemetryException" use="literal" />
         </wsdl:fault>
      </wsdl:operation>
      <wsdl:operation name="storeTelemetry">
         <soap:operation soapAction="" style="document" />
         <wsdl:input name="storeTelemetry">
            <soap:body use="literal" />
         </wsdl:input>
         <wsdl:output name="storeTelemetryResponse">
            <soap:body use="literal" />
         </wsdl:output>
         <wsdl:fault name="TelemetryException">
            <soap:fault name="TelemetryException" use="literal" />
         </wsdl:fault>
      </wsdl:operation>
   </wsdl:binding>
   <wsdl:service name="TelemetryService">
      <wsdl:port binding="tns:TelemetryServiceSoapBinding" name="KafkaProducerTelemetryServicePort">
         <soap:address location="https://ods.mos.ru:80/telemetry/telemetryWebService" />
      </wsdl:port>
   </wsdl:service>
   <wsp:Policy xmlns:sp="https://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" xmlns:wsu="https://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" wsu:Id="UsernameToken" xsi:schemaLocation=" https://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702 https://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/ws-securitypolicy-1.2.xsd">
      <wsp:ExactlyOne>
         <wsp:All>
            <sp:SupportingTokens>
               <wsp:Policy>
                  <sp:UsernameToken sp:IncludeToken="https://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient">
                     <wsp:Policy />
                  </sp:UsernameToken>
               </wsp:Policy>
            </sp:SupportingTokens>
         </wsp:All>
      </wsp:ExactlyOne>
   </wsp:Policy>
</wsdl:definitions>