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 Web Services

Reply
Developer
krmlkr
Posts: 66
Registered: ‎08-21-2009
My Device: Not Specified

Not able to receive JSON data from BES

Hi,

 

When we connect to server via BES, server in response sends some data in JSON format and some data in xml format and this data also comes via BES. But we are able to receive only data which is in xml format. For JSON response we are getting 406 error code.

 

Do we need to do some setting on BES to get JSON data as well?

 

Regards,

Krmlkr.  

 

Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Not able to receive JSON data from BES

Hi Krmlkr,

 

You shouldn't need any specific settings changed on the BES, JSON data should be able to be received by default.

 

What type of application are you using (Java, WebWorks, web)?

 

Are you able to receive this data via other transport routes (not using the BES)? Are you able to test from a Desktop application to see if data is received successfully?

 

Regards,

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.