Building Mobile Enterprise Applications : webMethods Mobile Development Help : Adding Services to a Mobile Project : Adding ARIS Services
Adding ARIS Services
The ARIS Mobile API enables you to receive information about databases and their process models from a remote ARIS instance. ARIS Mobile represents a set of predefined RESTful Services. These services can be used like the normal RESTful services as described in Adding RESTful Services.
To add ARIS Services
1. Ensure the Mobile Project is open in the Outline Editor. For instructions, see Displaying a Mobile Project in the Outline Editor
2. In the Model section of the Outline Editor, expand the project in order to display the Services container node. If the model does not have a Services container node, add one by right-clicking the root application and selecting New Child > Services.
3. Drag the ARIS Services object from the palette of the Outline Editor to the Services node. In the palette, you can find this object, when clicking the header-type node RESTful Services. You can then see it under the heading ARIS Mobile.
4. In the resulting dialog box, specify the following setting:
a. Specify the URL for the machine on which ARIS is running.
b. Either clear the Create all built-in services check box and select the built-in services you want to create, or select this check box if you want to create all built-in services.
5. Click OK to add the child nodes for the built-in services
Tip:  
There are several request parameters that must be x-www-form-urlencoded, e.g. key in the PostLogin service. Mobile Development does support configuring parameters to be url encoded by selecting the option Url Encode for each specific parameter. To avoid appending sensitive information (e.g. username, password) in plain text to the request URL (and therefore showing up in the server log file), the Content Type of the request should be set to x-www-form-urlencoded.
Tip:  
If you want to use the umc/api/tokens service for authentication, you need to set the Content Type of the Request in the PostLogin service to NONE.
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback