|
Jack's Hack for the month of July, 2004: Location SDK Adds LIF-MLP The Open Mobile Alliance (OMA) Mobile Location Protocol (MLP) interface is an XML interface that enables communication between location-based services and location infrastructure (such as LSt). The interface was developed by the Location Interoperability Foruman international consortium that promotes open standards and interoperability for mobile location services. Since OMA (at the time under the responsibility of LIF- Location Interoperability Forum) first created MLP, it has released updated versions. Location Studio 2.1 supports versions 1.2 and 3.0.0, of which the 3.0.0 version is the most stable and recommended version. Openwave was the first non-founding member to join the Location Interoperability Forum. Recently, the Open Mobile Alliance (OMA) standards body absorbed the Location Interoperability Forum. Openwave's Location Studio was one of the first location platforms to support MLP for location requests. Supporting MLP is important for Openwave developers as it ensures the widest possible compatibility in the industry. Location Studio supports two of the top-level elements in
the
The optional element The optional The requestor element, with its sub-element
The MLP interface supports the use of either North American
Mobile Identification Number (MIN) or GSM Mobile Subscriber ISDN (MSISDN)
as the Mobile Subscriber Identifier (MSID). A subscriber's MIN or MSISDN
is simply his or her mobile telephone number. By default the expected MSID
is an MSISDN. In order to specify the MSID as a MIN, MIN must be listed as
the MSID type using the
In some operator networks it is also common practice to support subscriber anonymity through the use of an opaque subscriber identifier. The different LSt IDs are mapped into different ID types in MLP 3.0.0, as described in Table 6.
The syntax to use, for example, the OSID as the mobile station identifier in LSt MLP 3.0.0, is as follows:
The Location Response This section describes the location response sent from the system back to the client application using MLP 3.0.0 in response to a location request. Location Accuracy The following elements
of the response illustrate the returned location information and the
radius of uncertainty There are many shapes
defined in MLP, but Location Studio 2.1 always uses the
Browser Test Harness Direct your browser to the following:http://loc2.openwave.com:8080/lst_test/client/index.htm and click the MLP300 Servlet link.
By default, the page contains a form with the following empty XML request document:
Cut and paste from the Examples section of The Location Studio MLP 3.0.0 Developer's Guide document to insert XML requests covering a variety of common request scenarios.
HTTP Post URL The browser test harness described previously simply takes
the XML and posts it to the actual MLP3.0.0 request interface of LSt.
After you have verified your XML request is valid and you know what
response to expect, you can test your application by posting to the
following url: |