OpenEdge Development: Mobile Applications - Product ...
OpenEdge Development: Mobile Applications - Product ...
OpenEdge Development: Mobile Applications - Product ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Chapter 3: Creating <strong>Mobile</strong> Services<br />
Publishing <strong>Mobile</strong> services for testing<br />
When you create a <strong>Mobile</strong> project in Developer Studio, if you choose the option to<br />
publish changes immediately, as long as the OE Web Server that you have selected<br />
for a <strong>Mobile</strong> service is running, when you create or in any way update the <strong>Mobile</strong><br />
service and its resources, the Web server publishes the service.<br />
If the OE Web Server is not running when you create the <strong>Mobile</strong> service, or you did not<br />
select the project option to publish changes immediately, you can use the Servers view<br />
to publish the service by first starting the AppServer for the project (right-click on the<br />
AppServer and select Start). Once the AppServer is started and synchronized, you can<br />
start the OE Web Server instance for the <strong>Mobile</strong> service (right-click on the OE Web<br />
Server and select Start). Once the OE Web Server is started and synchronized,<br />
right-click on it and select Publish, and any <strong>Mobile</strong> services not yet published should<br />
publish. Developer Studio publishes each <strong>Mobile</strong> service in the project as a separate<br />
WAR file, with the name of the <strong>Mobile</strong> service as its filename, to the selected OE Web<br />
Server for testing.<br />
To test a published <strong>Mobile</strong> service, you either need to write a <strong>Mobile</strong> App or use a<br />
REST client, such as the Postman REST Client, and use the absolute URIs of <strong>Mobile</strong><br />
operations to send HTTP requests to execute those operations. For more information,<br />
see the “URIs for accessing <strong>Mobile</strong> Web applications, services, and resources” section<br />
on page 81.<br />
For information on deploying <strong>Mobile</strong> services for production, see Chapter 5, “Deploying<br />
<strong>Mobile</strong> <strong>Applications</strong>.”<br />
80 <strong>OpenEdge</strong> ® <strong>Development</strong>: <strong>Mobile</strong> <strong>Applications</strong>