Code sample: Querying subscriptions by status

<?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-C9ViiWf2jOTc7yiJCHZZ">
        <status status-value="active"/>
    </subscriptionquery-message>
</bpds>

Was this information helpful? Send us your comments.