<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://unstats.un.org/unsd/mbs" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://unstats.un.org/unsd/mbs" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://unstats.un.org/unsd/mbs">
      <s:element name="GetDataSeriesXML">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="sid" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="cid" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="yearfrom" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="yearto" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="p" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetDataSeriesXMLResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetDataSeriesXMLResult">
              <s:complexType mixed="true">
                <s:sequence>
                  <s:any />
                </s:sequence>
              </s:complexType>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetMetadataCountriesXML">
        <s:complexType />
      </s:element>
      <s:element name="GetMetadataCountriesXMLResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetMetadataCountriesXMLResult">
              <s:complexType mixed="true">
                <s:sequence>
                  <s:any />
                </s:sequence>
              </s:complexType>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetMetadataSeriesXML">
        <s:complexType />
      </s:element>
      <s:element name="GetMetadataSeriesXMLResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetMetadataSeriesXMLResult">
              <s:complexType mixed="true">
                <s:sequence>
                  <s:any />
                </s:sequence>
              </s:complexType>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetMetadataDateCodeXML">
        <s:complexType />
      </s:element>
      <s:element name="GetMetadataDateCodeXMLResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetMetadataDateCodeXMLResult">
              <s:complexType mixed="true">
                <s:sequence>
                  <s:any />
                </s:sequence>
              </s:complexType>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="GetDataSeriesXMLSoapIn">
    <wsdl:part name="parameters" element="tns:GetDataSeriesXML" />
  </wsdl:message>
  <wsdl:message name="GetDataSeriesXMLSoapOut">
    <wsdl:part name="parameters" element="tns:GetDataSeriesXMLResponse" />
  </wsdl:message>
  <wsdl:message name="GetMetadataCountriesXMLSoapIn">
    <wsdl:part name="parameters" element="tns:GetMetadataCountriesXML" />
  </wsdl:message>
  <wsdl:message name="GetMetadataCountriesXMLSoapOut">
    <wsdl:part name="parameters" element="tns:GetMetadataCountriesXMLResponse" />
  </wsdl:message>
  <wsdl:message name="GetMetadataSeriesXMLSoapIn">
    <wsdl:part name="parameters" element="tns:GetMetadataSeriesXML" />
  </wsdl:message>
  <wsdl:message name="GetMetadataSeriesXMLSoapOut">
    <wsdl:part name="parameters" element="tns:GetMetadataSeriesXMLResponse" />
  </wsdl:message>
  <wsdl:message name="GetMetadataDateCodeXMLSoapIn">
    <wsdl:part name="parameters" element="tns:GetMetadataDateCodeXML" />
  </wsdl:message>
  <wsdl:message name="GetMetadataDateCodeXMLSoapOut">
    <wsdl:part name="parameters" element="tns:GetMetadataDateCodeXMLResponse" />
  </wsdl:message>
  <wsdl:portType name="wsMbsServicesSoap">
    <wsdl:operation name="GetDataSeriesXML">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Extract MBS data by series, including relevant footnotes. &lt;br/&gt; (1) All fields are required.  &lt;br/&gt;(2) Series codes (each 4 character alphanumeric), use comma separated if more than one. Example: 5001,q201 &lt;br/&gt;(3) Country codes, either use (M49 standard) -comma separated if more than one-, or only 0 (zero) for all available countries.&lt;br/&gt; (4) Years, use 4 digits. &lt;br/&gt; (5) Period values p:{M=monthly, Q=Quarterly, Y=Annual, A=All periods} </wsdl:documentation>
      <wsdl:input message="tns:GetDataSeriesXMLSoapIn" />
      <wsdl:output message="tns:GetDataSeriesXMLSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetMetadataCountriesXML">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get metadata of all countries and other regional associations currently listed in the MBS. Country codes are M49 and names are provided in English language.</wsdl:documentation>
      <wsdl:input message="tns:GetMetadataCountriesXMLSoapIn" />
      <wsdl:output message="tns:GetMetadataCountriesXMLSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetMetadataSeriesXML">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get metadata of all statistical series currently listed in the MBS. Series names and other descriptions are in English.</wsdl:documentation>
      <wsdl:input message="tns:GetMetadataSeriesXMLSoapIn" />
      <wsdl:output message="tns:GetMetadataSeriesXMLSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetMetadataDateCodeXML">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get metadata of the date codes used in MBS. For example M1=January,...M9=September, MA=October,MB=November and MC=December; Q1=1st. quarter, YY=Year etc.</wsdl:documentation>
      <wsdl:input message="tns:GetMetadataDateCodeXMLSoapIn" />
      <wsdl:output message="tns:GetMetadataDateCodeXMLSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="wsMbsServicesSoap" type="tns:wsMbsServicesSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetDataSeriesXML">
      <soap:operation soapAction="http://unstats.un.org/unsd/mbs/GetDataSeriesXML" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetMetadataCountriesXML">
      <soap:operation soapAction="http://unstats.un.org/unsd/mbs/GetMetadataCountriesXML" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetMetadataSeriesXML">
      <soap:operation soapAction="http://unstats.un.org/unsd/mbs/GetMetadataSeriesXML" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetMetadataDateCodeXML">
      <soap:operation soapAction="http://unstats.un.org/unsd/mbs/GetMetadataDateCodeXML" 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="wsMbsServicesSoap12" type="tns:wsMbsServicesSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetDataSeriesXML">
      <soap12:operation soapAction="http://unstats.un.org/unsd/mbs/GetDataSeriesXML" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetMetadataCountriesXML">
      <soap12:operation soapAction="http://unstats.un.org/unsd/mbs/GetMetadataCountriesXML" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetMetadataSeriesXML">
      <soap12:operation soapAction="http://unstats.un.org/unsd/mbs/GetMetadataSeriesXML" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetMetadataDateCodeXML">
      <soap12:operation soapAction="http://unstats.un.org/unsd/mbs/GetMetadataDateCodeXML" 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="wsMbsServices">
    <wsdl:port name="wsMbsServicesSoap" binding="tns:wsMbsServicesSoap">
      <soap:address location="http://unstats.un.org/unsd/mbs/api/wsMbsServices.asmx" />
    </wsdl:port>
    <wsdl:port name="wsMbsServicesSoap12" binding="tns:wsMbsServicesSoap12">
      <soap12:address location="http://unstats.un.org/unsd/mbs/api/wsMbsServices.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>