function Requests() {
    /// <summary>Requests "class". This function returns an object which is used to generate SOAP XML request data</summary>
    /// <returns type="Object">Object for generating SOAP XML request data</returns>
    var self = {};




    self.ValidateLogin = function (incoming) {
        /// <summary>This function generates request data for the "AuthenticateUser" operation of WMS</summary>
        /// <param name="username" type="String">username used for logging in</param>
        /// <param name="password" type="String">password used for logging in</param>
        /// <param name="warehouse" type="String">warehouse id in the format XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</param>
        /// <returns type="String">SOAP XML request string</returns>
        return '\
<?xml version="1.0" encoding="utf-8"?>\
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">\
  <soap12:Body>\
    <ValidateLogin xmlns="http://tempuri.org/">\
      <incoming>'+ incoming + '</incoming>\
    </ValidadeLogin>\
  </soap12:Body>\
</soap12:Envelope>';
    }

    return self;
}

var requests = Requests();