var StockQuote=function() {
StockQuote.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
StockQuote.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return StockQuote._staticInstance.get_path();},
HelloWorld:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
GetQuote:function(symbol,succeededCallback, failedCallback, userContext) {
/// <param name="symbol" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetQuote',false,{symbol:symbol},succeededCallback,failedCallback,userContext); }}
StockQuote.registerClass('StockQuote',Sys.Net.WebServiceProxy);
StockQuote._staticInstance = new StockQuote();
StockQuote.set_path = function(value) {
StockQuote._staticInstance.set_path(value); }
StockQuote.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return StockQuote._staticInstance.get_path();}
StockQuote.set_timeout = function(value) {
StockQuote._staticInstance.set_timeout(value); }
StockQuote.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return StockQuote._staticInstance.get_timeout(); }
StockQuote.set_defaultUserContext = function(value) { 
StockQuote._staticInstance.set_defaultUserContext(value); }
StockQuote.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return StockQuote._staticInstance.get_defaultUserContext(); }
StockQuote.set_defaultSucceededCallback = function(value) { 
 StockQuote._staticInstance.set_defaultSucceededCallback(value); }
StockQuote.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return StockQuote._staticInstance.get_defaultSucceededCallback(); }
StockQuote.set_defaultFailedCallback = function(value) { 
StockQuote._staticInstance.set_defaultFailedCallback(value); }
StockQuote.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return StockQuote._staticInstance.get_defaultFailedCallback(); }
StockQuote.set_path("/Controls/stockquote.asmx");
StockQuote.HelloWorld= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
StockQuote._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
StockQuote.GetQuote= function(symbol,onSuccess,onFailed,userContext) {
/// <param name="symbol" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
StockQuote._staticInstance.GetQuote(symbol,onSuccess,onFailed,userContext); }
