How to consume external webservice in sencha touch2
Hi. i am new to sencha touch2. i want to consume external web service. i have written below code it is always going to failure alert msg not working! in console giving like this error msg like XMLHttpRequest cannot load http://localhost/SLS.BRND.Services/S...smx/Helloworld. Origin http://localhost:49692 is not allowed by Access-Control-Allow-Origin.
Blog.js:30Response Status:- 0
Also very IMPORTANT: If you plan on packaging your client as a App using PhoneGap or whatever you need to know that cross domain limitations don't apply. Same happens when you open the index file directly in your browser, it will stop caring about cross-domain policy.