Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
09-20-2012 03:55 PM
I try to do Supplying a status to request subscribed addresses
pap xml request message is:
<!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 2.1//EN"
method is post,
I got respone is:
<bpds version="1.0"><badmessage-response event-time="2012-09-20T18:04:23Z" code="22000" desc="Not understood due to malformed syntax."/></bpds>
I can not find where is format invalid
Solved! Go to Solution.
09-21-2012 09:17 AM
Try removing the !DOCTYPE element so instead HTTP post this:
<subscriptionquery-message pushservice-id="<your push service id>">
09-21-2012 09:56 AM
09-25-2012 08:59 AM
I am not sure I understand your question. You should make this calll from your server-side push initiator application.
09-25-2012 10:15 AM
09-25-2012 11:08 AM
Can you try and set your content-type to be: "application/xml" only and see what happens?
09-25-2012 11:22 AM
09-25-2012 11:26 AM
You must use https, http will not work. I don't think you got it quite right change:
Request.ContentType = "multipart/related; type=application/xml"; to just "application/xml" and comment out
// Data.AppendLine("Content-Type: application/xml; charset=utf-8");
09-25-2012 11:40 AM