Type.registerNamespace('pkkd');
pkkd.PKDoctor=function() {
pkkd.PKDoctor.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
pkkd.PKDoctor.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return pkkd.PKDoctor._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); },
Add:function(a,b,succeededCallback, failedCallback, userContext) {
/// <param name="a" type="Number">System.Int32</param>
/// <param name="b" 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(), 'Add',false,{a:a,b:b},succeededCallback,failedCallback,userContext); },
GetStateLists: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(), 'GetStateLists',false,{},succeededCallback,failedCallback,userContext); },
FillCity:function(state_code,succeededCallback, failedCallback, userContext) {
/// <param name="state_code" 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(), 'FillCity',false,{state_code:state_code},succeededCallback,failedCallback,userContext); },
GetTDSForOIS:function(strUerName,strPassword,strPincode,watersource,succeededCallback, failedCallback, userContext) {
/// <param name="strUerName" type="String">System.String</param>
/// <param name="strPassword" type="String">System.String</param>
/// <param name="strPincode" type="String">System.String</param>
/// <param name="watersource" 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(), 'GetTDSForOIS',false,{strUerName:strUerName,strPassword:strPassword,strPincode:strPincode,watersource:watersource},succeededCallback,failedCallback,userContext); },
GetTDS:function(strUerName,strPassword,strPincode,watersource,succeededCallback, failedCallback, userContext) {
/// <param name="strUerName" type="String">System.String</param>
/// <param name="strPassword" type="String">System.String</param>
/// <param name="strPincode" type="String">System.String</param>
/// <param name="watersource" 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(), 'GetTDS',false,{strUerName:strUerName,strPassword:strPassword,strPincode:strPincode,watersource:watersource},succeededCallback,failedCallback,userContext); },
GetStateList: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(), 'GetStateList',false,{},succeededCallback,failedCallback,userContext); },
GetCityList:function(StatesID,succeededCallback, failedCallback, userContext) {
/// <param name="StatesID" 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(), 'GetCityList',false,{StatesID:StatesID},succeededCallback,failedCallback,userContext); },
GetStateListDataSet: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(), 'GetStateListDataSet',false,{},succeededCallback,failedCallback,userContext); },
InsertWaterDoctorData:function(pincode,Name,watersource,MobileNo,state,city,email,succeededCallback, failedCallback, userContext) {
/// <param name="pincode" type="String">System.String</param>
/// <param name="Name" type="String">System.String</param>
/// <param name="watersource" type="String">System.String</param>
/// <param name="MobileNo" type="String">System.String</param>
/// <param name="state" type="String">System.String</param>
/// <param name="city" type="String">System.String</param>
/// <param name="email" 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(), 'InsertWaterDoctorData',false,{pincode:pincode,Name:Name,watersource:watersource,MobileNo:MobileNo,state:state,city:city,email:email},succeededCallback,failedCallback,userContext); }}
pkkd.PKDoctor.registerClass('pkkd.PKDoctor',Sys.Net.WebServiceProxy);
pkkd.PKDoctor._staticInstance = new pkkd.PKDoctor();
pkkd.PKDoctor.set_path = function(value) {
pkkd.PKDoctor._staticInstance.set_path(value); }
pkkd.PKDoctor.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return pkkd.PKDoctor._staticInstance.get_path();}
pkkd.PKDoctor.set_timeout = function(value) {
pkkd.PKDoctor._staticInstance.set_timeout(value); }
pkkd.PKDoctor.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return pkkd.PKDoctor._staticInstance.get_timeout(); }
pkkd.PKDoctor.set_defaultUserContext = function(value) { 
pkkd.PKDoctor._staticInstance.set_defaultUserContext(value); }
pkkd.PKDoctor.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return pkkd.PKDoctor._staticInstance.get_defaultUserContext(); }
pkkd.PKDoctor.set_defaultSucceededCallback = function(value) { 
 pkkd.PKDoctor._staticInstance.set_defaultSucceededCallback(value); }
pkkd.PKDoctor.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return pkkd.PKDoctor._staticInstance.get_defaultSucceededCallback(); }
pkkd.PKDoctor.set_defaultFailedCallback = function(value) { 
pkkd.PKDoctor._staticInstance.set_defaultFailedCallback(value); }
pkkd.PKDoctor.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return pkkd.PKDoctor._staticInstance.get_defaultFailedCallback(); }
pkkd.PKDoctor.set_path("/PKDoctor.asmx");
pkkd.PKDoctor.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>
pkkd.PKDoctor._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
pkkd.PKDoctor.Add= function(a,b,onSuccess,onFailed,userContext) {
/// <param name="a" type="Number">System.Int32</param>
/// <param name="b" 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>
pkkd.PKDoctor._staticInstance.Add(a,b,onSuccess,onFailed,userContext); }
pkkd.PKDoctor.GetStateLists= 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>
pkkd.PKDoctor._staticInstance.GetStateLists(onSuccess,onFailed,userContext); }
pkkd.PKDoctor.FillCity= function(state_code,onSuccess,onFailed,userContext) {
/// <param name="state_code" 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>
pkkd.PKDoctor._staticInstance.FillCity(state_code,onSuccess,onFailed,userContext); }
pkkd.PKDoctor.GetTDSForOIS= function(strUerName,strPassword,strPincode,watersource,onSuccess,onFailed,userContext) {
/// <param name="strUerName" type="String">System.String</param>
/// <param name="strPassword" type="String">System.String</param>
/// <param name="strPincode" type="String">System.String</param>
/// <param name="watersource" 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>
pkkd.PKDoctor._staticInstance.GetTDSForOIS(strUerName,strPassword,strPincode,watersource,onSuccess,onFailed,userContext); }
pkkd.PKDoctor.GetTDS= function(strUerName,strPassword,strPincode,watersource,onSuccess,onFailed,userContext) {
/// <param name="strUerName" type="String">System.String</param>
/// <param name="strPassword" type="String">System.String</param>
/// <param name="strPincode" type="String">System.String</param>
/// <param name="watersource" 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>
pkkd.PKDoctor._staticInstance.GetTDS(strUerName,strPassword,strPincode,watersource,onSuccess,onFailed,userContext); }
pkkd.PKDoctor.GetStateList= 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>
pkkd.PKDoctor._staticInstance.GetStateList(onSuccess,onFailed,userContext); }
pkkd.PKDoctor.GetCityList= function(StatesID,onSuccess,onFailed,userContext) {
/// <param name="StatesID" 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>
pkkd.PKDoctor._staticInstance.GetCityList(StatesID,onSuccess,onFailed,userContext); }
pkkd.PKDoctor.GetStateListDataSet= 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>
pkkd.PKDoctor._staticInstance.GetStateListDataSet(onSuccess,onFailed,userContext); }
pkkd.PKDoctor.InsertWaterDoctorData= function(pincode,Name,watersource,MobileNo,state,city,email,onSuccess,onFailed,userContext) {
/// <param name="pincode" type="String">System.String</param>
/// <param name="Name" type="String">System.String</param>
/// <param name="watersource" type="String">System.String</param>
/// <param name="MobileNo" type="String">System.String</param>
/// <param name="state" type="String">System.String</param>
/// <param name="city" type="String">System.String</param>
/// <param name="email" 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>
pkkd.PKDoctor._staticInstance.InsertWaterDoctorData(pincode,Name,watersource,MobileNo,state,city,email,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(StateList) === 'undefined') {
var StateList=gtc("StateList");
StateList.registerClass('StateList');
}
if (typeof(CityList) === 'undefined') {
var CityList=gtc("CityList");
CityList.registerClass('CityList');
}
Type.registerNamespace('System.Data');
if (typeof(System.Data.DataTable) === 'undefined') {
System.Data.DataTable=gtc("System.Data.DataTable");
System.Data.DataTable.registerClass('System.Data.DataTable');
}

