Remedy capture strategy

This section describes strategies for creating Remedy applications. The strategy uses advanced web services, and WSDL files to access Remedy Java methods and the Remedy data source. You can create a master Remedy application, and link to insert, update, verification, and login applications, and you can create a web service application to access the Remedy data source.

You can create a JSP template to handle known capture problems, especially for older versions of Remedy. See “Adding JSP-related capabilities” and Chapter 6, “Building Templates” for information.

The following section shows the basic procedure for using the Mobile Web Studio interface to create a Remedy application. See the Mobile Application Development Tutorial for detailed information.

StepsCreating Remedy applications using Web services and WSDL files

  1. From Mobile Web Studio, select Build | Applications, and then click the New button.

  2. On Application Builder, click the down arrow to the right of the Add button, and select Web Service Element.

  3. On the Web Service Element Definition window, identify the WSDL file to use:

  4. If you cannot access the WSDL URL you specified, WSDL files may be kept in a secure location and require a user name and password for access. If necessary, see the Remedy system administrator for access information. You can use the WSDL Authentication option to gain access.

  5. On the Web Service Element Definition window, identify the method to use:

  6. In the Web Service Element Definition window, make sure Enable Grid Rules is selected. This option is required to display the element output in grid format.

    NoteIf you want the Web service application to be viewable on a mobile device, you must check the Enable Grid Rules box.

  7. Optionally on the Web Service Element Definition window, establish the login method for accessing the Remedy datasource:

  8. Optionally on the Web Service Element Definition window, establish BASIC Authentication.

  9. Optionally on the Web Service Element Definition window, specify a custom JSP file:

  10. On the Web Service Element Definition window, search for or define an XSLT template. An XSLT template is used to transform XML format to the grid format required to build mobile applications.

    NoteTo create the Web service element and to see the Web service application on a mobile device, you must define Content XSLT. The Content XSLT template transforms Remedy business object XML to the XML format required by Unwired Accelerator to create the grid format needed for mobile applications. See Chapter 6, “Building Templates” for information about XSLT templates.

  11. Click Create, located to the right of Content XSLT. The Web Services Output XSLT Template Customization window displays.

    NoteIn UA Web services, UA uses cached information for the templates. If you make changes to the cached Content XSLT template, the changes do not take effect until the next Tomcat server restart.

  12. On the Web Services Output XSLT Template Customization window, modify the Content XSLT for the business object:

  13. If you do not have multiple records within the selected object, skip this step.

    If you have multiple records within the object (for example, multiple card codes, employees, service codes, and so forth), select the node level of the repeating record.

    Remedy business objects often contain multiple records at various nodes levels. Unwired Accelerator supports one node level per element, but enables you to specify the node level to use for a specific record. You select the node level to use from the Web Services Output XSLT Template Customization window. If you select more than one node level, the Web Service element will not work.

  14. Click Save to save the template, and OK to confirm then return to the Web Service Element Definition window.

  15. On the Web Service Element Definition window, click Input, and type input for Remedy objects and parameters as needed:

  16. Click Next. The Define window displays. The business object should display in a grid format, indicating the XML transformation from Remedy format to Unwired Accelerator format occurred successfully.

  17. Use the Define, and Filter windows to define the mobile application in the same way you would define any other mobile application.

  18. In Configure Parameters, under Variables, select the boxes for the parameters you need, and configure the CGI Parameters.

    NoteIf you need to modify these parameters, you can do so after you save the application. Access Application Builder, select Params, and modify the parameters.

    Click Next.

  19. On the Preview window, enter an element name, and click Finish.

  20. On the Application Builder window, save the mobile application and click Finish. Optionally, you can click Preview to preview the application, then approve the application.

StepsFinalizing the Remedy application

Once you have saved the mobile application, you can set up CGI parameters, including linked parameters, which enables you to set up chained relationships among field/parameter values. This makes it easier to create and update applications.

For example, on the Remedy Administration GUI, you have many drop-down fields to choose from, and the values of some drop-down fields you select can affect choices in other fields. Linking parameters provides a way to imitate the Remedy Administration GUI, by linking a field to its data source. Additionally, on the mobile device, the drop-down options are available to the user.

  1. In Application Builder, select Params.

  2. In Configure Parameters, click Next.

  3. For the parameter, under Display Type, select Linked from the drop-down list. The Add and Clear buttons appear.

  4. Click Add, then search for and select the application to which to link. This application is the data source. After you save and close the window, the linked application displays in the Component column.

    NoteYou can select multiple parameters and select Add, to link the application to multiple parameters.

  5. Repeat the procedure for any parameters you need; for example, any of the Remedy parameters your application needs.

  6. Make any additional configuration parameter settings you need.

    NoteTo remove a linked parameter, click Clear.

  7. In the Configure Parameters window, click Save.