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

