Type.registerNamespace('UnitedMicro_2.WebServices');
UnitedMicro_2.WebServices.GeneralService=function() {
UnitedMicro_2.WebServices.GeneralService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
UnitedMicro_2.WebServices.GeneralService.prototype={
validateUser:function(username,password,succeededCallback, failedCallback, userContext) {
return this._invoke(UnitedMicro_2.WebServices.GeneralService.get_path(), 'validateUser',true,{username:username,password:password},succeededCallback,failedCallback,userContext); },
setSession:function(sessionName,sessionValue,succeededCallback, failedCallback, userContext) {
return this._invoke(UnitedMicro_2.WebServices.GeneralService.get_path(), 'setSession',true,{sessionName:sessionName,sessionValue:sessionValue},succeededCallback,failedCallback,userContext); },
forgotPassword:function(Email,Website,succeededCallback, failedCallback, userContext) {
return this._invoke(UnitedMicro_2.WebServices.GeneralService.get_path(), 'forgotPassword',true,{Email:Email,Website:Website},succeededCallback,failedCallback,userContext); },
SendErrorMail:function(ex,succeededCallback, failedCallback, userContext) {
return this._invoke(UnitedMicro_2.WebServices.GeneralService.get_path(), 'SendErrorMail',true,{ex:ex},succeededCallback,failedCallback,userContext); },
populateShippingMethods:function(zipCode,iOrderID,subTotal,shipService,currentService,isFreeGroundShipping,succeededCallback, failedCallback, userContext) {
return this._invoke(UnitedMicro_2.WebServices.GeneralService.get_path(), 'populateShippingMethods',true,{zipCode:zipCode,iOrderID:iOrderID,subTotal:subTotal,shipService:shipService,currentService:currentService,isFreeGroundShipping:isFreeGroundShipping},succeededCallback,failedCallback,userContext); },
populateShippingMethodsForRad:function(context,succeededCallback, failedCallback, userContext) {
return this._invoke(UnitedMicro_2.WebServices.GeneralService.get_path(), 'populateShippingMethodsForRad',false,{context:context},succeededCallback,failedCallback,userContext); },
validateCompanyExists:function(companyName,companyEmail,succeededCallback, failedCallback, userContext) {
return this._invoke(UnitedMicro_2.WebServices.GeneralService.get_path(), 'validateCompanyExists',true,{companyName:companyName,companyEmail:companyEmail},succeededCallback,failedCallback,userContext); },
getProductSelectionInfo:function(pricingParams,WebSiteID,succeededCallback, failedCallback, userContext) {
return this._invoke(UnitedMicro_2.WebServices.GeneralService.get_path(), 'getProductSelectionInfo',true,{pricingParams:pricingParams,WebSiteID:WebSiteID},succeededCallback,failedCallback,userContext); },
getTurnaroundInfo:function(productID,turnaroundTime,succeededCallback, failedCallback, userContext) {
return this._invoke(UnitedMicro_2.WebServices.GeneralService.get_path(), 'getTurnaroundInfo',true,{productID:productID,turnaroundTime:turnaroundTime},succeededCallback,failedCallback,userContext); }}
UnitedMicro_2.WebServices.GeneralService.registerClass('UnitedMicro_2.WebServices.GeneralService',Sys.Net.WebServiceProxy);
UnitedMicro_2.WebServices.GeneralService._staticInstance = new UnitedMicro_2.WebServices.GeneralService();
UnitedMicro_2.WebServices.GeneralService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; UnitedMicro_2.WebServices.GeneralService._staticInstance._path = value; }
UnitedMicro_2.WebServices.GeneralService.get_path = function() { return UnitedMicro_2.WebServices.GeneralService._staticInstance._path; }
UnitedMicro_2.WebServices.GeneralService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
UnitedMicro_2.WebServices.GeneralService._staticInstance._timeout = value; }
UnitedMicro_2.WebServices.GeneralService.get_timeout = function() { 
return UnitedMicro_2.WebServices.GeneralService._staticInstance._timeout; }
UnitedMicro_2.WebServices.GeneralService.set_defaultUserContext = function(value) { 
UnitedMicro_2.WebServices.GeneralService._staticInstance._userContext = value; }
UnitedMicro_2.WebServices.GeneralService.get_defaultUserContext = function() { 
return UnitedMicro_2.WebServices.GeneralService._staticInstance._userContext; }
UnitedMicro_2.WebServices.GeneralService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; UnitedMicro_2.WebServices.GeneralService._staticInstance._succeeded = value; }
UnitedMicro_2.WebServices.GeneralService.get_defaultSucceededCallback = function() { 
return UnitedMicro_2.WebServices.GeneralService._staticInstance._succeeded; }
UnitedMicro_2.WebServices.GeneralService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; UnitedMicro_2.WebServices.GeneralService._staticInstance._failed = value; }
UnitedMicro_2.WebServices.GeneralService.get_defaultFailedCallback = function() { 
return UnitedMicro_2.WebServices.GeneralService._staticInstance._failed; }
UnitedMicro_2.WebServices.GeneralService.set_path("/WebServices/GeneralService.asmx");
UnitedMicro_2.WebServices.GeneralService.validateUser= function(username,password,onSuccess,onFailed,userContext) {UnitedMicro_2.WebServices.GeneralService._staticInstance.validateUser(username,password,onSuccess,onFailed,userContext); }
UnitedMicro_2.WebServices.GeneralService.setSession= function(sessionName,sessionValue,onSuccess,onFailed,userContext) {UnitedMicro_2.WebServices.GeneralService._staticInstance.setSession(sessionName,sessionValue,onSuccess,onFailed,userContext); }
UnitedMicro_2.WebServices.GeneralService.forgotPassword= function(Email,Website,onSuccess,onFailed,userContext) {UnitedMicro_2.WebServices.GeneralService._staticInstance.forgotPassword(Email,Website,onSuccess,onFailed,userContext); }
UnitedMicro_2.WebServices.GeneralService.SendErrorMail= function(ex,onSuccess,onFailed,userContext) {UnitedMicro_2.WebServices.GeneralService._staticInstance.SendErrorMail(ex,onSuccess,onFailed,userContext); }
UnitedMicro_2.WebServices.GeneralService.populateShippingMethods= function(zipCode,iOrderID,subTotal,shipService,currentService,isFreeGroundShipping,onSuccess,onFailed,userContext) {UnitedMicro_2.WebServices.GeneralService._staticInstance.populateShippingMethods(zipCode,iOrderID,subTotal,shipService,currentService,isFreeGroundShipping,onSuccess,onFailed,userContext); }
UnitedMicro_2.WebServices.GeneralService.populateShippingMethodsForRad= function(context,onSuccess,onFailed,userContext) {UnitedMicro_2.WebServices.GeneralService._staticInstance.populateShippingMethodsForRad(context,onSuccess,onFailed,userContext); }
UnitedMicro_2.WebServices.GeneralService.validateCompanyExists= function(companyName,companyEmail,onSuccess,onFailed,userContext) {UnitedMicro_2.WebServices.GeneralService._staticInstance.validateCompanyExists(companyName,companyEmail,onSuccess,onFailed,userContext); }
UnitedMicro_2.WebServices.GeneralService.getProductSelectionInfo= function(pricingParams,WebSiteID,onSuccess,onFailed,userContext) {UnitedMicro_2.WebServices.GeneralService._staticInstance.getProductSelectionInfo(pricingParams,WebSiteID,onSuccess,onFailed,userContext); }
UnitedMicro_2.WebServices.GeneralService.getTurnaroundInfo= function(productID,turnaroundTime,onSuccess,onFailed,userContext) {UnitedMicro_2.WebServices.GeneralService._staticInstance.getTurnaroundInfo(productID,turnaroundTime,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('System');
if (typeof(System.Exception) === 'undefined') {
System.Exception=gtc("System.Exception");
System.Exception.registerClass('System.Exception');
}
Type.registerNamespace('Telerik.Web.UI');
if (typeof(Telerik.Web.UI.RadComboBoxItemData) === 'undefined') {
Telerik.Web.UI.RadComboBoxItemData=gtc("Telerik.Web.UI.RadComboBoxItemData");
Telerik.Web.UI.RadComboBoxItemData.registerClass('Telerik.Web.UI.RadComboBoxItemData');
}
