A.3 Changing Web Service Credentials

Occasionally, problems occur when accessing the OMU Web service, because the credentials provided are incorrect. Whenever this happens, you receive an HTTP 403 error from the Web service. You first want to check the specified credentials and verify that you entered the correct information. If the credentials you have specified appear to be correct, but you still receive the 403 error, the best option is to reset the Web service credentials.

To reset the OMU Web service credentials:

  1. Open a command prompt window and change the working directory to the OMU web service conf directory using the following command:

    <OMUWS_INSTALL>/adapters/conf
    

    Replace <OMUWS_INSTALL> with the directory where the HP OMU web services are installed.

  2. Enter the following command to change the user name and password for accessing the OMU Web service:

    ../bin/propertiesEditor.sh -e 
    framework.username="<username>" -h 
    framework.password="<password>" framework.properties
    

    ... where <username> is the user name to specify for the Web service, and <password> is the password.

    The propertiesEditor.sh script is specifically for the UNIX platform. The equivalent script for Windows platforms is propertiesEditor.bat.

  3. Stop and then start the OMU Web service as instructed in Running the Web Service on Unix and Testing the Web Service on Unix.