Type.registerNamespace('vb.WebServices');
vb.WebServices.fn=function() {
vb.WebServices.fn.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
vb.WebServices.fn.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return vb.WebServices.fn._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); },
UrlEncode:function(arg,succeededCallback, failedCallback, userContext) {
/// <param name="arg" 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(), 'UrlEncode',false,{arg:arg},succeededCallback,failedCallback,userContext); },
GetImageUrl:function(text,angle,succeededCallback, failedCallback, userContext) {
/// <param name="text" type="String">System.String</param>
/// <param name="angle" 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(), 'GetImageUrl',false,{text:text,angle:angle},succeededCallback,failedCallback,userContext); }}
vb.WebServices.fn.registerClass('vb.WebServices.fn',Sys.Net.WebServiceProxy);
vb.WebServices.fn._staticInstance = new vb.WebServices.fn();
vb.WebServices.fn.set_path = function(value) {
vb.WebServices.fn._staticInstance.set_path(value); }
vb.WebServices.fn.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return vb.WebServices.fn._staticInstance.get_path();}
vb.WebServices.fn.set_timeout = function(value) {
vb.WebServices.fn._staticInstance.set_timeout(value); }
vb.WebServices.fn.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return vb.WebServices.fn._staticInstance.get_timeout(); }
vb.WebServices.fn.set_defaultUserContext = function(value) { 
vb.WebServices.fn._staticInstance.set_defaultUserContext(value); }
vb.WebServices.fn.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return vb.WebServices.fn._staticInstance.get_defaultUserContext(); }
vb.WebServices.fn.set_defaultSucceededCallback = function(value) { 
 vb.WebServices.fn._staticInstance.set_defaultSucceededCallback(value); }
vb.WebServices.fn.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return vb.WebServices.fn._staticInstance.get_defaultSucceededCallback(); }
vb.WebServices.fn.set_defaultFailedCallback = function(value) { 
vb.WebServices.fn._staticInstance.set_defaultFailedCallback(value); }
vb.WebServices.fn.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return vb.WebServices.fn._staticInstance.get_defaultFailedCallback(); }
vb.WebServices.fn.set_path("/Services/fn.asmx");
vb.WebServices.fn.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>
vb.WebServices.fn._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
vb.WebServices.fn.UrlEncode= function(arg,onSuccess,onFailed,userContext) {
/// <param name="arg" 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>
vb.WebServices.fn._staticInstance.UrlEncode(arg,onSuccess,onFailed,userContext); }
vb.WebServices.fn.GetImageUrl= function(text,angle,onSuccess,onFailed,userContext) {
/// <param name="text" type="String">System.String</param>
/// <param name="angle" 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>
vb.WebServices.fn._staticInstance.GetImageUrl(text,angle,onSuccess,onFailed,userContext); }
