Designer 10.7 | webMethods Mobile Development | 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 provides 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 so that you view 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. You can url encode parameters inMobile Development if you select the option Url Encode for each specific parameter. To avoid that sensitive information (e.g., user name, password) is appended in plain text to the request URL (and therefore shown 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 must set the Content Type of the request in the PostLogin service to NONE.
Related Topics