Hi,
I am very much new to the sencha architect. As part of my project we need to call java SOAP web service from the ExtJs using Sench Architect.
I can see rest proxy in available proxies to call rest web services. but not soap proxy. in one threads people are suggesting to create a alias of the soap proxy by adding soap proxy as resource(http://www.sencha.com/forum/showthre...799-Soap-Proxy).
I added soap proxy JavaScript file as resource. Created plain store and added Ajax proxy and changed Ajax proxy alias name to 'soap'.
it is not behaving as soap proxy so not sending soap request. Getting error in tomcat console saying "org.apache.cxf.interceptor.Fault: No binding operation info while invoking unknown method with params unknown."
My code snippet:
Code:
Ext.define('BNA4AllSAInterface.store.MyStore', {
extend: 'Ext.data.Store',
requires: [
'BNA4AllSAInterface.model.Record'
],
constructor: function(cfg) {
var me = this;
cfg = cfg || {};
me.callParent([Ext.apply({
autoLoad: true,
model: 'BNA4AllSAInterface.model.Record',
storeId: 'MyStore',
proxy: {
type: 'soap',
soapAction: {
read: 'POST'
},
api: {
read: '/elinkService/elinkService/listServiceTypes'
},
url: 'http://localhost:8089/'
}
}, cfg)]);
}
});
Any suggestions, solutions are highly appreciated.
Thanks in advance!!!!
Naren