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