9 - Optionally configuring the RPM Web Services runtime parameters

This section will guide you through the steps required to configure the optional parameters used by the Rpm Web Services Api at runtime. At a conceptual level, we are mapping a WS API class to a list of variables which are used to control its behavior. All these parameters have default working values. We will be changing webServicesUseSessionTimeout from its default value of true to false , effectively turning off the session timeout feature. To override any other variable, start with step 8. Make sure that the JNDI name, variable name and its value are all coherent with the list of runtime parameters.

For a list of all the runtime parameters available, as well as their default values, please see this list

  1. Under the Resources section on the left-hand side of the screen, choose Resource Envrionment Providers, then click on New
    Web Services Resource environment entries
  2. For the Name field, input StringProvider, then click on Ok
    Web Services Resource environment entries
  3. Click on the new Resource Environment provider we have just created : StringProvider.
    Web Services Resource environment entries
  4. On the right-hand side of the screen, under the Additional Properties section, click on Referenceables
    Web Services Resource environment entries
  5. Click on New through the following screen :
    Web Services Resource environment entries
  6. Change the following required fields, then click on Ok :
    • Factory class name : com.ibm.rpm.StringFactory
    • Class name : java.lang.String
    Web Services Resource environment entries
  7. Click on the blue link StringProvider, which will bring you to the same screen as in step 4. Click on Resource env entries on the right-hand side of the screen. You should see the following :
    Web Services Resource environment entries
  8. Click on New through the first screen, update the following fields, then click on Ok :
    • Name :webServicesUseSessionTimeout
    • JNDI name :com/ibm/rpm/webServicesUseSessionTimeout
    Web Services Resource environment entries
  9. You will see a confirmation screen, and the new variable we have just defined. Click on its name : webServicesUseSessionTimeout to go back to its properties page. This should bring you to the same screen as in the previous step.
  10. Notice that the Custom Properties link under the Additional Properties section on the right-hand portion of the screen , is now a link. Click on it, to display the following :
    Web Services Resource environment entries
  11. Update the following fields, then click on Ok
  12. Web Services Resource environment entries
  13. Click on Save to commit the changes we have just made, then click on the Save button on this page :
    Web Services Resource environment entries
  14. Restart WebSphere, or if you prefer, only restart the Web Services Application, for the new variable to be taken into account.