Code sample: Supplying a status to request subscribed addresses

The status-value="active" in the <status/> element means that the subscription request returns only addresses that currently have the status of "active."

<?xml version="1.0"?>
 <!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 2.1//EN"
"http://www.openmobilealliance.org/tech/DTD/pap_2.1.dtd">
<bpds version="1.0">
	<subscriptionquery-message pushservice-id="32-C9ViiTf34OTf7yigCHZZ">
		<status status-value="active"/>
	</subscriptionquery-message>
</bpds>


Was this information helpful? Send us your comments.