C H A P T E R 7 |
WAP Gateway Configuration |
A Wireless Application Protocol (WAP) gateway serves as a translator between web protocols and wireless protocols. You can configure Content Delivery Server to work with the WAP gateway of your choice.
A WAP gateway adapter parses the HTTP header from a WAP gateway to retrieve the MSISDN number, device profile, and other attributes needed by Content Delivery Server.
The WAP gateway adapters provided with Content Delivery Server are described in this chapter. You can create your own WAP gateway adapter using the WAP Gateway API. See the Sun Java System Content Delivery Server Customization Guide for information on this API.
This chapter contains the following topics:
Content Delivery Server provides a default WAP gateway adapter that can be used with any WAP gateway that does not require the value returned for the unique ID or MSISDN to be parsed. In addition, adapters for the following WAP gateways are provided with Content Delivery Server:
The default WAP gateway adapter can be used with any WAP gateway that can use the unique ID or MSISDN value in the format that it is received. If the value must be parsed, you must use an adapter created specifically for the WAP gateway that you are using.
To use the default adapter, follow these steps:
1. Set the default.unique.http_header.key property in the $CDS_HOME/deployment/deployment-name/conf/SubscriberPortal.properties file to the key used to retrieve the unique ID or MSISDN, for example:
default.unique.http_header.key=x-up-subno
2. Make sure that the adapter is registered.
See Section 7.2, Using a WAP Gateway Adapter for instructions.
The Nokia Activ Server WAP gateway adapter parses the HTTP headers from the Nokia Activ Server WAP gateway and passes the information to Content Delivery Server. To use this adapter, register the following class:
The Nokia Artus WAP gateway adapter parses the HTTP headers from the Nokia Artus WAP gateway and passes the information to Content Delivery Server. To use this adapter, register the following class:
The Openwave WAP Gateway parses the HTTP headers from the Openwave WAP gateway and passes the information to Content Delivery Server. To use this adapter, register the following class:
To register the WAP gateway adapter that you want to use, add the class name to the wapgateway.config file in the $CDS_HOME/deployment/deployment-name/conf directory. For example, to register the default adapter, use the following statement:
Include only the names of the adapters that you want to use. Remove adapters that you are not using.
Copyright © 2008, Sun Microsystems, Inc. All Rights Reserved.