PDA

View Full Version : Webservice into a XML


jd-lingwai
08-22-2006, 06:24 PM
is there any way you can take data from a webserice and put it in a xml?

jd-lingwai
08-22-2006, 07:20 PM
im getting a null message when loading my webserivice but not the local xml.......(regions load but not the seminars...any ideas)
public function initApp():void
{
serv.GetSeminar.send();
loadFirstData();
apseminars = serv.GetSeminar.lastResult;
}
//loads data from WebService
public function GetDataFromWS(event:ResultEvent):void
{
apseminars = serv.GetSeminar.lastResult;
}

//loads and binds the data for the first time
public function loadFirstData():void
{
dataManager.loadData(apseminars,regions);
dataManager.loadFilters();
dataBind();
}



datamanger code:
public function loadData(apseminars:Object, appregions:Object):void
{
this.seminars = apseminars
this.qtySeminars = this.seminars.length;

this.regions = appregions;
this.qtyStates = appregions.region.length;
}