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
New Contributor
janardhan
Posts: 2
Registered: ‎04-10-2013
My Device: BlackBerry 9860 JM1

Black Berry Push is not working for my Black Berry app

[ Edited ]

Issue is:

I am not getting response from BB push Service:

 

Not working:

 

source-reference="xxxxx-ss677350eeD80854n9a45D7316h84lxxxx

 

$$$$$$$$$$$$$$ SEGMENTED IS YES FOR NOTIFICATION ID24

2013-04-06 14:47:08,260 INFO  [STDOUT] (http-0.0.0.0-8182-1) -------------------------------------------------------------------

2013-04-06 14:47:08,260 INFO  [STDOUT] (http-0.0.0.0-8182-1) --mPsbVQo0a68eIL3OAxnm

Content-Type: application/xml; charset=UTF-8

 

<?xml version="1.0"?>

<!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 2.1//EN" "http://www.openmobilealliance.org/tech/DTD/pap_2.1.dtd">

<pap>

<push-message push-id="1365239828xxx" deliver-before-timestamp="2013-04-06T10:07:08Z" source-reference="xxxxx-ss677350eeD80854n9a45D7316h84lxxxx"><address address-value="some_pin"/><quality-of-service delivery-method="unconfirmed"/>

</push-message>

</pap>

--mPsbVQo0a68eIL3OAxnm

Content-Type: text/plain

Push-Message-ID: 1365239828xxx

 

<n i="24" c="SER_22" p="MAA" d="BB Client test" sd="bye" at="1" t="0"/>

--mPsbVQo0a68eIL3OAxnm--

2013-04-06 14:47:08,260 INFO  [STDOUT] (http-0.0.0.0-8182-1) -------------------------------------------------------------------

2013-04-06 14:47:09,664 INFO  [STDOUT] (http-0.0.0.0-8182-1) https://cpxxxx.pushapi.eval.blackberry.com

 

Here i am not getting response and below xml format :

Blackberry Push Response :<?xml version="1.0"?><!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 2.1//EN" "http://www.openmobilealliance.org/tech/DTD/pap_2.1.dtd"><pap><push-response push-id="1365239933243" sender-address="http://cpxxxx.pushapi.na.blackberry.com/mss/PD_pushRequest" sender-name="RIM Push-Data Service" reply-time="2013-04-06T09:18:54Z"><response-result code="1001" desc="The request has been accepted for processing."></response-result></push-response></pap>

2013-04-06 14:48:54,837 INFO  [STDOUT] (http-0.0.0.0-8182-1) Blackberry server sent success reponse

 

 Please help me to fix the issue....

Please use plain text.
Retired
mdandrea
Posts: 311
Registered: ‎08-08-2012
My Device: BlackBerry Z10

Re: Black Berry Push is not working for my Black Berry app

Hi,

 

It looks like you are getting a response.

 

The response will be in PAP XML format.  You'll notice that you get back a 1001 which means that the push was accepted for processing.

 

Matt

Please use plain text.