02-11-2011 04:01 PM
I have added a ajax library DataRequestor.js in widget but while hitting the URL of a web service I am getting 500 error. This error is coming while running the widget from Simulator. If I run the HTML from browser, it works fine.
In between I have added the URL in config.xml too. Any thoughts???
02-14-2011 09:22 AM
Can you post the OS version of the BlackBerry that you are using?
Also, have you tried accessing the website via XMLHttpRequest? This will tell you if there is an issue with the ajax library and BlackBerry.
02-15-2011 11:39 AM
I am using Blackberry WebWorks plug in 2.5.1 and tested in all three simulators provided in it. Yes I am trying with XMLHTTPRequest.
While connecting I am getting 500 error code. Not 404 or any other. There is no activity on server side. Not able understand why is it throwing 500.