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

Web and WebWorks Development

Reply
Developer
jmace
Posts: 482
Registered: ‎10-24-2008
My Device: 9300

Ajax debugging issues in VS Widget beta

I have an ajax request in my widget that works when running in IE 6, but when running in Visual Studio, I no longer can get to my web service.

 

I have added my local domain to the config.xml (http://127.0.0.1:smileytongue:ortNumber). I'm trapping for the browser type and choosing the correct xmlHttpResponse.

 

Any ideas on why  would be recieving a 500 response debugging in the widget plug in and a success with IE on the same machine?

_________________________________________
www.jasonmace.com/blackberry
Retired
tneil
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Ajax debugging issues in VS Widget beta

It could be the use of 12.0.0.1 as the URL.  Everything is going through the MDS-CS that can have difficulties with localhost, 127.0.0.1 depending on configuration and environmental settings.

 

Try using the fully qualified domain name of your computer instead of 127.0.0.1.  

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter