<?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:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.2sms.com/WebServices/2.2/Simple/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.2sms.com/WebServices/2.2/Simple/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">This web service provides methods that allow you to open, manage and report upon accounts and their sub-accounts</wsdl:documentation>
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://www.2sms.com/WebServices/2.2/Simple/">
      <s:element name="GetBalance">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="AnyTimeBalance" type="s:decimal" />
            <s:element minOccurs="1" maxOccurs="1" name="OffPeakBalance" type="s:decimal" />
            <s:element minOccurs="0" maxOccurs="1" name="ResultText" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetBalanceResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetBalanceResult" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="AnyTimeBalance" type="s:decimal" />
            <s:element minOccurs="1" maxOccurs="1" name="OffPeakBalance" type="s:decimal" />
            <s:element minOccurs="0" maxOccurs="1" name="ResultText" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="Verify">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="ResultText" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="VerifyResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="VerifyResult" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="ResultText" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="Validate">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="ValidationCode" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="ResultText" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="ValidateResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="ValidateResult" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="ResultText" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="Open">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="ParentUsername" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="ParentPassword" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="FirstName" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="LastName" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="MobilePhone" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Company" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Phone" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="ResultText" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="OpenResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="OpenResult" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="ResultText" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="Modify">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="NewUsername" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="NewPassword" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="FirstName" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="LastName" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="MobilePhone" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Phone" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Company" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="ResultText" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="ModifyResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="ModifyResult" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="ResultText" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="ListSubAccount">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="ReportCSV" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="ResultText" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="ListSubAccountResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="ListSubAccountResult" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="ReportCSV" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="ResultText" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="SubAccountGiveCredit">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="SubAccount" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="AnyTimeBalance" type="s:decimal" />
            <s:element minOccurs="1" maxOccurs="1" name="OffPeakBalance" type="s:decimal" />
            <s:element minOccurs="1" maxOccurs="1" name="ParentAnyTimeBalance" type="s:decimal" />
            <s:element minOccurs="1" maxOccurs="1" name="ParentOffPeakBalance" type="s:decimal" />
            <s:element minOccurs="1" maxOccurs="1" name="SubAnyTimeBalance" type="s:decimal" />
            <s:element minOccurs="1" maxOccurs="1" name="SubOffPeakBalance" type="s:decimal" />
            <s:element minOccurs="0" maxOccurs="1" name="ResultText" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="SubAccountGiveCreditResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="SubAccountGiveCreditResult" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="ParentAnyTimeBalance" type="s:decimal" />
            <s:element minOccurs="1" maxOccurs="1" name="ParentOffPeakBalance" type="s:decimal" />
            <s:element minOccurs="1" maxOccurs="1" name="SubAnyTimeBalance" type="s:decimal" />
            <s:element minOccurs="1" maxOccurs="1" name="SubOffPeakBalance" type="s:decimal" />
            <s:element minOccurs="0" maxOccurs="1" name="ResultText" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="GetBalanceSoapIn">
    <wsdl:part name="parameters" element="tns:GetBalance" />
  </wsdl:message>
  <wsdl:message name="GetBalanceSoapOut">
    <wsdl:part name="parameters" element="tns:GetBalanceResponse" />
  </wsdl:message>
  <wsdl:message name="VerifySoapIn">
    <wsdl:part name="parameters" element="tns:Verify" />
  </wsdl:message>
  <wsdl:message name="VerifySoapOut">
    <wsdl:part name="parameters" element="tns:VerifyResponse" />
  </wsdl:message>
  <wsdl:message name="ValidateSoapIn">
    <wsdl:part name="parameters" element="tns:Validate" />
  </wsdl:message>
  <wsdl:message name="ValidateSoapOut">
    <wsdl:part name="parameters" element="tns:ValidateResponse" />
  </wsdl:message>
  <wsdl:message name="OpenSoapIn">
    <wsdl:part name="parameters" element="tns:Open" />
  </wsdl:message>
  <wsdl:message name="OpenSoapOut">
    <wsdl:part name="parameters" element="tns:OpenResponse" />
  </wsdl:message>
  <wsdl:message name="ModifySoapIn">
    <wsdl:part name="parameters" element="tns:Modify" />
  </wsdl:message>
  <wsdl:message name="ModifySoapOut">
    <wsdl:part name="parameters" element="tns:ModifyResponse" />
  </wsdl:message>
  <wsdl:message name="ListSubAccountSoapIn">
    <wsdl:part name="parameters" element="tns:ListSubAccount" />
  </wsdl:message>
  <wsdl:message name="ListSubAccountSoapOut">
    <wsdl:part name="parameters" element="tns:ListSubAccountResponse" />
  </wsdl:message>
  <wsdl:message name="SubAccountGiveCreditSoapIn">
    <wsdl:part name="parameters" element="tns:SubAccountGiveCredit" />
  </wsdl:message>
  <wsdl:message name="SubAccountGiveCreditSoapOut">
    <wsdl:part name="parameters" element="tns:SubAccountGiveCreditResponse" />
  </wsdl:message>
  <wsdl:portType name="AccountSoap">
    <wsdl:operation name="GetBalance">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns an account balance.&lt;br /&gt;&lt;br /&gt;&lt;table border=1 width=900px&gt;&lt;tr&gt;&lt;td align=center width=135&gt;&lt;h5&gt;Parameter&lt;/h5&gt;&lt;/td&gt;&lt;td align=center&gt;&lt;h5&gt;Notes&lt;/h5&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Username:&lt;/td&gt;&lt;td valign=top&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Password:&lt;/td&gt;&lt;td valign=top&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;AnyTimeBalance:&lt;/td&gt;&lt;td valign=top&gt;Provide a decimal data type output parameter. This will be populated with the account's current any time balance.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;OffPeakBalance:&lt;/td&gt;&lt;td valign=top&gt;Provide a decimal data type output parameter. This will be populated with the account's current off peak balance.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;ResultText:&lt;/td&gt;&lt;td valign=top&gt;E.g. Account balance for your.address@your.company.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Code:&lt;/td&gt;&lt;td valign=top&gt;&amp;nbsp;&lt;/td&gt;&amp;nbsp;&lt;/tr&gt;&lt;/table&gt;</wsdl:documentation>
      <wsdl:input message="tns:GetBalanceSoapIn" />
      <wsdl:output message="tns:GetBalanceSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="Verify">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Verifies that an account exists.&lt;br /&gt;&lt;br /&gt;&lt;table border=1 width=900px&gt;&lt;tr&gt;&lt;td align=center width=135&gt;&lt;h5&gt;Parameter&lt;/h5&gt;&lt;/td&gt;&lt;td align=center&gt;&lt;h5&gt;Notes&lt;/h5&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Username:&lt;/td&gt;&lt;td valign=top&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Password:&lt;/td&gt;&lt;td valign=top&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;ResultText:&lt;/td&gt;&lt;td valign=top&gt;E.g. The account for your.address@your.company was successfully verified.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Code:&lt;/td&gt;&lt;td valign=top&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</wsdl:documentation>
      <wsdl:input message="tns:VerifySoapIn" />
      <wsdl:output message="tns:VerifySoapOut" />
    </wsdl:operation>
    <wsdl:operation name="Validate">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Validates an account using the validation codes sent after registering.&lt;br /&gt;&lt;br /&gt;&lt;table border=1  width=900px&gt;&lt;tr&gt;&lt;td align=center width=135&gt;&lt;h5&gt;Parameter&lt;/h5&gt;&lt;/td&gt;&lt;td align=center&gt;&lt;h5&gt;Notes&lt;/h5&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Username:&lt;/td&gt;&lt;td valign=top&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Password:&lt;/td&gt;&lt;td valign=top&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;ValidationCode:&lt;/td&gt;&lt;td valign=top&gt;This is the code sent to you in two sections after you first create an account. The first is sent by email and the second by text message. Simply join the two sections together and enter them into this parameter.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;ResultText:&lt;/td&gt;&lt;td valign=top&gt;E.g. Account for your.address@your.company has been validated.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Code:&lt;/td&gt;&lt;td valign=top&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</wsdl:documentation>
      <wsdl:input message="tns:ValidateSoapIn" />
      <wsdl:output message="tns:ValidateSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="Open">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Opens a new account. If you supply values for the ParentUsername and ParentPassword parameter you will create a sub-account.&lt;br /&gt;&lt;br /&gt;&lt;table border=1  width=900px&gt;&lt;tr&gt;&lt;td align=center width=135&gt;&lt;h5&gt;Parameter&lt;/h5&gt;&lt;/td&gt;&lt;td align=center&gt;&lt;h5&gt;Notes&lt;/h5&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;ParentUsername:&lt;/td&gt;&lt;td valign=top&gt;This should only be populated if you are creating a sub-account.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;ParentPassword:&lt;/td&gt;&lt;td valign=top&gt;This should only be populated if you are creating a sub-account.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Username:&lt;/td&gt;&lt;td valign=top&gt;Provide a valid email address for the account holder.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Password:&lt;/td&gt;&lt;td valign=top&gt;This must be at least 6 or more alphanumeric characters long and contain at least one digit, one upper case and one lower case character.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;FirstName:&lt;/td&gt;&lt;td valign=top&gt;The account holder's first name.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;LastName:&lt;/td&gt;&lt;td valign=top&gt;The account holder's second name.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;MobilePhone:&lt;/td&gt;&lt;td valign=top&gt;Provide a valid mobile device number for the account holder.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Company:&lt;/td&gt;&lt;td valign=top&gt;The account holder's company name.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Phone:&lt;/td&gt;&lt;td valign=top&gt;Provide a valid phone number for the account holder.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;ResultText:&lt;/td&gt;&lt;td valign=top&gt;E.g. Account for main.account@company.com was created successfully.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Code:&lt;/td&gt;&lt;td valign=top&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</wsdl:documentation>
      <wsdl:input message="tns:OpenSoapIn" />
      <wsdl:output message="tns:OpenSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="Modify">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Modifies an accounts details.&lt;br /&gt;&lt;br /&gt;&lt;table border=1  width=900px&gt;&lt;tr&gt;&lt;td align=center width=135&gt;&lt;h5&gt;Parameter&lt;/h5&gt;&lt;/td&gt;&lt;td align=center&gt;&lt;h5&gt;Notes&lt;/h5&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Username:&lt;/td&gt;&lt;td valign=top&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Password:&lt;/td&gt;&lt;td valign=top&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;NewUsername:&lt;/td&gt;&lt;td valign=top&gt;Modified user name. This should be a valid email address. If you do not wish to modify this parameter set it to null.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;NewPassword:&lt;/td&gt;&lt;td valign=top&gt;Modified password. This must be at least 6 or more alphanumeric characters long and contain at least one digit, one upper case and one lower case character.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;FirstName:&lt;/td&gt;&lt;td valign=top&gt;Modified first name. If you do not wish to modify this parameter set it to null.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;LastName:&lt;/td&gt;&lt;td valign=top&gt;Modified second name. If you do not wish to modify this parameter set it to null.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;MobilePhone:&lt;/td&gt;&lt;td valign=top&gt;Modified mobile device number. If you do not wish to modify this parameter set it to null.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Phone:&lt;/td&gt;&lt;td valign=top&gt;Modified phone number. If you do not wish to modify this parameter set it to null.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Company:&lt;/td&gt;&lt;td valign=top&gt;Modified company name. If you do not wish to modify this parameter set it to null.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;ResultText:&lt;/td&gt;&lt;td valign=top&gt;E.g. Account for your.address@your.company was successfully updated.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Code:&lt;/td&gt;&lt;td valign=top&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</wsdl:documentation>
      <wsdl:input message="tns:ModifySoapIn" />
      <wsdl:output message="tns:ModifySoapOut" />
    </wsdl:operation>
    <wsdl:operation name="ListSubAccount">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Lists a users sub-accounts.&lt;br /&gt;&lt;br /&gt;&lt;table border=1  width=900px&gt;&lt;tr&gt;&lt;td align=center width=135&gt;&lt;h5&gt;Parameter&lt;/h5&gt;&lt;/td&gt;&lt;td align=center&gt;&lt;h5&gt;Notes&lt;/h5&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Username:&lt;/td&gt;&lt;td valign=top&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Password:&lt;/td&gt;&lt;td valign=top&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;ReportCSV:&lt;/td&gt;&lt;td valign=top&gt;Provide a string data type output parameter. This will be populated with a CSV standard format string of records containing information about all of the account’s sub-accounts.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;ResultText:&lt;/td&gt;&lt;td valign=top&gt;E.g. Account your.address@your.company has 2 sub accounts.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Code:&lt;/td&gt;&lt;td valign=top&gt;&amp;nbsp;&lt;/td&gt;&amp;nbsp;&lt;/tr&gt;&lt;/table&gt;</wsdl:documentation>
      <wsdl:input message="tns:ListSubAccountSoapIn" />
      <wsdl:output message="tns:ListSubAccountSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="SubAccountGiveCredit">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Transfers credits to a sub-account.&lt;br /&gt;&lt;br /&gt;&lt;table border=1  width=900px&gt;&lt;tr&gt;&lt;td align=center width=135&gt;&lt;h5&gt;Parameter&lt;/h5&gt;&lt;/td&gt;&lt;td align=center&gt;&lt;h5&gt;Notes&lt;/h5&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Username:&lt;/td&gt;&lt;td valign=top&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Password:&lt;/td&gt;&lt;td valign=top&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;SubAccount:&lt;/td&gt;&lt;td valign=top&gt;Provide the user name of the sub-account you wish to transfer credits to.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;AnyTimeBalance:&lt;/td&gt;&lt;td valign=top&gt;Provide a decimal value that represents the number of any time credits you wish to transfer to the sub-account. e.g. 10, -10. A negative balance indicates the transfer of credits back to the parent account from the sub-account.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;OffPeakBalance:&lt;/td&gt;&lt;td valign=top&gt;Provide a decimal value that represents the number of off peak credits you wish to transfer to the sub-account. e.g. 10, -10. A negative balance indicates the transfer of credits back to the parent account from the sub-account.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;ParentAnyTimeBalance:&lt;/td&gt;&lt;td valign=top&gt;Provide a decimal output parameter. This will be populated with the current any time balance on the parent account.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;ParentOffPeakBalance:&lt;/td&gt;&lt;td valign=top&gt;Provide a decimal output parameter. This will be populated with the current off peak balance on the parent account.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;SubAnyTimeBalance:&lt;/td&gt;&lt;td valign=top&gt;Provide a decimal output parameter. This will be populated with the number of any time credits on the selected sub-account.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;SubOffPeakBalance:&lt;/td&gt;&lt;td valign=top&gt;Provide a decimal output parameter. This will be populated with the number of off peak credits on the selected sub-account.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;ResultText:&lt;/td&gt;&lt;td valign=top&gt;E.g. Credits successfully exchanged between your.address@your.company (master account) and sub.account@company.com (sub account).&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=top&gt;Code:&lt;/td&gt;&lt;td valign=top&gt;&amp;nbsp;&lt;/td&gt;&amp;nbsp;&lt;/tr&gt;&lt;/table&gt;</wsdl:documentation>
      <wsdl:input message="tns:SubAccountGiveCreditSoapIn" />
      <wsdl:output message="tns:SubAccountGiveCreditSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="AccountSoap" type="tns:AccountSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetBalance">
      <soap:operation soapAction="http://www.2sms.com/WebServices/2.2/Simple/GetBalance" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="Verify">
      <soap:operation soapAction="http://www.2sms.com/WebServices/2.2/Simple/Verify" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="Validate">
      <soap:operation soapAction="http://www.2sms.com/WebServices/2.2/Simple/Validate" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="Open">
      <soap:operation soapAction="http://www.2sms.com/WebServices/2.2/Simple/Open" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="Modify">
      <soap:operation soapAction="http://www.2sms.com/WebServices/2.2/Simple/Modify" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ListSubAccount">
      <soap:operation soapAction="http://www.2sms.com/WebServices/2.2/Simple/ListSubAccount" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="SubAccountGiveCredit">
      <soap:operation soapAction="http://www.2sms.com/WebServices/2.2/Simple/SubAccountGiveCredit" 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="AccountSoap12" type="tns:AccountSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetBalance">
      <soap12:operation soapAction="http://www.2sms.com/WebServices/2.2/Simple/GetBalance" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="Verify">
      <soap12:operation soapAction="http://www.2sms.com/WebServices/2.2/Simple/Verify" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="Validate">
      <soap12:operation soapAction="http://www.2sms.com/WebServices/2.2/Simple/Validate" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="Open">
      <soap12:operation soapAction="http://www.2sms.com/WebServices/2.2/Simple/Open" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="Modify">
      <soap12:operation soapAction="http://www.2sms.com/WebServices/2.2/Simple/Modify" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ListSubAccount">
      <soap12:operation soapAction="http://www.2sms.com/WebServices/2.2/Simple/ListSubAccount" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="SubAccountGiveCredit">
      <soap12:operation soapAction="http://www.2sms.com/WebServices/2.2/Simple/SubAccountGiveCredit" 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="Account">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">This web service provides methods that allow you to open, manage and report upon accounts and their sub-accounts</wsdl:documentation>
    <wsdl:port name="AccountSoap" binding="tns:AccountSoap">
      <soap:address location="https://www.2sms.com/WebServices/2.2/Simple/Account.asmx" />
    </wsdl:port>
    <wsdl:port name="AccountSoap12" binding="tns:AccountSoap12">
      <soap12:address location="https://www.2sms.com/WebServices/2.2/Simple/Account.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>