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

