If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

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
Contributor
1llus1on
Posts: 19
Registered: ‎06-23-2010
My Device: Bold
My Carrier: Indonesia

PushSDKException: Received content type is not 'application/xml'

Hello Community,

 

I have tried BPSS since two days ago. The problem that I face now is that I can not do a push from the debug-portal.

The error I get is PushSDKException caught:
net.rim.pushsdk.commons.PushSDKException: Received content type is not 'application / xml'. I am using BES.

I've tried to insert the image content or text. But always the same error appears.

Can anyone help me to solve this problem?

Thanks for your replies ..

Please use plain text.
New Developer
purbohadi
Posts: 5
Registered: ‎06-10-2009
My Device: Not Specified

Re: PushSDKException: Received content type is not 'application/xml'

I'm having the same problem here, can anyone help us to fix this problems ?

Please use plain text.
Contributor
1llus1on
Posts: 19
Registered: ‎06-23-2010
My Device: Bold
My Carrier: Indonesia

Re: PushSDKException: Received content type is not 'application/xml'

Huff, try to re-install my BPSS again, still can't push to client-side-application... Wonder what is my mistake..

But text that I get from logs is different than before..I'm try to use pap

 

==================================================

[net.rim.pushsdk.pap.PapServiceImpl.push()] - PushSDKException caught:
net.rim.pushsdk.commons.PushSDKException: Bad HTTP response returned
: HttpResponse ( net.rim.pushsdk.commons.http.HttpResponse@7f7957    statusCode = 404    content = <html><head><title>Apache Tomcat/6.0.20 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /pap</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/pap</u></p><p><b>description</b> <u>The requested resource (/pap) is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.20</h3></body></html>    contentType = text/html;charset=utf-8     )

================================================

 

Can anybody help me plis ? Really need it right now...

 

Thanks for your replies..

Please use plain text.