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

