The code on page 55 in the OpenEdge Development: Mobile Applications book inadvertly left out a variable that must be defined in order for the sample application to create a new progress.data.Session. The variable cMsg needs to be defined and set to "ok" otherwise, the sample appication will not connect and return data.
The correct code is as follows: