<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://refdatabase.refdata.ch/" xmlns:s2="http://refdatabase.refdata.ch/V2/Partner_out" xmlns:s1="http://refdatabase.refdata.ch/V2/Partner_in" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://refdatabase.refdata.ch/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://refdatabase.refdata.ch/">
      <s:import namespace="http://refdatabase.refdata.ch/V2/Partner_in" />
      <s:import namespace="http://refdatabase.refdata.ch/V2/Partner_out" />
      <s:element name="DownloadPartnerInput" nillable="true" type="s1:PARTNER_IN" />
      <s:element name="PARTNER" type="s2:PARTNER" />
    </s:schema>
    <s:schema elementFormDefault="qualified" targetNamespace="http://refdatabase.refdata.ch/V2/Partner_in">
      <s:complexType name="PARTNER_IN">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="TYPE">
            <s:simpleType>
              <s:restriction base="s:string">
                <s:enumeration value="ALL" />
                <s:enumeration value="DATE" />
                <s:enumeration value="GLN" />
                <s:enumeration value="NAME" />
              </s:restriction>
            </s:simpleType>
          </s:element>
          <s:element minOccurs="1" maxOccurs="1" name="PTYPE">
            <s:simpleType>
              <s:restriction base="s:string">
                <s:enumeration value="JUR" />
                <s:enumeration value="NAT" />
                <s:enumeration value="ALL" />
              </s:restriction>
            </s:simpleType>
          </s:element>
          <s:element minOccurs="0" maxOccurs="1" name="TERM" type="s:string" />
        </s:sequence>
      </s:complexType>
    </s:schema>
    <s:schema elementFormDefault="qualified" targetNamespace="http://refdatabase.refdata.ch/V2/Partner_out">
      <s:complexType name="PARTNER">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="ITEM">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="1" maxOccurs="1" name="PTYPE">
                  <s:simpleType>
                    <s:restriction base="s:string">
                      <s:enumeration value="JUR" />
                      <s:enumeration value="NAT" />
                    </s:restriction>
                  </s:simpleType>
                </s:element>
                <s:element minOccurs="0" maxOccurs="1" name="GLN" type="s:string" />
                <s:element minOccurs="1" maxOccurs="1" name="STATUS">
                  <s:simpleType>
                    <s:restriction base="s:string">
                      <s:enumeration value="A" />
                      <s:enumeration value="I" />
                    </s:restriction>
                  </s:simpleType>
                </s:element>
                <s:element minOccurs="1" maxOccurs="1" name="STDATE" type="s:dateTime" />
                <s:element minOccurs="0" maxOccurs="1" name="LANG" type="s:string" />
                <s:element minOccurs="0" maxOccurs="1" name="DESCR1" type="s:string" />
                <s:element minOccurs="0" maxOccurs="1" name="DESCR2" type="s:string" />
                <s:element minOccurs="0" maxOccurs="unbounded" name="ROLE">
                  <s:complexType>
                    <s:sequence>
                      <s:element minOccurs="0" maxOccurs="1" name="TYPE" type="s:string" />
                      <s:element minOccurs="0" maxOccurs="1" name="STREET" type="s:string" />
                      <s:element minOccurs="0" maxOccurs="1" name="STRNO" type="s:string" />
                      <s:element minOccurs="0" maxOccurs="1" name="POBOX" type="s:string" />
                      <s:element minOccurs="0" maxOccurs="1" name="ZIP" type="s:string" />
                      <s:element minOccurs="0" maxOccurs="1" name="CITY" type="s:string" />
                      <s:element minOccurs="0" maxOccurs="1" name="CTN" type="s:string" />
                      <s:element minOccurs="0" maxOccurs="1" name="CNTRY" type="s:string" />
                    </s:sequence>
                  </s:complexType>
                </s:element>
              </s:sequence>
              <s:attribute name="DT" type="s:dateTime" use="required" />
            </s:complexType>
          </s:element>
          <s:element minOccurs="0" maxOccurs="1" name="RESULT">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="1" maxOccurs="1" name="OK_ERROR">
                  <s:simpleType>
                    <s:restriction base="s:string">
                      <s:enumeration value="OK" />
                      <s:enumeration value="ERROR" />
                    </s:restriction>
                  </s:simpleType>
                </s:element>
                <s:element minOccurs="0" maxOccurs="1" name="NBR_RECORD" type="s:int" />
                <s:element minOccurs="0" maxOccurs="1" name="ERROR_CODE" type="s:string" />
                <s:element minOccurs="0" maxOccurs="1" name="MESSAGE" type="s:string" />
              </s:sequence>
            </s:complexType>
          </s:element>
        </s:sequence>
        <s:attribute name="CREATION_DATETIME" type="s:dateTime" use="required" />
      </s:complexType>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="DownloadSoapIn">
    <wsdl:part name="input" element="tns:DownloadPartnerInput" />
  </wsdl:message>
  <wsdl:message name="DownloadSoapOut">
    <wsdl:part name="DownloadResult" element="tns:PARTNER" />
  </wsdl:message>
  <wsdl:portType name="PartnerSoap">
    <wsdl:operation name="Download">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Schema Input:&lt;/b&gt; Click &lt;a href='../../Schemas/V2/Input/Partner_in.xsd'&gt;here&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Schema Output:&lt;/b&gt; Click &lt;a href='../../Schemas/V2/Output/Partner_out.xsd'&gt;here&lt;/a&gt;&lt;/p&gt;</wsdl:documentation>
      <wsdl:input message="tns:DownloadSoapIn" />
      <wsdl:output message="tns:DownloadSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="PartnerSoap" type="tns:PartnerSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="Download">
      <soap:operation soapAction="http://refdatabase.refdata.ch/Download" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="PartnerSoap12" type="tns:PartnerSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="Download">
      <soap12:operation soapAction="http://refdatabase.refdata.ch/Download" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="Partner">
    <wsdl:port name="PartnerSoap" binding="tns:PartnerSoap">
      <soap:address location="http://refdatabase.refdata.ch:20025/Service/V2/Partner.asmx" />
    </wsdl:port>
    <wsdl:port name="PartnerSoap12" binding="tns:PartnerSoap12">
      <soap12:address location="http://refdatabase.refdata.ch:20025/Service/V2/Partner.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>