Forum /
Sencha General Forums /
Community Discussion /
Need help with SAP OData
Need help with SAP OData
Hello Colleagues,
I am facing an error while consuming SAP Odata with Sencha Odata connector. The service returns an error code 501. However the URL works fine if I execute it in a separate window. Could you assist how to identify the issue here.
proxy: {
type: 'odata',
enablePagingParams: false,
withCredentials: true,
username: username,
password: password,
url: 'http://xml1009.wdf.sap.corp:8000/tmp/i029811/xsExample/xsExample.xsodata/RETURN_RATE_EXAMPLE',
reader: {
type: 'xml',
rootProperty: 'entry',
record: 'properties'
},
listeners: {
'exception': function (proxy, response, operation) {
MyApp.api.Error.alert(response);
console.log('Exception');
}
}
}
Warm Regards,
Gupta
Sencha - Senior Forum Manager
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us