Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry Push Development

Reply
Highlighted
Developer
Posts: 174
Registered: ‎08-20-2008
My Device: Not Specified

Cancel of PAP Push request not working

I am currently posting push requests to a BES 5.0.2 server. Can create pushes okay however when I go to cancel them I either get a 3000 or a 2008 as a return code.

 

Here is what I am posting to the server to cancel the request

 

 

<?xml version="1.0"?>
<!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 2.0//EN"
"http://www.wapforum.org/DTD/pap_2.0.dtd"
[<?wap-pap-ver supported-versions="2.0,1.*"?>]>
<pap>
<cancel-message push-id="pushID:fh2241@uk.example.com">
<address address-value="WAPPUSH=2100000A%3A30320/TYPE=USER@rim.net"/>
</cancel-message>
</pap>

 

 

And here is the reply.

 

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 2.0//EN" "http://www.wapforum.org/DTD/pap_2.0.dtd" [<?wap-pap-ver supported-versions="2.0"?>]>
<pap product-name="Research In Motion Ltd. Mobile Data Server Connection Service"><cancel-response push-id="pushID:fh2241@uk.example.com"><cancel-result code="3000"><address address-value="WAPPUSH=2100000A%3A30320/TYPE=USER@rim.net"/></cancel-result></cancel-response></pap>

 

 

A query request using a similar format works fine. Nothing extra in the MDAT log of the server. Very strange.