PDA

View Full Version : Error in ParseNameSpace while creating a SOAP proxy inside Store.



pabitrad
27 Nov 2013, 5:47 AM
I get error in ParseNameSpace method white creating proxy in following store object. The model is created in separate file. Both model and store specified in controller.

Ext.define('AM.store.Users', {
extend: 'Ext.data.Store',
model: 'AM.model.User',

proxy: {
type: 'soap',
url: 'https://api.bronto.com/v4',
//autoLoad: true,
api: {
read: 'login'
},
//soapAction: {
// read: 'https://api.bronto.com/v4'
//},
operationParam: 'operation',
targetNamespace: 'http://api.bronto.com/v4',

reader: {
type: 'soap',
record: 'ns2|return',
namespace:'ns2'
}
}
});