Buongiorno,
testando la chiamata di un web service tramite uno script EXT-JS da un workflow shark, ho riscontrato il seguente problema: "org.enhydra.shark.api.internal.toolagent.ToolAgentGeneralException: Parse error at line 1, column 38. Encountered: {".
Lo script in questione è il seguente:
var myStore = new Ext.data.JsonStore({
autoLoad: true,
proxy: new Ext.data.HttpProxy({
url: 'acn/service/team/get',
headers: {'Content-type': 'application/json'}
}),
root: 'OTeam',
id: 'TeamId',
fields: ['TeamId', 'TeamName', 'TeamCountry']
});
Sembra un errore di parentesi, ma come vedete le parentesi sono tutte corrette.
Luigi
Nessuno riesce a darmi un aiuto per questo problema?
Luigi
Previously Luigi wrote:
Buongiorno,
testando la chiamata di un web service tramite uno script EXT-JS da un workflow shark, ho riscontrato il seguente problema: "org.enhydra.shark.api.internal.toolagent.ToolAgentGeneralException: Parse error at line 1, column 38. Encountered: {".
Lo script in questione è il seguente:
var myStore = new Ext.data.JsonStore({
autoLoad: true,
proxy: new Ext.data.HttpProxy({
url: 'acn/service/team/get',
headers: {'Content-type': 'application/json'}
}),
root: 'OTeam',
id: 'TeamId',
fields: ['TeamId', 'TeamName', 'TeamCountry']
});
Sembra un errore di parentesi, ma come vedete le parentesi sono tutte corrette.
Luigi