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

Java Development

Reply
New Developer
New Developer
Posts: 6
Registered: ‎11-27-2009
My Device: Not Specified
Accepted Solution

Scheduled PAP Message - deliver-after-timestamp

 


Hi,

 

I am unable to send out a "scheduled" pap message to a device by adding the attribute deliver-after-timestamp to the push-message element . 

i.e. Push Initiator => BES/MDS => BB device.

 

The message sent looked like below:

 

<?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.*,1.*"?>]>
<pap>
<push-message push-id="pushID:1107197189" ppg-notify-requested-to="http://XX.XX.XX.XX:7778" deliver-before-timestamp="2010-01-18T10:28:21Z" deliver-after-timestamp="2010-01-08T12:28:21Z">
<address address-value="WAPPUSH=XXXXXX%3A100/TYPE=USER@rim.net"/>
<quality-of-service delivery-method="notspecified"/>
</push-message>
</pap>
--asdlfkjiurwghasf
Content-Type: text/plain

Fri Jan 08 10:28:21 CET 2010:
 (PAP - DeliveryAfter Test)
--asdlfkjiurwghasf--

When the message is sent by the Push Initiator. I can see in the MDS log that the requests were recognised.

 

<2010-01-08 10:28:08.224 MEZ>:[2229]:<MDS-CS_S-05-005_MDS-CS_2>:<DEBUG>:<LAYER = SCM, EVENT = PapServlet: request from XX.XX.XX.XX 723 bytes...>
<2010-01-08 10:28:20.771 MEZ>:[2230]:<MDS-CS_S-05-005_MDS-CS_2>:<DEBUG>:<LAYER = SCM, EVENT = PapServlet: request from XX.XX.XX.XX 723 bytes...>

Questions:

1. Why cant my device receive this message / why cant my BES/MDS server sent the scheduled message to the BB  device?

2. Must I configure something on the BES/MDS server side to enable the scheduled push? If so, where and how? (I'm using BES Manager 4.1 and the curve device)

3. I almost 100% sure  that the PAP message sent was valid. Can someone prove otherwise?

 

Thanks in advance for the help.

 

 

New Developer
New Developer
Posts: 6
Registered: ‎11-27-2009
My Device: Not Specified

Re: Scheduled PAP Message - deliver-after-timestamp

Ok I got it to work. 

The PAP message is valid.

The solution was to configure the Store Push Submission = true in the BES/MDS server