Guest User

wsdl

a guest
Jul 16th, 2013
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 30.70 KB | None | 0 0
  1. ЗАПРОС РАБОЧИЙ:
  2.  
  3. <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xro="http://x-rd.net/xsd/xroad.xsd" xmlns:prod="http://pais.ee.x-rd.net/producer/">
  4.     <SOAP-ENV:Header>
  5.         <xro:service>pais.atesAndur.v1</xro:service>
  6.         <xro:id>......</xro:id>
  7.         <xro:userId>.......</xro:userId>
  8.         <xro:producer>pais</xro:producer>
  9.         <xro:consumer>.......</xro:consumer>
  10.     </SOAP-ENV:Header>
  11.     <SOAP-ENV:Body>
  12.         <prod:atesAndur>
  13.             <request>
  14.                 <systId>777</systId>
  15.                 <termId>10001</termId>
  16.                 <loopId>1</loopId>
  17.             </request>
  18.         </prod:atesAndur>
  19.     </SOAP-ENV:Body>
  20. </SOAP-ENV:Envelope>
  21.  
  22.  
  23. ЗАПРОС СГЕНЕРИРОВАННЫЙ SoapClient:
  24.  
  25. <?xml version="1.0" encoding="UTF-8"?>
  26. <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://pais.ee.x-rd.net/producer/">
  27.     <SOAP-ENV:Body>
  28.         <ns1:atesAndur>
  29.             <request>
  30.                 <systId>777</systId>
  31.                 <termId>10001</termId>
  32.                 <loopId>1</loopId>
  33.             </request>
  34.         </ns1:atesAndur>
  35.     </SOAP-ENV:Body>
  36. </SOAP-ENV:Envelope>
  37.  
  38.  
  39. WSDL:
  40.  
  41. <?xml version="1.0" encoding="UTF-8"?>
  42. <definitions xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:ns="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://pais.ee.x-rd.net/producer/" xmlns:wsdl="http://www.w3.org/ns/wsdl" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://www.w3.org/1999/xlink" targetNamespace="http://pais.ee.x-rd.net/producer/">
  43.   <types>
  44.     <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://pais.ee.x-rd.net/producer/">
  45.       <import schemaLocation="http://x-rd.net/xsd/xroad.xsd" namespace="http://x-rd.net/xsd/xroad.xsd"/>
  46.       <import schemaLocation="http://www.w3.org/2005/05/xmlmime" namespace="http://www.w3.org/2005/05/xmlmime"/>
  47.       <element name="atesAndur">
  48.         <complexType>
  49.           <sequence>
  50.             <element name="request">
  51.               <complexType>
  52.                 <sequence>
  53.                   <element name="systId" maxOccurs="1" type="integer" minOccurs="1">
  54.                     <annotation>
  55.                       <appinfo>
  56.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Operaatori unikaalne kood</xrd:title>
  57.                       </appinfo>
  58.                     </annotation>
  59.                   </element>
  60.                   <element name="termId" maxOccurs="1" type="integer" minOccurs="1">
  61.                     <annotation>
  62.                       <appinfo>
  63.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Keskseadme unikaalne kood</xrd:title>
  64.                       </appinfo>
  65.                     </annotation>
  66.                   </element>
  67.                   <element name="loopId" maxOccurs="1" type="integer" minOccurs="1">
  68.                     <annotation>
  69.                       <appinfo>
  70.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Tsooni kood</xrd:title>
  71.                       </appinfo>
  72.                     </annotation>
  73.                   </element>
  74.                 </sequence>
  75.               </complexType>
  76.             </element>
  77.           </sequence>
  78.         </complexType>
  79.       </element>
  80.       <element name="atesAndurResponse">
  81.         <complexType>
  82.           <sequence>
  83.             <element name="request">
  84.               <complexType>
  85.                 <sequence>
  86.                   <element name="systId" maxOccurs="1" type="integer" minOccurs="1"/>
  87.                   <element name="termId" maxOccurs="1" type="integer" minOccurs="1"/>
  88.                   <element name="loopId" maxOccurs="1" type="integer" minOccurs="1"/>
  89.                 </sequence>
  90.               </complexType>
  91.             </element>
  92.             <element name="response" type="tns:atesAndur"/>
  93.           </sequence>
  94.         </complexType>
  95.       </element>
  96.       <element name="atesAndurUpdate">
  97.         <complexType>
  98.           <sequence>
  99.             <element name="request">
  100.               <complexType>
  101.                 <sequence>
  102.                   <element name="systId" maxOccurs="1" type="integer" minOccurs="1">
  103.                     <annotation>
  104.                       <appinfo>
  105.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Operaatori unikaalne kood</xrd:title>
  106.                       </appinfo>
  107.                     </annotation>
  108.                   </element>
  109.                   <element name="termId" maxOccurs="1" type="integer" minOccurs="1">
  110.                     <annotation>
  111.                       <appinfo>
  112.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Keskseadme unikaalne kood</xrd:title>
  113.                       </appinfo>
  114.                     </annotation>
  115.                   </element>
  116.                   <element name="loopId" maxOccurs="1" type="integer" minOccurs="1">
  117.                     <annotation>
  118.                       <appinfo>
  119.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Tsooni kood</xrd:title>
  120.                       </appinfo>
  121.                     </annotation>
  122.                   </element>
  123.                   <element name="tsoonNimi" maxOccurs="1" type="string" minOccurs="0">
  124.                     <annotation>
  125.                       <appinfo>
  126.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Tsooni nimetus</xrd:title>
  127.                       </appinfo>
  128.                     </annotation>
  129.                   </element>
  130.                   <element name="olek" maxOccurs="1" type="tns:andurOlek" minOccurs="0">
  131.                     <annotation>
  132.                       <appinfo>
  133.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Anduri olek</xrd:title>
  134.                       </appinfo>
  135.                     </annotation>
  136.                   </element>
  137.                   <element name="olekLopp" maxOccurs="1" type="dateTime" minOccurs="0">
  138.                     <annotation>
  139.                       <appinfo>
  140.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Oleku lõpu aeg (UTC)</xrd:title>
  141.                       </appinfo>
  142.                     </annotation>
  143.                   </element>
  144.                   <element name="kontaktid" maxOccurs="1" type="tns:kontaktid" minOccurs="0">
  145.                     <annotation>
  146.                       <appinfo>
  147.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Kontaktid</xrd:title>
  148.                       </appinfo>
  149.                     </annotation>
  150.                   </element>
  151.                   <element name="hooldajad" maxOccurs="1" type="tns:kontaktid" minOccurs="0">
  152.                     <annotation>
  153.                       <appinfo>
  154.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Hooldajad</xrd:title>
  155.                       </appinfo>
  156.                     </annotation>
  157.                   </element>
  158.                 </sequence>
  159.               </complexType>
  160.             </element>
  161.           </sequence>
  162.         </complexType>
  163.       </element>
  164.       <element name="atesAndurUpdateResponse">
  165.         <complexType>
  166.           <sequence>
  167.             <element name="request">
  168.               <complexType>
  169.                 <sequence>
  170.                   <element name="systId" maxOccurs="1" type="integer" minOccurs="1"/>
  171.                   <element name="termId" maxOccurs="1" type="integer" minOccurs="1"/>
  172.                   <element name="loopId" maxOccurs="1" type="integer" minOccurs="1"/>
  173.                   <element name="tsoonNimi" maxOccurs="1" type="string" minOccurs="0"/>
  174.                   <element name="olek" maxOccurs="1" type="tns:andurOlek" minOccurs="0"/>
  175.                   <element name="olekLopp" maxOccurs="1" type="dateTime" minOccurs="0"/>
  176.                   <element name="kontaktid" maxOccurs="1" type="tns:kontaktid" minOccurs="0"/>
  177.                   <element name="hooldajad" maxOccurs="1" type="tns:kontaktid" minOccurs="0"/>
  178.                 </sequence>
  179.               </complexType>
  180.             </element>
  181.             <element name="response" type="tns:atesAndur"/>
  182.           </sequence>
  183.         </complexType>
  184.       </element>
  185.       <element name="atesAlarm">
  186.         <complexType>
  187.           <sequence>
  188.             <element name="request">
  189.               <complexType>
  190.                 <sequence>
  191.                   <element name="systId" maxOccurs="1" type="integer" minOccurs="1">
  192.                     <annotation>
  193.                       <appinfo>
  194.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Operaatori unikaalne kood</xrd:title>
  195.                       </appinfo>
  196.                     </annotation>
  197.                   </element>
  198.                   <element name="termId" maxOccurs="1" type="integer" minOccurs="1">
  199.                     <annotation>
  200.                       <appinfo>
  201.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Keskseadme unikaalne kood</xrd:title>
  202.                       </appinfo>
  203.                     </annotation>
  204.                   </element>
  205.                   <element name="loopId" maxOccurs="1" type="integer" minOccurs="1">
  206.                     <annotation>
  207.                       <appinfo>
  208.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Tsooni kood</xrd:title>
  209.                       </appinfo>
  210.                     </annotation>
  211.                   </element>
  212.                   <element name="syndmus" maxOccurs="1" type="tns:syndmus" minOccurs="1">
  213.                     <annotation>
  214.                       <appinfo>
  215.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Sündmus</xrd:title>
  216.                       </appinfo>
  217.                     </annotation>
  218.                   </element>
  219.                   <element name="alarmStaatus" maxOccurs="1" type="tns:alarmStaatus" minOccurs="1">
  220.                     <annotation>
  221.                       <appinfo>
  222.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Alarmi staatus</xrd:title>
  223.                       </appinfo>
  224.                     </annotation>
  225.                   </element>
  226.                 </sequence>
  227.               </complexType>
  228.             </element>
  229.           </sequence>
  230.         </complexType>
  231.       </element>
  232.       <element name="atesAlarmResponse">
  233.         <complexType>
  234.           <sequence>
  235.             <element name="request">
  236.               <complexType>
  237.                 <sequence>
  238.                   <element name="systId" maxOccurs="1" type="integer" minOccurs="1"/>
  239.                   <element name="termId" maxOccurs="1" type="integer" minOccurs="1"/>
  240.                   <element name="loopId" maxOccurs="1" type="integer" minOccurs="1"/>
  241.                   <element name="syndmus" maxOccurs="1" type="tns:syndmus" minOccurs="1"/>
  242.                   <element name="alarmStaatus" maxOccurs="1" type="tns:alarmStaatus" minOccurs="1"/>
  243.                 </sequence>
  244.               </complexType>
  245.             </element>
  246.             <element name="response">
  247.               <complexType>
  248.                 <sequence>
  249.                   <element nillable="true" name="systId" maxOccurs="1" type="integer" minOccurs="1">
  250.                     <annotation>
  251.                       <appinfo>
  252.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Operaatori unikaalne kood</xrd:title>
  253.                       </appinfo>
  254.                     </annotation>
  255.                   </element>
  256.                   <element nillable="true" name="termId" maxOccurs="1" type="integer" minOccurs="1">
  257.                     <annotation>
  258.                       <appinfo>
  259.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Keskseadme unikaalne kood</xrd:title>
  260.                       </appinfo>
  261.                     </annotation>
  262.                   </element>
  263.                   <element nillable="true" name="loopId" maxOccurs="1" type="integer" minOccurs="1">
  264.                     <annotation>
  265.                       <appinfo>
  266.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Tsooni kood</xrd:title>
  267.                       </appinfo>
  268.                     </annotation>
  269.                   </element>
  270.                   <element nillable="true" name="regAeg" maxOccurs="1" type="dateTime" minOccurs="1">
  271.                     <annotation>
  272.                       <appinfo>
  273.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Registreerimise aeg (UTC)</xrd:title>
  274.                       </appinfo>
  275.                     </annotation>
  276.                   </element>
  277.                   <element nillable="true" name="valjakutseNr" maxOccurs="1" type="string" minOccurs="0">
  278.                     <annotation>
  279.                       <appinfo>
  280.                         <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Väljakutse number</xrd:title>
  281.                       </appinfo>
  282.                     </annotation>
  283.                   </element>
  284.                   <element nillable="true" name="faultCode" maxOccurs="1" type="xrd:faultCode" minOccurs="0"/>
  285.                   <element nillable="true" name="faultString" maxOccurs="1" type="xrd:faultString" minOccurs="0"/>
  286.                 </sequence>
  287.               </complexType>
  288.             </element>
  289.           </sequence>
  290.         </complexType>
  291.       </element>
  292.       <complexType name="atesAndur">
  293.         <sequence>
  294.           <element nillable="true" name="systId" maxOccurs="1" type="integer" minOccurs="1">
  295.             <annotation>
  296.               <appinfo>
  297.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Operaatori unikaalne kood</xrd:title>
  298.               </appinfo>
  299.             </annotation>
  300.           </element>
  301.           <element nillable="true" name="termId" maxOccurs="1" type="integer" minOccurs="1">
  302.             <annotation>
  303.               <appinfo>
  304.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Keskseadme unikaalne kood</xrd:title>
  305.               </appinfo>
  306.             </annotation>
  307.           </element>
  308.           <element nillable="true" name="loopId" maxOccurs="1" type="integer" minOccurs="1">
  309.             <annotation>
  310.               <appinfo>
  311.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Tsooni kood</xrd:title>
  312.               </appinfo>
  313.             </annotation>
  314.           </element>
  315.           <element nillable="true" name="tsoonNimi" maxOccurs="1" type="string" minOccurs="0">
  316.             <annotation>
  317.               <appinfo>
  318.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Tsooni nimetus</xrd:title>
  319.               </appinfo>
  320.             </annotation>
  321.           </element>
  322.           <element nillable="true" name="olek" maxOccurs="1" type="tns:andurOlek" minOccurs="1">
  323.             <annotation>
  324.               <appinfo>
  325.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Anduri olek</xrd:title>
  326.               </appinfo>
  327.             </annotation>
  328.           </element>
  329.           <element nillable="true" name="olekAlgus" maxOccurs="1" type="dateTime" minOccurs="1">
  330.             <annotation>
  331.               <appinfo>
  332.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Oleku alguse aeg (UTC)</xrd:title>
  333.               </appinfo>
  334.             </annotation>
  335.           </element>
  336.           <element nillable="true" name="olekLopp" maxOccurs="1" type="dateTime" minOccurs="0">
  337.             <annotation>
  338.               <appinfo>
  339.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Oleku lõpu aeg (UTC)</xrd:title>
  340.               </appinfo>
  341.             </annotation>
  342.           </element>
  343.           <element nillable="true" name="kontaktid" maxOccurs="1" type="tns:kontaktid" minOccurs="0">
  344.             <annotation>
  345.               <appinfo>
  346.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Kontaktid</xrd:title>
  347.               </appinfo>
  348.             </annotation>
  349.           </element>
  350.           <element nillable="true" name="hooldajad" maxOccurs="1" type="tns:kontaktid" minOccurs="0">
  351.             <annotation>
  352.               <appinfo>
  353.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Hooldajad</xrd:title>
  354.               </appinfo>
  355.             </annotation>
  356.           </element>
  357.           <element nillable="true" name="aadress" maxOccurs="1" type="tns:aadress" minOccurs="1">
  358.             <annotation>
  359.               <appinfo>
  360.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Aadress</xrd:title>
  361.               </appinfo>
  362.             </annotation>
  363.           </element>
  364.           <element nillable="true" name="faultCode" maxOccurs="1" type="xrd:faultCode" minOccurs="0"/>
  365.           <element nillable="true" name="faultString" maxOccurs="1" type="xrd:faultString" minOccurs="0"/>
  366.         </sequence>
  367.       </complexType>
  368.       <simpleType name="syndmus">
  369.         <annotation>
  370.           <appinfo>
  371.             <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Häireliik</xrd:title>
  372.           </appinfo>
  373.         </annotation>
  374.         <restriction base="string">
  375.           <enumeration value="ATES_SYNDMUS_LIINIRIKE">
  376.             <annotation>
  377.               <appinfo>
  378.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Liinirike</xrd:title>
  379.               </appinfo>
  380.             </annotation>
  381.           </enumeration>
  382.           <enumeration value="ATES_SYNDMUS_ATSRIKE">
  383.             <annotation>
  384.               <appinfo>
  385.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">ATS'i rike</xrd:title>
  386.               </appinfo>
  387.             </annotation>
  388.           </enumeration>
  389.           <enumeration value="ATES_SYNDMUS_TULEKAHJU">
  390.             <annotation>
  391.               <appinfo>
  392.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Tulekahju</xrd:title>
  393.               </appinfo>
  394.             </annotation>
  395.           </enumeration>
  396.         </restriction>
  397.       </simpleType>
  398.       <simpleType name="alarmStaatus">
  399.         <annotation>
  400.           <appinfo>
  401.             <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Häire olek</xrd:title>
  402.           </appinfo>
  403.         </annotation>
  404.         <restriction base="string">
  405.           <enumeration value="ATES_ALARM_PEAL">
  406.             <annotation>
  407.               <appinfo>
  408.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Alarm peal</xrd:title>
  409.               </appinfo>
  410.             </annotation>
  411.           </enumeration>
  412.           <enumeration value="ATES_ALARM_MAAS">
  413.             <annotation>
  414.               <appinfo>
  415.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Alarm maas</xrd:title>
  416.               </appinfo>
  417.             </annotation>
  418.           </enumeration>
  419.         </restriction>
  420.       </simpleType>
  421.       <simpleType name="andurOlek">
  422.         <annotation>
  423.           <appinfo>
  424.             <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Anduri olek</xrd:title>
  425.           </appinfo>
  426.         </annotation>
  427.         <restriction base="string">
  428.           <enumeration value="ATES_OLEK_TOOS">
  429.             <annotation>
  430.               <appinfo>
  431.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Töös</xrd:title>
  432.               </appinfo>
  433.             </annotation>
  434.           </enumeration>
  435.           <enumeration value="ATES_OLEK_HOOLDUS">
  436.             <annotation>
  437.               <appinfo>
  438.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Hooldus</xrd:title>
  439.               </appinfo>
  440.             </annotation>
  441.           </enumeration>
  442.           <enumeration value="ATES_OLEK_RIKKIS">
  443.             <annotation>
  444.               <appinfo>
  445.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Rikkis</xrd:title>
  446.               </appinfo>
  447.             </annotation>
  448.           </enumeration>
  449.           <enumeration value="ATES_OLEK_EHITAMISEL">
  450.             <annotation>
  451.               <appinfo>
  452.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Ehitamisel</xrd:title>
  453.               </appinfo>
  454.             </annotation>
  455.           </enumeration>
  456.           <enumeration value="ATES_OLEK_LOPETATUD">
  457.             <annotation>
  458.               <appinfo>
  459.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Lõpetatud</xrd:title>
  460.               </appinfo>
  461.             </annotation>
  462.           </enumeration>
  463.         </restriction>
  464.       </simpleType>
  465.       <complexType name="kontaktid">
  466.         <sequence>
  467.           <element name="kontakt" maxOccurs="unbounded" type="tns:kontakt" minOccurs="0">
  468.             <annotation>
  469.               <appinfo>
  470.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Kontakt</xrd:title>
  471.               </appinfo>
  472.             </annotation>
  473.           </element>
  474.         </sequence>
  475.       </complexType>
  476.       <complexType name="kontakt">
  477.         <sequence>
  478.           <element name="nimi" type="string">
  479.             <annotation>
  480.               <appinfo>
  481.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Nimi</xrd:title>
  482.               </appinfo>
  483.             </annotation>
  484.           </element>
  485.           <element name="telefon1" type="string">
  486.             <annotation>
  487.               <appinfo>
  488.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Telefon 1</xrd:title>
  489.               </appinfo>
  490.             </annotation>
  491.           </element>
  492.           <element name="telefon2" type="string">
  493.             <annotation>
  494.               <appinfo>
  495.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Telefon 2</xrd:title>
  496.               </appinfo>
  497.             </annotation>
  498.           </element>
  499.           <element name="email" type="string">
  500.             <annotation>
  501.               <appinfo>
  502.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">E-kiri</xrd:title>
  503.               </appinfo>
  504.             </annotation>
  505.           </element>
  506.           <element name="faks" type="string">
  507.             <annotation>
  508.               <appinfo>
  509.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Faks</xrd:title>
  510.               </appinfo>
  511.             </annotation>
  512.           </element>
  513.         </sequence>
  514.       </complexType>
  515.       <complexType name="aadress">
  516.         <sequence>
  517.           <element name="koodaadress" maxOccurs="1" type="string" minOccurs="1">
  518.             <annotation>
  519.               <appinfo>
  520.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Aadresskood</xrd:title>
  521.               </appinfo>
  522.             </annotation>
  523.           </element>
  524.           <element name="taisaadress" maxOccurs="1" type="string" minOccurs="1">
  525.             <annotation>
  526.               <appinfo>
  527.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Täisaadress</xrd:title>
  528.               </appinfo>
  529.             </annotation>
  530.           </element>
  531.           <element name="x" type="double">
  532.             <annotation>
  533.               <appinfo>
  534.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">X koordinaat</xrd:title>
  535.               </appinfo>
  536.             </annotation>
  537.           </element>
  538.           <element name="y" type="double">
  539.             <annotation>
  540.               <appinfo>
  541.                 <xrd:title xmlns:xrd="http://x-rd.net/xsd/xroad.xsd" xml:lang="et">Y koordinaat</xrd:title>
  542.               </appinfo>
  543.             </annotation>
  544.           </element>
  545.         </sequence>
  546.       </complexType>
  547.     </schema>
  548.   </types>
  549.   <message name="empty"/>
  550.   <message name="standardheader">
  551.     <part element="xrd:consumer" name="consumer"/>
  552.     <part element="xrd:producer" name="producer"/>
  553.     <part element="xrd:userId" name="userId"/>
  554.     <part element="xrd:service" name="service"/>
  555.     <part element="xrd:id" name="id"/>
  556.   </message>
  557.   <message name="atesAlarm">
  558.     <part element="tns:atesAlarm" name="body"/>
  559.   </message>
  560.   <message name="atesAlarmResponse">
  561.     <part element="tns:atesAlarmResponse" name="body"/>
  562.   </message>
  563.   <message name="atesAndur">
  564.     <part element="tns:atesAndur" name="body"/>
  565.   </message>
  566.   <message name="atesAndurResponse">
  567.     <part element="tns:atesAndurResponse" name="body"/>
  568.   </message>
  569.   <message name="atesAndurUpdate">
  570.     <part element="tns:atesAndurUpdate" name="body"/>
  571.   </message>
  572.   <message name="atesAndurUpdateResponse">
  573.     <part element="tns:atesAndurUpdateResponse" name="body"/>
  574.   </message>
  575.   <message name="listMethods">
  576.     <part element="xrd:listMethods" name="body"/>
  577.   </message>
  578.   <message name="listMethodsResponse">
  579.     <part element="xrd:listMethodsResponse" name="body"/>
  580.   </message>
  581.   <portType name="AtesPortType">
  582.     <operation name="atesAlarm">
  583.       <documentation>
  584.         <xrd:title xml:lang="et">ATeS alarm.</xrd:title>
  585.       </documentation>
  586.       <input message="tns:atesAlarm" name="atesAlarm"/>
  587.       <output message="tns:atesAlarmResponse" name="atesAlarmResponse"/>
  588.     </operation>
  589.     <operation name="atesAndurUpdate">
  590.       <documentation>
  591.         <xrd:title xml:lang="et">ATeS anduri/tsooni andmete uuendamine.</xrd:title>
  592.       </documentation>
  593.       <input message="tns:atesAndurUpdate" name="atesAndurUpdate"/>
  594.       <output message="tns:atesAndurUpdateResponse" name="atesAndurUpdateResponse"/>
  595.     </operation>
  596.     <operation name="atesAndur">
  597.       <documentation>
  598.         <xrd:title xml:lang="et">ATes anduri/tsooni andmed.</xrd:title>
  599.       </documentation>
  600.       <input message="tns:atesAndur" name="atesAndur"/>
  601.       <output message="tns:atesAndurResponse" name="atesAndurResponse"/>
  602.     </operation>
  603.     <operation name="listMethods">
  604.       <documentation>
  605.         <xrd:title xml:lang="en">listMethods</xrd:title>
  606.       </documentation>
  607.       <input message="tns:listMethods"/>
  608.       <output message="tns:listMethodsResponse"/>
  609.     </operation>
  610.   </portType>
  611.   <binding name="AtesBinding" type="tns:AtesPortType">
  612.     <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  613.     <operation name="atesAlarm">
  614.       <soap:operation style="document" soapAction=""/>
  615.       <xrd:version>v1</xrd:version>
  616.       <input>
  617.         <soap:body use="literal" parts="body"/>
  618.         <soap:header message="tns:standardheader" use="literal" part="consumer"/>
  619.         <soap:header message="tns:standardheader" use="literal" part="producer"/>
  620.         <soap:header message="tns:standardheader" use="literal" part="userId"/>
  621.         <soap:header message="tns:standardheader" use="literal" part="id"/>
  622.         <soap:header message="tns:standardheader" use="literal" part="service"/>
  623.       </input>
  624.       <output>
  625.         <soap:body use="literal" parts="body"/>
  626.         <soap:header message="tns:standardheader" use="literal" part="consumer"/>
  627.         <soap:header message="tns:standardheader" use="literal" part="producer"/>
  628.         <soap:header message="tns:standardheader" use="literal" part="userId"/>
  629.         <soap:header message="tns:standardheader" use="literal" part="id"/>
  630.         <soap:header message="tns:standardheader" use="literal" part="service"/>
  631.       </output>
  632.     </operation>
  633.     <operation name="atesAndurUpdate">
  634.       <soap:operation style="document" soapAction=""/>
  635.       <xrd:version>v1</xrd:version>
  636.       <input>
  637.         <soap:body use="literal" parts="body"/>
  638.         <soap:header message="tns:standardheader" use="literal" part="consumer"/>
  639.         <soap:header message="tns:standardheader" use="literal" part="producer"/>
  640.         <soap:header message="tns:standardheader" use="literal" part="userId"/>
  641.         <soap:header message="tns:standardheader" use="literal" part="id"/>
  642.         <soap:header message="tns:standardheader" use="literal" part="service"/>
  643.       </input>
  644.       <output>
  645.         <soap:body use="literal" parts="body"/>
  646.         <soap:header message="tns:standardheader" use="literal" part="consumer"/>
  647.         <soap:header message="tns:standardheader" use="literal" part="producer"/>
  648.         <soap:header message="tns:standardheader" use="literal" part="userId"/>
  649.         <soap:header message="tns:standardheader" use="literal" part="id"/>
  650.         <soap:header message="tns:standardheader" use="literal" part="service"/>
  651.       </output>
  652.     </operation>
  653.     <operation name="atesAndur">
  654.       <soap:operation style="document" soapAction=""/>
  655.       <xrd:version>v1</xrd:version>
  656.       <input>
  657.         <soap:body use="literal" parts="body"/>
  658.         <soap:header message="tns:standardheader" use="literal" part="consumer"/>
  659.         <soap:header message="tns:standardheader" use="literal" part="producer"/>
  660.         <soap:header message="tns:standardheader" use="literal" part="userId"/>
  661.         <soap:header message="tns:standardheader" use="literal" part="id"/>
  662.         <soap:header message="tns:standardheader" use="literal" part="service"/>
  663.       </input>
  664.       <output>
  665.         <soap:body use="literal" parts="body"/>
  666.         <soap:header message="tns:standardheader" use="literal" part="consumer"/>
  667.         <soap:header message="tns:standardheader" use="literal" part="producer"/>
  668.         <soap:header message="tns:standardheader" use="literal" part="userId"/>
  669.         <soap:header message="tns:standardheader" use="literal" part="id"/>
  670.         <soap:header message="tns:standardheader" use="literal" part="service"/>
  671.       </output>
  672.     </operation>
  673.     <operation name="listMethods">
  674.       <soap:operation style="document" soapAction=""/>
  675.       <input>
  676.         <soap:body use="literal" parts="body" namespace="http://x-tee.riik.ee/xsd/xtee.xsd"/>
  677.       </input>
  678.       <output>
  679.         <soap:body use="literal" parts="body" namespace="http://x-tee.riik.ee/xsd/xtee.xsd"/>
  680.       </output>
  681.     </operation>
  682.   </binding>
  683.   <service name="paisService">
  684.     <port name="Ates" binding="tns:AtesBinding">
  685.       <soap:address location="http://sos-xtee-adapter.dwl.smit:8080/xtee"/>
  686.       <xrd:title>Ates teenus</xrd:title>
  687.       <xrd:address producer="pais"/>
  688.     </port>
  689.   </service>
  690. </definitions>
Advertisement
Add Comment
Please, Sign In to add comment