09-14-2012 10:01 AM
My name is Christian and I'am really newb on everything related to the mobile devolopment. However I have had to develop a push server initiator and a small client side app for tests and so.
Along the Push Service Registration process I got from RIM all the info required (PPG url, app ID, cp ID, password, etc) But I have some doubts and questions.
The first one is related to Content Provider ID and PPG's URL
- What's http://cpXXX.pushapi.eval.blackberry.com for?
So far I tested. "pushapi.eval.blackberry.com" works fine either client or server side. I mean, using that URL my push initiator was able to send notificacions and, in the other side, client was able to register and recive notifications.
That brings me to the next question... What should I do with Content Provider ID (I didn't use it yet)?
I have read that in production, PPG URL is something like "http://cpXXX.pushapi.<region_code>.blackberry.com". (here make sense for me that Content Provider ID)
Another question is If that kind of URL is for server side aswell? Or it's just for client side?
Lately our customer has been asking us for blackberry PPG's IPs and Ports because the Push Server Inititator will be located behind a firwall and they need enable just the IP and Ports required. (white list)
We would like answer to them all the required for let Push Serve Initiator connect either Eval PPG or Production PPG.
Ty very much in advance!!
P.S: Sorry for my english. I'am working hard on it ;-)
Solved! Go to Solution.
09-14-2012 11:28 AM - edited 09-14-2012 11:29 AM
You use below url into Server Code
https://cpxxx.pushapi.na.blackberry.com Please use CPID instead of xxx .
(e.g If your cpid = 234 so now url " https://cp234.pushapi.na.blackberry.com").
Note :- If you transfer evl to production then change below detail into server side and client side.
Server side :- appid, password, url
Client side :- PUSH_PORT,BPAS_URL,APP_ID.
feel free to press the like button on the right side to thank the user that helped you.
09-14-2012 04:23 PM
The eval account is necesary, and u will still using it for some time (3 months) i think,then u will need to reg the produccion account and u get the new paremeters Conten provider ID and the PPg url, the client side port and yes the xxx= Conten provider ID, http://cpXXX.pushapi.eval.blackberry.com
09-17-2012 06:52 AM
Ty very much to you both. Now i see clear how PPG url works.
Finally, do I should just configure Proxies and firewalls by domain name (aka *.blackberry.com) and don't be worry about IP's and Ports?
I would apreciate any info realted to this subject.