Route web service 的世界
Map Services(WMS,WFS) +Route plan Services(WPS)+ Route drving directions Services(WPS)+ Route Visualization Services(WPS)=Route web services
引用两个服务是,需要将这两个服务,并在一起使用,方法如下:
  1. Open a Visual Studio 2005 command prompt
  2. Change to the directory where the proxy stub file was generated: [Solution Folder]"Web References"WebService
  3. For C#, type in the following (change localhost if the ArcGIS server is on a different machine): "wsdl.exe /Language:cs /verbose /sharetypes /namespace:GeocodeRoute_WebService.WebService /out:Reference.cs http://localhost/arcgis/services/SanFrancisco/MapServer/NAServer.agsx?wsdl http://localhost/arcgis/services/SanFranciscoLocator/GeocodeServer?wsdl"
  4. For VBNet, type in the following (change localhost if the ArcGIS server is on a different machine): "wsdl.exe /Language:VB /verbose /sharetypes /namespace:GeocodeRoute_WebService.WebService /out:Reference.vb http://localhost/arcgis/services/SanFrancisco/MapServer/NAServer.agsx?wsdl http://localhost/arcgis/services/SanFranciscoLocator/GeocodeServer?wsdl"
http://resources.esri.com/help/9.3/ArcGISEngine/dotnet/5A034072-FEC0-439a-A298-DA738BBB465A.htm
posted on 2009-01-22 18:09  xiaomoon  阅读(319)  评论(0)    收藏  举报