PageRenderTime 54ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 2ms

/IronPython_Main/Languages/IronPython/Samples/WinFormsMapPoint/WinForms/MapPointWebServiceHelper/Web References/net.mappoint.staging/Reference.cs

#
C# | 6076 lines | 4419 code | 1010 blank | 647 comment | 148 complexity | 3a10a2e02560dfe9fbbfdcad590b6832 MD5 | raw file
Possible License(s): GPL-2.0, MPL-2.0-no-copyleft-exception, CPL-1.0, CC-BY-SA-3.0, BSD-3-Clause, ISC, AGPL-3.0, LGPL-2.1, Apache-2.0

Large files files are truncated, but you can click here to view the full file

  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. // Runtime Version:2.0.50727.3053
  5. //
  6. // Changes to this file may cause incorrect behavior and will be lost if
  7. // the code is regenerated.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. //
  11. // This source code was auto-generated by Microsoft.VSDesigner, Version 2.0.50727.3053.
  12. //
  13. #pragma warning disable 1591
  14. namespace MapPointWebServiceProject.net.mappoint.staging {
  15. using System.Diagnostics;
  16. using System.Web.Services;
  17. using System.ComponentModel;
  18. using System.Web.Services.Protocols;
  19. using System;
  20. using System.Xml.Serialization;
  21. /// <remarks/>
  22. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  23. [System.Diagnostics.DebuggerStepThroughAttribute()]
  24. [System.ComponentModel.DesignerCategoryAttribute("code")]
  25. [System.Web.Services.WebServiceBindingAttribute(Name="CommonServiceSoap", Namespace="http://s.mappoint.net/mappoint-30/")]
  26. [System.Xml.Serialization.XmlIncludeAttribute(typeof(MapPointConstants))]
  27. [System.Xml.Serialization.XmlIncludeAttribute(typeof(FindResult[]))]
  28. public partial class CommonServiceSoap : System.Web.Services.Protocols.SoapHttpClientProtocol {
  29. private CustomerInfoHeader customerInfoHeaderValueField;
  30. private UserInfoHeader userInfoHeaderValueField;
  31. private System.Threading.SendOrPostCallback GetVersionInfoOperationCompleted;
  32. private System.Threading.SendOrPostCallback GetCountryRegionInfoOperationCompleted;
  33. private System.Threading.SendOrPostCallback GetEntityTypesOperationCompleted;
  34. private System.Threading.SendOrPostCallback GetDataSourceInfoOperationCompleted;
  35. private System.Threading.SendOrPostCallback GetGreatCircleDistancesOperationCompleted;
  36. private bool useDefaultCredentialsSetExplicitly;
  37. /// <remarks/>
  38. public CommonServiceSoap() {
  39. this.Url = "http://findv3.staging.mappoint.net/Find-30/Common.asmx";
  40. if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
  41. this.UseDefaultCredentials = true;
  42. this.useDefaultCredentialsSetExplicitly = false;
  43. }
  44. else {
  45. this.useDefaultCredentialsSetExplicitly = true;
  46. }
  47. }
  48. public CustomerInfoHeader CustomerInfoHeaderValue {
  49. get {
  50. return this.customerInfoHeaderValueField;
  51. }
  52. set {
  53. this.customerInfoHeaderValueField = value;
  54. }
  55. }
  56. public UserInfoHeader UserInfoHeaderValue {
  57. get {
  58. return this.userInfoHeaderValueField;
  59. }
  60. set {
  61. this.userInfoHeaderValueField = value;
  62. }
  63. }
  64. public new string Url {
  65. get {
  66. return base.Url;
  67. }
  68. set {
  69. if ((((this.IsLocalFileSystemWebService(base.Url) == true)
  70. && (this.useDefaultCredentialsSetExplicitly == false))
  71. && (this.IsLocalFileSystemWebService(value) == false))) {
  72. base.UseDefaultCredentials = false;
  73. }
  74. base.Url = value;
  75. }
  76. }
  77. public new bool UseDefaultCredentials {
  78. get {
  79. return base.UseDefaultCredentials;
  80. }
  81. set {
  82. base.UseDefaultCredentials = value;
  83. this.useDefaultCredentialsSetExplicitly = true;
  84. }
  85. }
  86. /// <remarks/>
  87. public event GetVersionInfoCompletedEventHandler GetVersionInfoCompleted;
  88. /// <remarks/>
  89. public event GetCountryRegionInfoCompletedEventHandler GetCountryRegionInfoCompleted;
  90. /// <remarks/>
  91. public event GetEntityTypesCompletedEventHandler GetEntityTypesCompleted;
  92. /// <remarks/>
  93. public event GetDataSourceInfoCompletedEventHandler GetDataSourceInfoCompleted;
  94. /// <remarks/>
  95. public event GetGreatCircleDistancesCompletedEventHandler GetGreatCircleDistancesCompleted;
  96. /// <remarks/>
  97. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoHeaderValue")]
  98. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoHeaderValue")]
  99. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetVersionInfo", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  100. public VersionInfo[] GetVersionInfo() {
  101. object[] results = this.Invoke("GetVersionInfo", new object[0]);
  102. return ((VersionInfo[])(results[0]));
  103. }
  104. /// <remarks/>
  105. public System.IAsyncResult BeginGetVersionInfo(System.AsyncCallback callback, object asyncState) {
  106. return this.BeginInvoke("GetVersionInfo", new object[0], callback, asyncState);
  107. }
  108. /// <remarks/>
  109. public VersionInfo[] EndGetVersionInfo(System.IAsyncResult asyncResult) {
  110. object[] results = this.EndInvoke(asyncResult);
  111. return ((VersionInfo[])(results[0]));
  112. }
  113. /// <remarks/>
  114. public void GetVersionInfoAsync() {
  115. this.GetVersionInfoAsync(null);
  116. }
  117. /// <remarks/>
  118. public void GetVersionInfoAsync(object userState) {
  119. if ((this.GetVersionInfoOperationCompleted == null)) {
  120. this.GetVersionInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetVersionInfoOperationCompleted);
  121. }
  122. this.InvokeAsync("GetVersionInfo", new object[0], this.GetVersionInfoOperationCompleted, userState);
  123. }
  124. private void OnGetVersionInfoOperationCompleted(object arg) {
  125. if ((this.GetVersionInfoCompleted != null)) {
  126. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  127. this.GetVersionInfoCompleted(this, new GetVersionInfoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  128. }
  129. }
  130. /// <remarks/>
  131. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoHeaderValue")]
  132. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoHeaderValue")]
  133. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetCountryRegionInfo", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  134. public CountryRegionInfo[] GetCountryRegionInfo(int[] entityIDs) {
  135. object[] results = this.Invoke("GetCountryRegionInfo", new object[] {
  136. entityIDs});
  137. return ((CountryRegionInfo[])(results[0]));
  138. }
  139. /// <remarks/>
  140. public System.IAsyncResult BeginGetCountryRegionInfo(int[] entityIDs, System.AsyncCallback callback, object asyncState) {
  141. return this.BeginInvoke("GetCountryRegionInfo", new object[] {
  142. entityIDs}, callback, asyncState);
  143. }
  144. /// <remarks/>
  145. public CountryRegionInfo[] EndGetCountryRegionInfo(System.IAsyncResult asyncResult) {
  146. object[] results = this.EndInvoke(asyncResult);
  147. return ((CountryRegionInfo[])(results[0]));
  148. }
  149. /// <remarks/>
  150. public void GetCountryRegionInfoAsync(int[] entityIDs) {
  151. this.GetCountryRegionInfoAsync(entityIDs, null);
  152. }
  153. /// <remarks/>
  154. public void GetCountryRegionInfoAsync(int[] entityIDs, object userState) {
  155. if ((this.GetCountryRegionInfoOperationCompleted == null)) {
  156. this.GetCountryRegionInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCountryRegionInfoOperationCompleted);
  157. }
  158. this.InvokeAsync("GetCountryRegionInfo", new object[] {
  159. entityIDs}, this.GetCountryRegionInfoOperationCompleted, userState);
  160. }
  161. private void OnGetCountryRegionInfoOperationCompleted(object arg) {
  162. if ((this.GetCountryRegionInfoCompleted != null)) {
  163. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  164. this.GetCountryRegionInfoCompleted(this, new GetCountryRegionInfoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  165. }
  166. }
  167. /// <remarks/>
  168. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoHeaderValue")]
  169. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoHeaderValue")]
  170. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetEntityTypes", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  171. public EntityType[] GetEntityTypes(string dataSourceName) {
  172. object[] results = this.Invoke("GetEntityTypes", new object[] {
  173. dataSourceName});
  174. return ((EntityType[])(results[0]));
  175. }
  176. /// <remarks/>
  177. public System.IAsyncResult BeginGetEntityTypes(string dataSourceName, System.AsyncCallback callback, object asyncState) {
  178. return this.BeginInvoke("GetEntityTypes", new object[] {
  179. dataSourceName}, callback, asyncState);
  180. }
  181. /// <remarks/>
  182. public EntityType[] EndGetEntityTypes(System.IAsyncResult asyncResult) {
  183. object[] results = this.EndInvoke(asyncResult);
  184. return ((EntityType[])(results[0]));
  185. }
  186. /// <remarks/>
  187. public void GetEntityTypesAsync(string dataSourceName) {
  188. this.GetEntityTypesAsync(dataSourceName, null);
  189. }
  190. /// <remarks/>
  191. public void GetEntityTypesAsync(string dataSourceName, object userState) {
  192. if ((this.GetEntityTypesOperationCompleted == null)) {
  193. this.GetEntityTypesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetEntityTypesOperationCompleted);
  194. }
  195. this.InvokeAsync("GetEntityTypes", new object[] {
  196. dataSourceName}, this.GetEntityTypesOperationCompleted, userState);
  197. }
  198. private void OnGetEntityTypesOperationCompleted(object arg) {
  199. if ((this.GetEntityTypesCompleted != null)) {
  200. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  201. this.GetEntityTypesCompleted(this, new GetEntityTypesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  202. }
  203. }
  204. /// <remarks/>
  205. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoHeaderValue")]
  206. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoHeaderValue")]
  207. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetDataSourceInfo", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  208. public DataSource[] GetDataSourceInfo(string[] dataSourceNames) {
  209. object[] results = this.Invoke("GetDataSourceInfo", new object[] {
  210. dataSourceNames});
  211. return ((DataSource[])(results[0]));
  212. }
  213. /// <remarks/>
  214. public System.IAsyncResult BeginGetDataSourceInfo(string[] dataSourceNames, System.AsyncCallback callback, object asyncState) {
  215. return this.BeginInvoke("GetDataSourceInfo", new object[] {
  216. dataSourceNames}, callback, asyncState);
  217. }
  218. /// <remarks/>
  219. public DataSource[] EndGetDataSourceInfo(System.IAsyncResult asyncResult) {
  220. object[] results = this.EndInvoke(asyncResult);
  221. return ((DataSource[])(results[0]));
  222. }
  223. /// <remarks/>
  224. public void GetDataSourceInfoAsync(string[] dataSourceNames) {
  225. this.GetDataSourceInfoAsync(dataSourceNames, null);
  226. }
  227. /// <remarks/>
  228. public void GetDataSourceInfoAsync(string[] dataSourceNames, object userState) {
  229. if ((this.GetDataSourceInfoOperationCompleted == null)) {
  230. this.GetDataSourceInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDataSourceInfoOperationCompleted);
  231. }
  232. this.InvokeAsync("GetDataSourceInfo", new object[] {
  233. dataSourceNames}, this.GetDataSourceInfoOperationCompleted, userState);
  234. }
  235. private void OnGetDataSourceInfoOperationCompleted(object arg) {
  236. if ((this.GetDataSourceInfoCompleted != null)) {
  237. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  238. this.GetDataSourceInfoCompleted(this, new GetDataSourceInfoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  239. }
  240. }
  241. /// <remarks/>
  242. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoHeaderValue")]
  243. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoHeaderValue")]
  244. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetGreatCircleDistances", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  245. public double[] GetGreatCircleDistances(LatLong[] latLongs) {
  246. object[] results = this.Invoke("GetGreatCircleDistances", new object[] {
  247. latLongs});
  248. return ((double[])(results[0]));
  249. }
  250. /// <remarks/>
  251. public System.IAsyncResult BeginGetGreatCircleDistances(LatLong[] latLongs, System.AsyncCallback callback, object asyncState) {
  252. return this.BeginInvoke("GetGreatCircleDistances", new object[] {
  253. latLongs}, callback, asyncState);
  254. }
  255. /// <remarks/>
  256. public double[] EndGetGreatCircleDistances(System.IAsyncResult asyncResult) {
  257. object[] results = this.EndInvoke(asyncResult);
  258. return ((double[])(results[0]));
  259. }
  260. /// <remarks/>
  261. public void GetGreatCircleDistancesAsync(LatLong[] latLongs) {
  262. this.GetGreatCircleDistancesAsync(latLongs, null);
  263. }
  264. /// <remarks/>
  265. public void GetGreatCircleDistancesAsync(LatLong[] latLongs, object userState) {
  266. if ((this.GetGreatCircleDistancesOperationCompleted == null)) {
  267. this.GetGreatCircleDistancesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGreatCircleDistancesOperationCompleted);
  268. }
  269. this.InvokeAsync("GetGreatCircleDistances", new object[] {
  270. latLongs}, this.GetGreatCircleDistancesOperationCompleted, userState);
  271. }
  272. private void OnGetGreatCircleDistancesOperationCompleted(object arg) {
  273. if ((this.GetGreatCircleDistancesCompleted != null)) {
  274. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  275. this.GetGreatCircleDistancesCompleted(this, new GetGreatCircleDistancesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  276. }
  277. }
  278. /// <remarks/>
  279. public new void CancelAsync(object userState) {
  280. base.CancelAsync(userState);
  281. }
  282. private bool IsLocalFileSystemWebService(string url) {
  283. if (((url == null)
  284. || (url == string.Empty))) {
  285. return false;
  286. }
  287. System.Uri wsUri = new System.Uri(url);
  288. if (((wsUri.Port >= 1024)
  289. && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
  290. return true;
  291. }
  292. return false;
  293. }
  294. }
  295. /// <remarks/>
  296. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  297. [System.Diagnostics.DebuggerStepThroughAttribute()]
  298. [System.ComponentModel.DesignerCategoryAttribute("code")]
  299. [System.Web.Services.WebServiceBindingAttribute(Name="FindServiceSoap", Namespace="http://s.mappoint.net/mappoint-30/")]
  300. [System.Xml.Serialization.XmlIncludeAttribute(typeof(MapPointConstants))]
  301. [System.Xml.Serialization.XmlIncludeAttribute(typeof(FindResult[]))]
  302. public partial class FindServiceSoap : System.Web.Services.Protocols.SoapHttpClientProtocol {
  303. private CustomerInfoFindHeader customerInfoFindHeaderValueField;
  304. private UserInfoFindHeader userInfoFindHeaderValueField;
  305. private System.Threading.SendOrPostCallback FindOperationCompleted;
  306. private System.Threading.SendOrPostCallback FindAddressOperationCompleted;
  307. private System.Threading.SendOrPostCallback ParseAddressOperationCompleted;
  308. private System.Threading.SendOrPostCallback GetLocationInfoOperationCompleted;
  309. private System.Threading.SendOrPostCallback FindNearbyOperationCompleted;
  310. private System.Threading.SendOrPostCallback FindByPropertyOperationCompleted;
  311. private System.Threading.SendOrPostCallback FindByIDOperationCompleted;
  312. private System.Threading.SendOrPostCallback FindNearRouteOperationCompleted;
  313. private System.Threading.SendOrPostCallback FindPolygonOperationCompleted;
  314. private bool useDefaultCredentialsSetExplicitly;
  315. /// <remarks/>
  316. public FindServiceSoap() {
  317. this.Url = "http://findv3.staging.mappoint.net/Find-30/FindService.asmx";
  318. if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
  319. this.UseDefaultCredentials = true;
  320. this.useDefaultCredentialsSetExplicitly = false;
  321. }
  322. else {
  323. this.useDefaultCredentialsSetExplicitly = true;
  324. }
  325. }
  326. public CustomerInfoFindHeader CustomerInfoFindHeaderValue {
  327. get {
  328. return this.customerInfoFindHeaderValueField;
  329. }
  330. set {
  331. this.customerInfoFindHeaderValueField = value;
  332. }
  333. }
  334. public UserInfoFindHeader UserInfoFindHeaderValue {
  335. get {
  336. return this.userInfoFindHeaderValueField;
  337. }
  338. set {
  339. this.userInfoFindHeaderValueField = value;
  340. }
  341. }
  342. public new string Url {
  343. get {
  344. return base.Url;
  345. }
  346. set {
  347. if ((((this.IsLocalFileSystemWebService(base.Url) == true)
  348. && (this.useDefaultCredentialsSetExplicitly == false))
  349. && (this.IsLocalFileSystemWebService(value) == false))) {
  350. base.UseDefaultCredentials = false;
  351. }
  352. base.Url = value;
  353. }
  354. }
  355. public new bool UseDefaultCredentials {
  356. get {
  357. return base.UseDefaultCredentials;
  358. }
  359. set {
  360. base.UseDefaultCredentials = value;
  361. this.useDefaultCredentialsSetExplicitly = true;
  362. }
  363. }
  364. /// <remarks/>
  365. public event FindCompletedEventHandler FindCompleted;
  366. /// <remarks/>
  367. public event FindAddressCompletedEventHandler FindAddressCompleted;
  368. /// <remarks/>
  369. public event ParseAddressCompletedEventHandler ParseAddressCompleted;
  370. /// <remarks/>
  371. public event GetLocationInfoCompletedEventHandler GetLocationInfoCompleted;
  372. /// <remarks/>
  373. public event FindNearbyCompletedEventHandler FindNearbyCompleted;
  374. /// <remarks/>
  375. public event FindByPropertyCompletedEventHandler FindByPropertyCompleted;
  376. /// <remarks/>
  377. public event FindByIDCompletedEventHandler FindByIDCompleted;
  378. /// <remarks/>
  379. public event FindNearRouteCompletedEventHandler FindNearRouteCompleted;
  380. /// <remarks/>
  381. public event FindPolygonCompletedEventHandler FindPolygonCompleted;
  382. /// <remarks/>
  383. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
  384. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
  385. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/Find", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  386. public FindResults Find(FindSpecification specification) {
  387. object[] results = this.Invoke("Find", new object[] {
  388. specification});
  389. return ((FindResults)(results[0]));
  390. }
  391. /// <remarks/>
  392. public System.IAsyncResult BeginFind(FindSpecification specification, System.AsyncCallback callback, object asyncState) {
  393. return this.BeginInvoke("Find", new object[] {
  394. specification}, callback, asyncState);
  395. }
  396. /// <remarks/>
  397. public FindResults EndFind(System.IAsyncResult asyncResult) {
  398. object[] results = this.EndInvoke(asyncResult);
  399. return ((FindResults)(results[0]));
  400. }
  401. /// <remarks/>
  402. public void FindAsync(FindSpecification specification) {
  403. this.FindAsync(specification, null);
  404. }
  405. /// <remarks/>
  406. public void FindAsync(FindSpecification specification, object userState) {
  407. if ((this.FindOperationCompleted == null)) {
  408. this.FindOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFindOperationCompleted);
  409. }
  410. this.InvokeAsync("Find", new object[] {
  411. specification}, this.FindOperationCompleted, userState);
  412. }
  413. private void OnFindOperationCompleted(object arg) {
  414. if ((this.FindCompleted != null)) {
  415. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  416. this.FindCompleted(this, new FindCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  417. }
  418. }
  419. /// <remarks/>
  420. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
  421. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
  422. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/FindAddress", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  423. public FindResults FindAddress(FindAddressSpecification specification) {
  424. object[] results = this.Invoke("FindAddress", new object[] {
  425. specification});
  426. return ((FindResults)(results[0]));
  427. }
  428. /// <remarks/>
  429. public System.IAsyncResult BeginFindAddress(FindAddressSpecification specification, System.AsyncCallback callback, object asyncState) {
  430. return this.BeginInvoke("FindAddress", new object[] {
  431. specification}, callback, asyncState);
  432. }
  433. /// <remarks/>
  434. public FindResults EndFindAddress(System.IAsyncResult asyncResult) {
  435. object[] results = this.EndInvoke(asyncResult);
  436. return ((FindResults)(results[0]));
  437. }
  438. /// <remarks/>
  439. public void FindAddressAsync(FindAddressSpecification specification) {
  440. this.FindAddressAsync(specification, null);
  441. }
  442. /// <remarks/>
  443. public void FindAddressAsync(FindAddressSpecification specification, object userState) {
  444. if ((this.FindAddressOperationCompleted == null)) {
  445. this.FindAddressOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFindAddressOperationCompleted);
  446. }
  447. this.InvokeAsync("FindAddress", new object[] {
  448. specification}, this.FindAddressOperationCompleted, userState);
  449. }
  450. private void OnFindAddressOperationCompleted(object arg) {
  451. if ((this.FindAddressCompleted != null)) {
  452. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  453. this.FindAddressCompleted(this, new FindAddressCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  454. }
  455. }
  456. /// <remarks/>
  457. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
  458. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
  459. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/ParseAddress", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  460. public Address ParseAddress(string inputAddress, string countryRegion) {
  461. object[] results = this.Invoke("ParseAddress", new object[] {
  462. inputAddress,
  463. countryRegion});
  464. return ((Address)(results[0]));
  465. }
  466. /// <remarks/>
  467. public System.IAsyncResult BeginParseAddress(string inputAddress, string countryRegion, System.AsyncCallback callback, object asyncState) {
  468. return this.BeginInvoke("ParseAddress", new object[] {
  469. inputAddress,
  470. countryRegion}, callback, asyncState);
  471. }
  472. /// <remarks/>
  473. public Address EndParseAddress(System.IAsyncResult asyncResult) {
  474. object[] results = this.EndInvoke(asyncResult);
  475. return ((Address)(results[0]));
  476. }
  477. /// <remarks/>
  478. public void ParseAddressAsync(string inputAddress, string countryRegion) {
  479. this.ParseAddressAsync(inputAddress, countryRegion, null);
  480. }
  481. /// <remarks/>
  482. public void ParseAddressAsync(string inputAddress, string countryRegion, object userState) {
  483. if ((this.ParseAddressOperationCompleted == null)) {
  484. this.ParseAddressOperationCompleted = new System.Threading.SendOrPostCallback(this.OnParseAddressOperationCompleted);
  485. }
  486. this.InvokeAsync("ParseAddress", new object[] {
  487. inputAddress,
  488. countryRegion}, this.ParseAddressOperationCompleted, userState);
  489. }
  490. private void OnParseAddressOperationCompleted(object arg) {
  491. if ((this.ParseAddressCompleted != null)) {
  492. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  493. this.ParseAddressCompleted(this, new ParseAddressCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  494. }
  495. }
  496. /// <remarks/>
  497. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
  498. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
  499. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetLocationInfo", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  500. public Location[] GetLocationInfo(LatLong location, string dataSourceName, GetInfoOptions options) {
  501. object[] results = this.Invoke("GetLocationInfo", new object[] {
  502. location,
  503. dataSourceName,
  504. options});
  505. return ((Location[])(results[0]));
  506. }
  507. /// <remarks/>
  508. public System.IAsyncResult BeginGetLocationInfo(LatLong location, string dataSourceName, GetInfoOptions options, System.AsyncCallback callback, object asyncState) {
  509. return this.BeginInvoke("GetLocationInfo", new object[] {
  510. location,
  511. dataSourceName,
  512. options}, callback, asyncState);
  513. }
  514. /// <remarks/>
  515. public Location[] EndGetLocationInfo(System.IAsyncResult asyncResult) {
  516. object[] results = this.EndInvoke(asyncResult);
  517. return ((Location[])(results[0]));
  518. }
  519. /// <remarks/>
  520. public void GetLocationInfoAsync(LatLong location, string dataSourceName, GetInfoOptions options) {
  521. this.GetLocationInfoAsync(location, dataSourceName, options, null);
  522. }
  523. /// <remarks/>
  524. public void GetLocationInfoAsync(LatLong location, string dataSourceName, GetInfoOptions options, object userState) {
  525. if ((this.GetLocationInfoOperationCompleted == null)) {
  526. this.GetLocationInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetLocationInfoOperationCompleted);
  527. }
  528. this.InvokeAsync("GetLocationInfo", new object[] {
  529. location,
  530. dataSourceName,
  531. options}, this.GetLocationInfoOperationCompleted, userState);
  532. }
  533. private void OnGetLocationInfoOperationCompleted(object arg) {
  534. if ((this.GetLocationInfoCompleted != null)) {
  535. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  536. this.GetLocationInfoCompleted(this, new GetLocationInfoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  537. }
  538. }
  539. /// <remarks/>
  540. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
  541. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
  542. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/FindNearby", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  543. public FindResults FindNearby(FindNearbySpecification specification) {
  544. object[] results = this.Invoke("FindNearby", new object[] {
  545. specification});
  546. return ((FindResults)(results[0]));
  547. }
  548. /// <remarks/>
  549. public System.IAsyncResult BeginFindNearby(FindNearbySpecification specification, System.AsyncCallback callback, object asyncState) {
  550. return this.BeginInvoke("FindNearby", new object[] {
  551. specification}, callback, asyncState);
  552. }
  553. /// <remarks/>
  554. public FindResults EndFindNearby(System.IAsyncResult asyncResult) {
  555. object[] results = this.EndInvoke(asyncResult);
  556. return ((FindResults)(results[0]));
  557. }
  558. /// <remarks/>
  559. public void FindNearbyAsync(FindNearbySpecification specification) {
  560. this.FindNearbyAsync(specification, null);
  561. }
  562. /// <remarks/>
  563. public void FindNearbyAsync(FindNearbySpecification specification, object userState) {
  564. if ((this.FindNearbyOperationCompleted == null)) {
  565. this.FindNearbyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFindNearbyOperationCompleted);
  566. }
  567. this.InvokeAsync("FindNearby", new object[] {
  568. specification}, this.FindNearbyOperationCompleted, userState);
  569. }
  570. private void OnFindNearbyOperationCompleted(object arg) {
  571. if ((this.FindNearbyCompleted != null)) {
  572. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  573. this.FindNearbyCompleted(this, new FindNearbyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  574. }
  575. }
  576. /// <remarks/>
  577. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
  578. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
  579. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/FindByProperty", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  580. public FindResults FindByProperty(FindByPropertySpecification specification) {
  581. object[] results = this.Invoke("FindByProperty", new object[] {
  582. specification});
  583. return ((FindResults)(results[0]));
  584. }
  585. /// <remarks/>
  586. public System.IAsyncResult BeginFindByProperty(FindByPropertySpecification specification, System.AsyncCallback callback, object asyncState) {
  587. return this.BeginInvoke("FindByProperty", new object[] {
  588. specification}, callback, asyncState);
  589. }
  590. /// <remarks/>
  591. public FindResults EndFindByProperty(System.IAsyncResult asyncResult) {
  592. object[] results = this.EndInvoke(asyncResult);
  593. return ((FindResults)(results[0]));
  594. }
  595. /// <remarks/>
  596. public void FindByPropertyAsync(FindByPropertySpecification specification) {
  597. this.FindByPropertyAsync(specification, null);
  598. }
  599. /// <remarks/>
  600. public void FindByPropertyAsync(FindByPropertySpecification specification, object userState) {
  601. if ((this.FindByPropertyOperationCompleted == null)) {
  602. this.FindByPropertyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFindByPropertyOperationCompleted);
  603. }
  604. this.InvokeAsync("FindByProperty", new object[] {
  605. specification}, this.FindByPropertyOperationCompleted, userState);
  606. }
  607. private void OnFindByPropertyOperationCompleted(object arg) {
  608. if ((this.FindByPropertyCompleted != null)) {
  609. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  610. this.FindByPropertyCompleted(this, new FindByPropertyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  611. }
  612. }
  613. /// <remarks/>
  614. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
  615. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
  616. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/FindByID", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  617. public FindResults FindByID(FindByIDSpecification specification) {
  618. object[] results = this.Invoke("FindByID", new object[] {
  619. specification});
  620. return ((FindResults)(results[0]));
  621. }
  622. /// <remarks/>
  623. public System.IAsyncResult BeginFindByID(FindByIDSpecification specification, System.AsyncCallback callback, object asyncState) {
  624. return this.BeginInvoke("FindByID", new object[] {
  625. specification}, callback, asyncState);
  626. }
  627. /// <remarks/>
  628. public FindResults EndFindByID(System.IAsyncResult asyncResult) {
  629. object[] results = this.EndInvoke(asyncResult);
  630. return ((FindResults)(results[0]));
  631. }
  632. /// <remarks/>
  633. public void FindByIDAsync(FindByIDSpecification specification) {
  634. this.FindByIDAsync(specification, null);
  635. }
  636. /// <remarks/>
  637. public void FindByIDAsync(FindByIDSpecification specification, object userState) {
  638. if ((this.FindByIDOperationCompleted == null)) {
  639. this.FindByIDOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFindByIDOperationCompleted);
  640. }
  641. this.InvokeAsync("FindByID", new object[] {
  642. specification}, this.FindByIDOperationCompleted, userState);
  643. }
  644. private void OnFindByIDOperationCompleted(object arg) {
  645. if ((this.FindByIDCompleted != null)) {
  646. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  647. this.FindByIDCompleted(this, new FindByIDCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  648. }
  649. }
  650. /// <remarks/>
  651. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
  652. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
  653. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/FindNearRoute", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  654. public FindResults FindNearRoute(FindNearRouteSpecification specification) {
  655. object[] results = this.Invoke("FindNearRoute", new object[] {
  656. specification});
  657. return ((FindResults)(results[0]));
  658. }
  659. /// <remarks/>
  660. public System.IAsyncResult BeginFindNearRoute(FindNearRouteSpecification specification, System.AsyncCallback callback, object asyncState) {
  661. return this.BeginInvoke("FindNearRoute", new object[] {
  662. specification}, callback, asyncState);
  663. }
  664. /// <remarks/>
  665. public FindResults EndFindNearRoute(System.IAsyncResult asyncResult) {
  666. object[] results = this.EndInvoke(asyncResult);
  667. return ((FindResults)(results[0]));
  668. }
  669. /// <remarks/>
  670. public void FindNearRouteAsync(FindNearRouteSpecification specification) {
  671. this.FindNearRouteAsync(specification, null);
  672. }
  673. /// <remarks/>
  674. public void FindNearRouteAsync(FindNearRouteSpecification specification, object userState) {
  675. if ((this.FindNearRouteOperationCompleted == null)) {
  676. this.FindNearRouteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFindNearRouteOperationCompleted);
  677. }
  678. this.InvokeAsync("FindNearRoute", new object[] {
  679. specification}, this.FindNearRouteOperationCompleted, userState);
  680. }
  681. private void OnFindNearRouteOperationCompleted(object arg) {
  682. if ((this.FindNearRouteCompleted != null)) {
  683. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  684. this.FindNearRouteCompleted(this, new FindNearRouteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  685. }
  686. }
  687. /// <remarks/>
  688. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
  689. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
  690. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/FindPolygon", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  691. public FindResults FindPolygon(FindPolygonSpecification specification) {
  692. object[] results = this.Invoke("FindPolygon", new object[] {
  693. specification});
  694. return ((FindResults)(results[0]));
  695. }
  696. /// <remarks/>
  697. public System.IAsyncResult BeginFindPolygon(FindPolygonSpecification specification, System.AsyncCallback callback, object asyncState) {
  698. return this.BeginInvoke("FindPolygon", new object[] {
  699. specification}, callback, asyncState);
  700. }
  701. /// <remarks/>
  702. public FindResults EndFindPolygon(System.IAsyncResult asyncResult) {
  703. object[] results = this.EndInvoke(asyncResult);
  704. return ((FindResults)(results[0]));
  705. }
  706. /// <remarks/>
  707. public void FindPolygonAsync(FindPolygonSpecification specification) {
  708. this.FindPolygonAsync(specification, null);
  709. }
  710. /// <remarks/>
  711. public void FindPolygonAsync(FindPolygonSpecification specification, object userState) {
  712. if ((this.FindPolygonOperationCompleted == null)) {
  713. this.FindPolygonOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFindPolygonOperationCompleted);
  714. }
  715. this.InvokeAsync("FindPolygon", new object[] {
  716. specification}, this.FindPolygonOperationCompleted, userState);
  717. }
  718. private void OnFindPolygonOperationCompleted(object arg) {
  719. if ((this.FindPolygonCompleted != null)) {
  720. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  721. this.FindPolygonCompleted(this, new FindPolygonCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  722. }
  723. }
  724. /// <remarks/>
  725. public new void CancelAsync(object userState) {
  726. base.CancelAsync(userState);
  727. }
  728. private bool IsLocalFileSystemWebService(string url) {
  729. if (((url == null)
  730. || (url == string.Empty))) {
  731. return false;
  732. }
  733. System.Uri wsUri = new System.Uri(url);
  734. if (((wsUri.Port >= 1024)
  735. && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
  736. return true;
  737. }
  738. return false;
  739. }
  740. }
  741. /// <remarks/>
  742. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  743. [System.Diagnostics.DebuggerStepThroughAttribute()]
  744. [System.ComponentModel.DesignerCategoryAttribute("code")]
  745. [System.Web.Services.WebServiceBindingAttribute(Name="RouteServiceSoap", Namespace="http://s.mappoint.net/mappoint-30/")]
  746. [System.Xml.Serialization.XmlIncludeAttribute(typeof(MapPointConstants))]
  747. [System.Xml.Serialization.XmlIncludeAttribute(typeof(FindResult[]))]
  748. public partial class RouteServiceSoap : System.Web.Services.Protocols.SoapHttpClientProtocol {
  749. private CustomerInfoRouteHeader customerInfoRouteHeaderValueField;
  750. private UserInfoRouteHeader userInfoRouteHeaderValueField;
  751. private System.Threading.SendOrPostCallback CalculateSimpleRouteOperationCompleted;
  752. private System.Threading.SendOrPostCallback CalculateRouteOperationCompleted;
  753. private bool useDefaultCredentialsSetExplicitly;
  754. /// <remarks/>
  755. public RouteServiceSoap() {
  756. this.Url = "http://routev3.staging.mappoint.net/Route-30/RouteService.asmx";
  757. if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
  758. this.UseDefaultCredentials = true;
  759. this.useDefaultCredentialsSetExplicitly = false;
  760. }
  761. else {
  762. this.useDefaultCredentialsSetExplicitly = true;
  763. }
  764. }
  765. public CustomerInfoRouteHeader CustomerInfoRouteHeaderValue {
  766. get {
  767. return this.customerInfoRouteHeaderValueField;
  768. }
  769. set {
  770. this.customerInfoRouteHeaderValueField = value;
  771. }
  772. }
  773. public UserInfoRouteHeader UserInfoRouteHeaderValue {
  774. get {
  775. return this.userInfoRouteHeaderValueField;
  776. }
  777. set {
  778. this.userInfoRouteHeaderValueField = value;
  779. }
  780. }
  781. public new string Url {
  782. get {
  783. return base.Url;
  784. }
  785. set {
  786. if ((((this.IsLocalFileSystemWebService(base.Url) == true)
  787. && (this.useDefaultCredentialsSetExplicitly == false))
  788. && (this.IsLocalFileSystemWebService(value) == false))) {
  789. base.UseDefaultCredentials = false;
  790. }
  791. base.Url = value;
  792. }
  793. }
  794. public new bool UseDefaultCredentials {
  795. get {
  796. return base.UseDefaultCredentials;
  797. }
  798. set {
  799. base.UseDefaultCredentials = value;
  800. this.useDefaultCredentialsSetExplicitly = true;
  801. }
  802. }
  803. /// <remarks/>
  804. public event CalculateSimpleRouteCompletedEventHandler CalculateSimpleRouteCompleted;
  805. /// <remarks/>
  806. public event CalculateRouteCompletedEventHandler CalculateRouteCompleted;
  807. /// <remarks/>
  808. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoRouteHeaderValue")]
  809. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoRouteHeaderValue")]
  810. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.ma…

Large files files are truncated, but you can click here to view the full file