Форк Rambox
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
571 B

// @tag enterprise
/**
* Reader class to access v1.1 SOAP (Simple Object Access Protocol) services.
*/
Ext.define('Ext.data.soap.Reader', {
extend: 'Ext.data.reader.Xml',
alias: 'reader.soap',
getData: function(data) {
var envelope = data.documentElement,
// we can't always assume that the Body element's namespace prefix is "soap",
// but we can assume that it is the same as the envelope's namespace prefix
prefix = envelope.prefix;
return Ext.DomQuery.selectNode(prefix + '|Body', data);
}
});