Creating the master application

This section describes how to create a master application called RemedyHPDList, using a Remedy AR system 7.0.x HelpDesk Web service example. See “Creating the master application” for detailed procedures, and the UA 8.0 Developer’s Guide for additional information about Web Service Element.

StepsCreating the RemedyHPDList application

  1. From Mobile Web Studio, select Applications in the left pane, select New in the Application Manager Status menu, and click the New button to launch Application Builder.

  2. Click the down arrow to the right of Add, and select Web Service Element.

  3. In the Web Service Element Definition window, make sure the WSDL option is selected, then identify the Web service to use:

    1. In WSDL URL, enter:

      http://itsm7rtm.sybase.com/arsys/WSDL/public/itsm7rtm/HPD_Incident
      Interface_WS
      

      NoteYou must replace the string itsm7rtm with the host name and the middle-tier server specific to your installation.

    2. Click Get Method. Several methods are returned.

    3. In Method, select HPD_IncidentInterface_WSPortType:HelpDesk_QueryList_Service from the list.

  4. Make sure Enable Grid Rules is selected.

  5. In the Web Service Element Definition window, define an XSLT template, which transforms output from XML format to the grid format required to build mobile applications:

    1. Next to Content XSLT, click Create.

    2. In Web Services Output XSLT Template Customization, enter:

      • Name – enter a name such as RemedyHPDList.

      • Roles – click Add All to add all the roles to Assigned Roles.

      • Select Output Parameters for Display – highlight a parameter, such as getListValues.Last_Name. The value displays in Update Output Display Name.

      • Select Node Level That Contains One or More Child Records – click Select.

        The Select Node Level window displays. Select getListValues, and click OK. The selected value displays in the field.

    3. In the Web Services Output XSLT Template Customization Window, click Save, then click OK in the confirmation window.

  6. In Web Service Element Definition window, enter input parameter values:

    1. Click Input to display input parameters.

    2. Make entries in the input parameter fields for which you want to establish default values. This example uses Demo for userName, and 20 for maxLimit.

    3. Click Next.

    4. When you are asked if you want to proceed even though the parameters are not all filled in, click OK.

  7. In the Define window, select Records Contain Labels, accept 1 to indicate the first row is a header row and not a data row, and click Next.

  8. In the Filter window, click Next.

  9. In the Configure Parameters window, configure the input parameters:

    1. Configure – select the boxes for the parameters you want. For this example:

      • _HEADER.AuthenticationInfo.userName

      • HelpDesk_QueryList_Service.maxLimit

      NoteThe selected parameters move to the bottom of the list as they are selected, in the order selected.

    2. Display Name – for the selected parameters, change the name to make it shorter or easier to read:

      • _HEADER.AuthenticationInfo.userName – change to userName.

      • HelpDesk_QueryList_Service.maxLimit – change to maxLimit.

    3. Optional. You could make additional modifications to the configuration parameters using Table 2 as a guide. For this example, accept the default values.

    4. Select Next.

  10. The Preview window displays. In Element Name, enter RemedyHPDList and click Finish.

  11. In Application Builder, click Save.

  12. On the Finish window, make these entries (accept the defaults for all other fields):

    Mobile tab Select Make Available For Disconnected Mobile Devices.

    Roles tab Click Add All to add all roles to this application.

  13. Click Finish to save the application, and click OK to confirm.

  14. Optional. In Application Builder, select Params, then click Next to view the parameter settings. The Configure Parameters window displays, as shown in Figure 19. Click Close to exit Configure Parameters.

    NoteIf you choose to change the parameter settings, be sure to click Save, then return to Application Builder and click Save, and OK to confirm.

    Figure 19: RemedyHPDList parameters – Remedy AR 7.0.x example

  15. In Application Builder, click Close in the upper-right corner to close the window.

  16. When you return to the Mobile Web Studio main window, select New from the Application Builder Status menu. The RemedyHPDList application displays in the detail pane.

  17. In Mobile Web Studio, right-click the RemedyHPDList application in the detail pane, and select Approval Status | Approved.

    Click OK to confirm.

  18. Select Approved from the Application Manager Status menu. You see the newly approved RemedyHPDList application in the detail pane.

  19. Optional. Select RemedyHPDList and click Preview to view the application. Required fields are marked with an asterisk. Close the window to exit.