The WAP Push service allows applications to send WAP content to the subscriber's phone and poll for the delivery status of that message.
Requests can be of two types:
- Service Indication (SI) : Service Indication requests give the terminal a notice of having received a WAP Push and only load the content once the user confirms the action on the device.
- Service Load(SL) : Service Loading requests can automatically load the content from the URL on the device when the push is received, depending on the security settings on the phone.
Things to note:
- Some phones may not have WAP Push support. Applications can replace the WAP request with sending an SMS with the link to the WAP page.
- Unlike the SMS and MMS services, the WAP Push service only supports polling for delivery receipts.
Refer to the attached developer's guide for more information and code examples.
Note: The code examples provided below use classes that you would need to compile for your application. You will need to download the WSDL (append "?wsdl" to the endpoint URL to download the WSDL) for the relevant service and compile these classes using a library like Apache Axis. Eclipse has a plug-in for Axis which makes things easier.
Send WAP Message
The code below is sending a WAP message and polling for the delivery receipt.