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