Type.registerNamespace('GRM.service');
GRM.service.grmService=function() {
GRM.service.grmService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GRM.service.grmService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return GRM.service.grmService._staticInstance.get_path();},
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
GetPromoUrl:function(fileName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPromoUrl',false,{fileName:fileName},succeededCallback,failedCallback,userContext); }}
GRM.service.grmService.registerClass('GRM.service.grmService',Sys.Net.WebServiceProxy);
GRM.service.grmService._staticInstance = new GRM.service.grmService();
GRM.service.grmService.set_path = function(value) { GRM.service.grmService._staticInstance.set_path(value); }
GRM.service.grmService.get_path = function() { return GRM.service.grmService._staticInstance.get_path(); }
GRM.service.grmService.set_timeout = function(value) { GRM.service.grmService._staticInstance.set_timeout(value); }
GRM.service.grmService.get_timeout = function() { return GRM.service.grmService._staticInstance.get_timeout(); }
GRM.service.grmService.set_defaultUserContext = function(value) { GRM.service.grmService._staticInstance.set_defaultUserContext(value); }
GRM.service.grmService.get_defaultUserContext = function() { return GRM.service.grmService._staticInstance.get_defaultUserContext(); }
GRM.service.grmService.set_defaultSucceededCallback = function(value) { GRM.service.grmService._staticInstance.set_defaultSucceededCallback(value); }
GRM.service.grmService.get_defaultSucceededCallback = function() { return GRM.service.grmService._staticInstance.get_defaultSucceededCallback(); }
GRM.service.grmService.set_defaultFailedCallback = function(value) { GRM.service.grmService._staticInstance.set_defaultFailedCallback(value); }
GRM.service.grmService.get_defaultFailedCallback = function() { return GRM.service.grmService._staticInstance.get_defaultFailedCallback(); }
GRM.service.grmService.set_path("/service/grmService.asmx");
GRM.service.grmService.HelloWorld= function(onSuccess,onFailed,userContext) {GRM.service.grmService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
GRM.service.grmService.GetPromoUrl= function(fileName,onSuccess,onFailed,userContext) {GRM.service.grmService._staticInstance.GetPromoUrl(fileName,onSuccess,onFailed,userContext); }
