View Full Version : drop down box with values from soap message

21 May 2010, 5:32 AM
I am wondering how it should be done to be able to have a drop down box that retrieve values from a soap message after a web service invokation. What kind of store shoud be used for this and how can i map the values from the message.

I suppose that a reader will be used?

Starting with something like this?

this.templateStore = new Ext.data.ArrayStore({
autoLoad: true,
remoteSort: false,
groupField: 'status',
proxy: new Ext.data.SoapProxy(),
baseParams: {
url: "http://someHost/services//TemplatesServiceImpl",

"<ws:getTemplates>" +

username: Username,
pass: Password,
repository: Repository

reader: new Ext.data.XmlReader(
record: 'document'

name: 'unid',
mapping: 'identifier> id > value'


What are the next steps to map these values from the reader to a drop down box?