To activate the Wireless Access Protocol (WAP) support for Commerce Enabled Portal, the WAP portal adapter should be activated in the WebSphere Commerce instance. To activate the WAP portal adapter for the given instance, do the following:
- Stop your WebSphere Commerce instance.
- In a text editor, open the WC_installdir/instances/instance_name/xml/instance_name.xml file.
Note: Update the instance file using WebSphere Application Server Administration Console.
- Enable the deployment descriptor of the mobile commerce portals of the WebSphere Commerce instance by changing the enabled="false" value to enabled="true" in the following section of the instance_name.xml file:
<HttpAdapter deviceFormatId="-3" enable="false" deviceFormatType="PVCAdapter" deviceFormatTypeId="-1" name="WAPPORTAL"> <factoryClassname="com.ibm.commerce.portaladapters.WapPortalPvcAdapter"> <PVCAdapter preferredLogonTimeout="20" bufferTimeout="5" registrationMode="0"/> </HttpAdapter">
- Save the instance_name.xml file.
- Start your WebSphere Commerce instance.