Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 14-10-2005, 09:48   #1 (permalink)
Neuer User
 
Registriert seit: Jun 2005
Beiträge: 5
WebService und DataGrid

Hallo,
ich hole mir aus einem WebService Daten und möchte diese dann in einem DataGrid darstellen. Ich habe folgendes Coding gemacht:
import mx.services.*;

rec_btn.onPress = function() {

var scc = new WebService("http://t01.scc.at/sap/bc/soap/wsdl11?services=Z_ZTEST_FLASH4");
// var scc_array = new Array();

this._parent.list_dg.dataProvider = scc.result.gt_matb;

sccResultObj = scc.Z_ZTEST_FLASH4(scc_array,"L","20050512");

scc.onLoad = trace("loading");

sccResultObj.onResult = function(result) {

trace("yep");
trace("RequestXML: "+sccResultObj.request);
trace("ResponseXML: "+sccResultObj.response);

var text = result.ep_result;
trace(text);
ttext == result.ep_result;
trace(ttext);

trace(result.gt_matb);

}

sccResultObj.onFault = function(fault) {
// If there is any error such as the service not working, the onFault handler will be invoked.
trace(fault.faultCode + "," + fault.faultstring);
}
}

Leider kommen die zwei Datensätze die man in der Ausgabe sieht nicht
in den DataGrid!
Könnt ihr mir helfen?
Danke

Geändert von webtrain (14-10-2005 um 09:49 Uhr)
webtrain ist offline   Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks sind an
Pingbacks sind an
Refbacks sind an



Alle Zeitangaben in WEZ +1. Es ist jetzt 13:19 Uhr.

Domains, Webhosting & Vserver von Host Europe
Unterstützt das Flashforum!
Adobe User Group


Copyright ©1999 – 2012 Marc Thiele