Sun Java System Portal Server 7 Developer's Guide

Customizing the Return Codes

ProcedureTo customize the return codes:

Steps
  1. Log in to the Portal Server host and change directories to PortalServer-base/web-src/WEB-INF/classes directory.

  2. Modify the WSRP administration module’s properties file, psWSRPProducerAdmin.properties.

  3. Add entries for the return codes for the newly installed registration validator.

    The format of the resource key should be: classname code=message. For example, com.sun.portal.wsrp.producer.registration.validator.impl.RegistrationValidatorImplementation -1=Missing Or Empty Registration Property.

  4. Redeploy the web application. To redeploy, use the psadmin deploy subcommand.