Overriding a process service for a Management Center object

You can override a process service by creating a modified Struts configuration in the struts-extension.xml file.

Before you begin

All Struts action changes must be made in the struts-extension.xml file. Do not change the following files since they might be overwritten during an upgrade or fix pack installation:
  • WebSphere Commerce Version 7.0.0.0Feature Pack 1struts-ibm-tools.xml
  • Introduced in Feature Pack 2struts-ibm-attachment.xml
  • Introduced in Feature Pack 2struts-ibm-catalog.xml
  • Introduced in Feature Pack 2struts-ibm-catalogfilter.xml
  • Introduced in Feature Pack 2struts-ibm-contentversion.xml
  • Introduced in Feature Pack 2struts-ibm-installment.xml
  • Introduced in Feature Pack 2struts-ibm-marketing.xml
  • Introduced in Feature Pack 2struts-ibm-price.xml
  • Introduced in Feature Pack 2struts-ibm-promotion.xml
  • Introduced in Feature Pack 2struts-ibm-search.xml
  • Introduced in Feature Pack 2struts-ibm-store.xml
  • Introduced in Feature Pack 2struts-ibm-workspace.xml

About this task

To update the Struts process service:

Procedure

  1. Create a new Struts action or extend an existing Struts action.
    Fastpath: For information about how to extend a Struts action, see Tutorial: Extending a Struts action
  2. Open WebSphere Commerce Developer.
  3. In the Enterprise Explorer view, navigate to LOBTools > WebContent > WEB-INF and open one of the following files that contains the Struts definition of the authoring action you want to copy:
    • WebSphere Commerce Version 7.0.0.0Feature Pack 1struts-ibm-tools.xml
    • Introduced in Feature Pack 2struts-ibm-attachment.xml
    • Introduced in Feature Pack 2struts-ibm-catalog.xml
    • Introduced in Feature Pack 2struts-ibm-catalogfilter.xml
    • Introduced in Feature Pack 2struts-ibm-contentversion.xml
    • Introduced in Feature Pack 2struts-ibm-installment.xml
    • Introduced in Feature Pack 2struts-ibm-marketing.xml
    • Introduced in Feature Pack 2struts-ibm-price.xml
    • Introduced in Feature Pack 2struts-ibm-promotion.xml
    • Introduced in Feature Pack 2struts-ibm-search.xml
    • Introduced in Feature Pack 2struts-ibm-store.xml
    • Introduced in Feature Pack 2struts-ibm-workspace.xml
  4. Open the struts-extension.xml file.
  5. Copy the individual Struts action in the ActionMapping into the struts-extension.xml file.
  6. Update the Struts action in the struts-extension.xml file to correspond to your new or modified Struts action, and then save the changes.
  7. Restart your WebSphere Commerce Server and test your changes.
  8. Deploy your changes to your production environment.