Hi i am new to sencha touch2. i called web service as below but it is giving error like expected ':' please tel me what is d pbm. how to fix it.

here is my code:

Ext.define("path", {
extend: 'Ext.form.Panel',
requires: [
xtype: 'companyprofilepage',
id: 'companyprofile',
config: { scrollable: true,
items: [{
xtype: 'list',
Ext.data.JsonP.request({ //hi Here i am getting error like expected ':'
url: 'http://free.worldweatheronline.com/feed/weather.ashx',
callbackKey: 'callback',
params: {
key: '23f6a0ab24185952101705',
q: '94301', // Palo Alto
format: 'json',
num_of_days: 5
callback: function (success, request) {
var weather = request.data.weather;
if (weather) {
else {
alert('There was an error retrieving the weather.');