Interim fix JR44600 provides the ability to preview content changes in BOD and REST
service clients. Complete the following procedure to enable the ability on your
environment.
Before you begin
Install the cumulative interim fix for Feature Pack 5, JR53048.fep.For information about
how to install an interim fix, see
Procedure
A. Access Control updates - part one
-
Copy the file
- WC_installdir/components/foundation/xml/policies/xml/ServicesPreviewAPARMemberAccessControlPolicies.xml
- WCDE_installdir/components/foundation/xml/policies/xml/ServicesPreviewAPARMemberAccessControlPolicies.xml
to the following directory:
- WC_installdir/xml/policies/xml
- WCDE_installdir/xml/policies/xml
-
Run the acpload
utility on the ServicesPreviewAPARMemberAccessControlPolicies.xml file.
For example, from the
WC_installdir/bin directory,
run the following command:
Platform |
Command |
AIX Linux Solaris IBM i |
./acpload.sh mall dbuser
dbusrpwd ServicesPreviewAPARMemberAccessControlPolicies.xml |
Windows |
acpload mall dbuser
dbusrpwd ServicesPreviewAPARMemberAccessControlPolicies.xml |
Windows Oracle |
acpload mall dbuser
dbusrpwd ServicesPreviewAPARMemberAccessControlPolicies.xml
schema Note: schema is the name of target database
schema. This name is normally the same name as the dbuser. |
Derby |
acpload ServicesPreviewAPARMemberAccessControlPolicies.xml |
B. Access Control updates - part two
-
Copy the file
- WC_installdir/components/foundation/xml/policies/xml/ServicesPreviewAPARMemberAccessControlPolicies_en_US.xml
- WCDE_installdir/components/foundation/xml/policies/xml/ServicesPreviewAPARMemberAccessControlPolicies_en_US.xml
to the following directory:
- WC_installdir\xml\policies\xml
- WCDE_installdir\xml\policies\xml
-
Run the acpnlsload utility on the
ServicesPreviewAPARMemberAccessControlPolicies_en_US.xml file.
For example, from the
WC_installdir/bin directory,
run the following command:
Platform |
Command |
AIX Linux Solaris IBM i |
./acpnlsload.sh mall dbuser
dbusrpwd
ServicesPreviewAPARMemberAccessControlPolicies_en_US.xml |
Windows |
acpnlsload mall dbuser
dbusrpwd
ServicesPreviewAPARMemberAccessControlPolicies_en_US.xml |
Windows Oracle |
acpnlsload mall dbuser
dbusrpwd ServicesPreviewAPARMemberAccessControlPolicies_en_US.xml
schema Note: schema is the name of target database
schema. This name is normally the same name as the dbuser. |
Derby |
acpnlsload
ServicesPreviewAPARMemberAccessControlPolicies_en_US.xml |
C. Command registry updates
-
Run the massload utility on the following file:
D. Enable Service Preview
-
The services preview feature is disabled by default and can be turned on by adding the
following element to
InstanceProperties
of the wc-server.xml
file:
<ServicesPreview enable="true"/>
The accepted values of the enable
attribute are "
true
" and "
false
".
E. Copy files
-
Manually copy files from the package to your development environment.
-
Extract 5.0.0.0-WS-WC70FeaturePack5Developer-IFJR44600.pak. You might have
to rename the extension from '.pak' to '.zip'.
-
Copy the files from
5.0.0.0-WS-WC70FeaturePack5Developer-IFJR44600.pak\repository\fep.wc.toolkit.native.foundation\components\foundation\wc.ear.ext\Rest.war\WEB-INF\classes
-
Copy the files to
WCDE_installdir\workspace\Rest\WebContent\WEB-INF\lib\Rest-Resources.jar