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

