Type.registerNamespace('UX');
UX.LiveQuotes=function() {
UX.LiveQuotes.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
UX.LiveQuotes.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return UX.LiveQuotes._staticInstance.get_path();},
GetQuotes:function(nLangID,sCode,succeededCallback, failedCallback, userContext) {
/// <param name="nLangID" type="Number">System.Int32</param>
/// <param name="sCode" 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(), 'GetQuotes',false,{nLangID:nLangID,sCode:sCode},succeededCallback,failedCallback,userContext); }}
UX.LiveQuotes.registerClass('UX.LiveQuotes',Sys.Net.WebServiceProxy);
UX.LiveQuotes._staticInstance = new UX.LiveQuotes();
UX.LiveQuotes.set_path = function(value) {
UX.LiveQuotes._staticInstance.set_path(value); }
UX.LiveQuotes.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return UX.LiveQuotes._staticInstance.get_path();}
UX.LiveQuotes.set_timeout = function(value) {
UX.LiveQuotes._staticInstance.set_timeout(value); }
UX.LiveQuotes.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return UX.LiveQuotes._staticInstance.get_timeout(); }
UX.LiveQuotes.set_defaultUserContext = function(value) { 
UX.LiveQuotes._staticInstance.set_defaultUserContext(value); }
UX.LiveQuotes.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return UX.LiveQuotes._staticInstance.get_defaultUserContext(); }
UX.LiveQuotes.set_defaultSucceededCallback = function(value) { 
 UX.LiveQuotes._staticInstance.set_defaultSucceededCallback(value); }
UX.LiveQuotes.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return UX.LiveQuotes._staticInstance.get_defaultSucceededCallback(); }
UX.LiveQuotes.set_defaultFailedCallback = function(value) { 
UX.LiveQuotes._staticInstance.set_defaultFailedCallback(value); }
UX.LiveQuotes.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return UX.LiveQuotes._staticInstance.get_defaultFailedCallback(); }
UX.LiveQuotes.set_enableJsonp = function(value) { UX.LiveQuotes._staticInstance.set_enableJsonp(value); }
UX.LiveQuotes.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return UX.LiveQuotes._staticInstance.get_enableJsonp(); }
UX.LiveQuotes.set_jsonpCallbackParameter = function(value) { UX.LiveQuotes._staticInstance.set_jsonpCallbackParameter(value); }
UX.LiveQuotes.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return UX.LiveQuotes._staticInstance.get_jsonpCallbackParameter(); }
UX.LiveQuotes.set_path("/Webservice/LiveQuotes.asmx");
UX.LiveQuotes.GetQuotes= function(nLangID,sCode,onSuccess,onFailed,userContext) {
/// <param name="nLangID" type="Number">System.Int32</param>
/// <param name="sCode" 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>
UX.LiveQuotes._staticInstance.GetQuotes(nLangID,sCode,onSuccess,onFailed,userContext); }

