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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
New Contributor
ssivabharathi
Posts: 2
Registered: ‎09-19-2012
My Carrier: Airtel

Blackberry OS 5.0 - Ajax call to access cross domain

Hi,

 

 I am using blackberry 5.0 in that cross domain ajax call is not working. Can any one help me.

 

Case:

1) Using normal javascript ajax call (XMLHttpRequest )

2) If i trying to access with in my server means the ajax call is working (url: http:localhost:8081/sample/index.htm ajax url:http:localhost:8081/sample/ajax.htm)

3) If i trying to access with in another server ajax call means it's not working (url: http:localhost:8081/sample/index.htm ajax url:http:178.16.23.36:8081/sample/ajax.htm)

 

Regards,

Sivabharathi S

Please use plain text.
Developer
Levion
Posts: 133
Registered: ‎12-22-2010
My Carrier: Software Developer

Re: Blackberry OS 5.0 - Ajax call to access cross domain

Is this a webworks application or do you test from server with bb browser?

Did you configure the access to the external IP in your config.xml?

Please use plain text.
New Contributor
ssivabharathi
Posts: 2
Registered: ‎09-19-2012
My Carrier: Airtel

Re: Blackberry OS 5.0 - Ajax call to access cross domain

HI,

 

    Thanks for your reply.

 

Yes it's web application only. I am testing through bb browser only. I did not configured in config.xml file. It's works fine in BB OS 6 and 7 but not is 5.

 

 

Thanks,

Sivabharathi S

Please use plain text.