var ws_SiteQuote=function() {
ws_SiteQuote.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ws_SiteQuote.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ws_SiteQuote._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); },
ShowRandomQuote:function(intTopN,succeededCallback, failedCallback, userContext) {
/// <param name="intTopN" type="Number">System.Int32</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(), 'ShowRandomQuote',false,{intTopN:intTopN},succeededCallback,failedCallback,userContext); },
AddNewSiteQuote: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(), 'AddNewSiteQuote',false,{},succeededCallback,failedCallback,userContext); },
SiteQuoteDetail:function(intSiteQuoteID,succeededCallback, failedCallback, userContext) {
/// <param name="intSiteQuoteID" type="Number">System.Int32</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(), 'SiteQuoteDetail',false,{intSiteQuoteID:intSiteQuoteID},succeededCallback,failedCallback,userContext); },
Save:function(intID,strAuthor,strQuote,succeededCallback, failedCallback, userContext) {
/// <param name="intID" type="Number">System.Int32</param>
/// <param name="strAuthor" type="String">System.String</param>
/// <param name="strQuote" 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(), 'Save',false,{intID:intID,strAuthor:strAuthor,strQuote:strQuote},succeededCallback,failedCallback,userContext); }}
ws_SiteQuote.registerClass('ws_SiteQuote',Sys.Net.WebServiceProxy);
ws_SiteQuote._staticInstance = new ws_SiteQuote();
ws_SiteQuote.set_path = function(value) {
ws_SiteQuote._staticInstance.set_path(value); }
ws_SiteQuote.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return ws_SiteQuote._staticInstance.get_path();}
ws_SiteQuote.set_timeout = function(value) {
ws_SiteQuote._staticInstance.set_timeout(value); }
ws_SiteQuote.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return ws_SiteQuote._staticInstance.get_timeout(); }
ws_SiteQuote.set_defaultUserContext = function(value) { 
ws_SiteQuote._staticInstance.set_defaultUserContext(value); }
ws_SiteQuote.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return ws_SiteQuote._staticInstance.get_defaultUserContext(); }
ws_SiteQuote.set_defaultSucceededCallback = function(value) { 
 ws_SiteQuote._staticInstance.set_defaultSucceededCallback(value); }
ws_SiteQuote.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return ws_SiteQuote._staticInstance.get_defaultSucceededCallback(); }
ws_SiteQuote.set_defaultFailedCallback = function(value) { 
ws_SiteQuote._staticInstance.set_defaultFailedCallback(value); }
ws_SiteQuote.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return ws_SiteQuote._staticInstance.get_defaultFailedCallback(); }
ws_SiteQuote.set_path("/ws_SiteQuote.asmx");
ws_SiteQuote.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>
ws_SiteQuote._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
ws_SiteQuote.ShowRandomQuote= function(intTopN,onSuccess,onFailed,userContext) {
/// <param name="intTopN" type="Number">System.Int32</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>
ws_SiteQuote._staticInstance.ShowRandomQuote(intTopN,onSuccess,onFailed,userContext); }
ws_SiteQuote.AddNewSiteQuote= 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>
ws_SiteQuote._staticInstance.AddNewSiteQuote(onSuccess,onFailed,userContext); }
ws_SiteQuote.SiteQuoteDetail= function(intSiteQuoteID,onSuccess,onFailed,userContext) {
/// <param name="intSiteQuoteID" type="Number">System.Int32</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>
ws_SiteQuote._staticInstance.SiteQuoteDetail(intSiteQuoteID,onSuccess,onFailed,userContext); }
ws_SiteQuote.Save= function(intID,strAuthor,strQuote,onSuccess,onFailed,userContext) {
/// <param name="intID" type="Number">System.Int32</param>
/// <param name="strAuthor" type="String">System.String</param>
/// <param name="strQuote" 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>
ws_SiteQuote._staticInstance.Save(intID,strAuthor,strQuote,onSuccess,onFailed,userContext); }
