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

