A few of you have reported to us that all of a sudden your mobile service will just stop responding, and that even ping’ing the wsdl will not yield a result. However in each case, no one has been able to isolate a set of steps that would consistently reproduce the issue. It would simply stop working after a week, sometimes after two weeks and the only way to recover was to restart IIS!
Well we are fairly confident that we have isolated the problem. In all reported cases so far, services are alive and running strong.
The links below detail the cause of the issue and how you can work around it:
Windows Server 2003 http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow&d=32620
Windows XP http://support.esri.com/index.cfm?fa=knowledgebase.techArticles.articleShow&d=32622
If you are experiencing problems with your mobile service – we want to hear about it! Contact your support representative or reply to this blog posting directly! Thank you for your patience and continued support!
If you click on the Samples tab you will find 3 new developer samples that illustrate key capabilities of the Mobile SDK that you have been asking us about:
Live Traffic Sample for Windows Mobile 5 Pocket PC – this sample demonstrates how you can consume a real time feed and display its content on top of your map data using a custom layer.
ESRI Construction Sample for Windows Mobile 5 Pocket PC – this sample illustrates how to use the sketch component to create new features and update the attributes of existing features and synchronize those updates with a map service.
Working With Related Tables – this sample demonstrates how you can edit related tables on a Pocket PC device using ADO.NET and a GeoData web service.
In addition, if you use the Map Cache Extractor sample, you should download the most recent version as we have made significant updates to it. Improvements include implementing a quad-tree algorithm for caching feature layers so that you do not run into server time-outs when caching large volumes of data, and support for raster caching as well.
This is the first of several postings on the topic of map caches and mobile applications. This initial post will discuss how applications developed using the Mobile SDK work cache map data and then present some key strategies for deploying mobile map caches to devices. Subsequent posts will discuss best practices for requesting map data from the server, how you can leverage Microsoft API’s to optimize when you make server requests, and much more.
Critical to applications developed for use in the field is the ability to function both connected and disconnected from a network. When you are out in the field you are often either moving in and out of coverage (wifi, cellular) as you work or for various reasons cannot be connected at all. The architecture of ArcGIS Mobile was designed with the full range of connectivity scenarios in mind…
In order for your mobile application to view and edit maps when not connected to a server, the map cache must be stored locally on the device. The map cache is both a folder full of map data and a component in the SDK. Using the MapCache component, you can request map data from the server and post new and updated features to the server. For a full description of the architecture of the map and map cache components we recommend you start by reading the overview topic.
Disk space may be cheap but access to the data you store on disk is very expensive. For that reason, it is extremely important to consider an appropriate data deployment strategy so that your field workers are always armed with the data they need to be successful in the field.
Some key factors that you should consider when planning your deployment strategy:
- When and how frequently do your field workers need to synchronize with the server?
- How large an extent will they work through when disconnected?
- What map layers are critical to the success of their field work?
- What devices will be used in the field and how will field workers get connected?
In addition to the factors mentioned above, determining the right information and transactional model for the field is critical – do not simply publish maps designed for use in the office. Determine what information in your enterprise database is required to accomplish field projects and design your map with the target device and work conditions in mind.
You can use the Extractor sample that ships with the Mobile SDK to build a map cache that can then be deployed to mobile devices before they leave the office. Once you have created a map cache, you can then copy that map cache to either the main memory on a mobile device or to a storage card. If you have a handful of mobile devices that you need to deploy data to, you can cradle those devices and use Microsoft ActiveSync to copy the cache to the device. If you have a large number of devices to manage, there are several third party tools in the market today that can help you deploy map caches. Microsoft’s Systems Management Server and SOTI’s MobiControl are two mobile deployment applications that we have used.
By deploying map caches to devices when they are in the office, then your application need only use a cellular or wifi connection in the field to post changes made on the device or to retreive a small amount of data for a subset of the layers in the map. This will not only improve the performance of your mobile applications but reduce the high cost of data transfer.
In the next post we will provide examples of how to request data from the server and how to leverage events on the MapCache such as RequestCompleted to manage requests made between the device and the server.
Let us know how connected you are? What is the dominant connectivity scenario faced by field workers in your organization?
Mobile Central is a new site that is written and managed directly by members of the Mobile development team located in Redlands, California. We are really excited to have this opportunity to share with you the most current and relevant information about building mobile applications using the ArcGIS Mobile SDK. Topics we will discuss on the site will range from very detailed discussion of programming best practices to strategies for deploying mobile applications and data to your field workers.
Mobile GIS is an emerging technology and now is the right time to start planning how to bring your GIS to the field using ArcGIS Mobile. Our goal is to make Mobile Central your primary source for information when developing and deploying your mobililty solution.
Stay tuned for more…