Configuring the soap.client.properties file

Each of the WebSphere® Application Server nodes and the Deployment Manager has a soap.client.properties file that you can configure so that the WebSphere credentials do not need to be entered every time the server is stopped. This task is optional.

Procedure

  1. Locate the following file:
    • Windows™: C:\IBM\WebSphere\AppServer\profiles\<profileName>\properties\soap.client.props
    • Linux™: /opt/IBM/WebSphere/AppServer/profiles/<profile_name>/properties/soap.client.props
      Note: The path may need to be modified, depending on the AppServer version.
  2. Open the file with a text editor.
  3. Modify the following fields to include your WebSphere credentials:
    Table 1. Properties fieldsThis table provides the fields you need to modify.
    Field Value
    com.ibm.SOAP.loginUserId WASADMIN_USERNAME, for example, wasadmin
    com.ibm.SOAP.loginPassword WASADMIN_PASSWORD, for example, password
  4. Save the file and close the editor.
  5. Run the following commands to encode the password so that it isn’t stored in plain text:
    • Windows: ../bin/PropFilePasswordEncoder.bat soap.client.props com.ibm.SOAP.loginPassword
    • Linux: ../bin/PropFilePasswordEncoder.sh soap.client.props com.ibm.SOAP.loginPassword