var WhereIsWS=function() {
WhereIsWS.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WhereIsWS.prototype={
Upload:function(ProfileID,Latitude,Longitude,Altitude,Speed,Heading,Satellite,GPSSentence,GPSDateTime,NoTrailForToday,succeededCallback, failedCallback, userContext) {
return this._invoke(WhereIsWS.get_path(), 'Upload',false,{ProfileID:ProfileID,Latitude:Latitude,Longitude:Longitude,Altitude:Altitude,Speed:Speed,Heading:Heading,Satellite:Satellite,GPSSentence:GPSSentence,GPSDateTime:GPSDateTime,NoTrailForToday:NoTrailForToday},succeededCallback,failedCallback,userContext); },
GetProfilePhoto:function(ProfileID,succeededCallback, failedCallback, userContext) {
return this._invoke(WhereIsWS.get_path(), 'GetProfilePhoto',false,{ProfileID:ProfileID},succeededCallback,failedCallback,userContext); },
GetLatestPosInfo:function(ProfileID,succeededCallback, failedCallback, userContext) {
return this._invoke(WhereIsWS.get_path(), 'GetLatestPosInfo',false,{ProfileID:ProfileID},succeededCallback,failedCallback,userContext); },
GetAllProfiles:function(succeededCallback, failedCallback, userContext) {
return this._invoke(WhereIsWS.get_path(), 'GetAllProfiles',false,{},succeededCallback,failedCallback,userContext); },
ProfileExists:function(ProfileID,succeededCallback, failedCallback, userContext) {
return this._invoke(WhereIsWS.get_path(), 'ProfileExists',false,{ProfileID:ProfileID},succeededCallback,failedCallback,userContext); },
ProfileExistsGetInfo:function(ProfileID,succeededCallback, failedCallback, userContext) {
return this._invoke(WhereIsWS.get_path(), 'ProfileExistsGetInfo',false,{ProfileID:ProfileID},succeededCallback,failedCallback,userContext); },
NickNameExists:function(NickName,succeededCallback, failedCallback, userContext) {
return this._invoke(WhereIsWS.get_path(), 'NickNameExists',false,{NickName:NickName},succeededCallback,failedCallback,userContext); },
CreateProfile:function(ProfileID,NickName,HomeLatitude,HomeLongitude,succeededCallback, failedCallback, userContext) {
return this._invoke(WhereIsWS.get_path(), 'CreateProfile',false,{ProfileID:ProfileID,NickName:NickName,HomeLatitude:HomeLatitude,HomeLongitude:HomeLongitude},succeededCallback,failedCallback,userContext); },
CreateProfileWithPhoto:function(ProfileID,NickName,ProfilePicture,HomeLatitude,HomeLongitude,succeededCallback, failedCallback, userContext) {
return this._invoke(WhereIsWS.get_path(), 'CreateProfileWithPhoto',false,{ProfileID:ProfileID,NickName:NickName,ProfilePicture:ProfilePicture,HomeLatitude:HomeLatitude,HomeLongitude:HomeLongitude},succeededCallback,failedCallback,userContext); },
DeleteProfile:function(ProfileID,succeededCallback, failedCallback, userContext) {
return this._invoke(WhereIsWS.get_path(), 'DeleteProfile',false,{ProfileID:ProfileID},succeededCallback,failedCallback,userContext); }}
WhereIsWS.registerClass('WhereIsWS',Sys.Net.WebServiceProxy);
WhereIsWS._staticInstance = new WhereIsWS();
WhereIsWS.set_path = function(value) { WhereIsWS._staticInstance._path = value; }
WhereIsWS.get_path = function() { return WhereIsWS._staticInstance._path; }
WhereIsWS.set_timeout = function(value) { WhereIsWS._staticInstance._timeout = value; }
WhereIsWS.get_timeout = function() { return WhereIsWS._staticInstance._timeout; }
WhereIsWS.set_defaultUserContext = function(value) { WhereIsWS._staticInstance._userContext = value; }
WhereIsWS.get_defaultUserContext = function() { return WhereIsWS._staticInstance._userContext; }
WhereIsWS.set_defaultSucceededCallback = function(value) { WhereIsWS._staticInstance._succeeded = value; }
WhereIsWS.get_defaultSucceededCallback = function() { return WhereIsWS._staticInstance._succeeded; }
WhereIsWS.set_defaultFailedCallback = function(value) { WhereIsWS._staticInstance._failed = value; }
WhereIsWS.get_defaultFailedCallback = function() { return WhereIsWS._staticInstance._failed; }
WhereIsWS.set_path("/WhereIsWS.asmx");
WhereIsWS.Upload= function(ProfileID,Latitude,Longitude,Altitude,Speed,Heading,Satellite,GPSSentence,GPSDateTime,NoTrailForToday,onSuccess,onFailed,userContext) {WhereIsWS._staticInstance.Upload(ProfileID,Latitude,Longitude,Altitude,Speed,Heading,Satellite,GPSSentence,GPSDateTime,NoTrailForToday,onSuccess,onFailed,userContext); }
WhereIsWS.GetProfilePhoto= function(ProfileID,onSuccess,onFailed,userContext) {WhereIsWS._staticInstance.GetProfilePhoto(ProfileID,onSuccess,onFailed,userContext); }
WhereIsWS.GetLatestPosInfo= function(ProfileID,onSuccess,onFailed,userContext) {WhereIsWS._staticInstance.GetLatestPosInfo(ProfileID,onSuccess,onFailed,userContext); }
WhereIsWS.GetAllProfiles= function(onSuccess,onFailed,userContext) {WhereIsWS._staticInstance.GetAllProfiles(onSuccess,onFailed,userContext); }
WhereIsWS.ProfileExists= function(ProfileID,onSuccess,onFailed,userContext) {WhereIsWS._staticInstance.ProfileExists(ProfileID,onSuccess,onFailed,userContext); }
WhereIsWS.ProfileExistsGetInfo= function(ProfileID,onSuccess,onFailed,userContext) {WhereIsWS._staticInstance.ProfileExistsGetInfo(ProfileID,onSuccess,onFailed,userContext); }
WhereIsWS.NickNameExists= function(NickName,onSuccess,onFailed,userContext) {WhereIsWS._staticInstance.NickNameExists(NickName,onSuccess,onFailed,userContext); }
WhereIsWS.CreateProfile= function(ProfileID,NickName,HomeLatitude,HomeLongitude,onSuccess,onFailed,userContext) {WhereIsWS._staticInstance.CreateProfile(ProfileID,NickName,HomeLatitude,HomeLongitude,onSuccess,onFailed,userContext); }
WhereIsWS.CreateProfileWithPhoto= function(ProfileID,NickName,ProfilePicture,HomeLatitude,HomeLongitude,onSuccess,onFailed,userContext) {WhereIsWS._staticInstance.CreateProfileWithPhoto(ProfileID,NickName,ProfilePicture,HomeLatitude,HomeLongitude,onSuccess,onFailed,userContext); }
WhereIsWS.DeleteProfile= function(ProfileID,onSuccess,onFailed,userContext) {WhereIsWS._staticInstance.DeleteProfile(ProfileID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(PosInfo) === 'undefined') {
var PosInfo=gtc("PosInfo");
PosInfo.registerClass('PosInfo');
}
if (typeof(ProfileIDInfo) === 'undefined') {
var ProfileIDInfo=gtc("ProfileIDInfo");
ProfileIDInfo.registerClass('ProfileIDInfo');
}
