Flash & Web Services

I’m trying to figure out how to read XML information from a Web Service. The Web Service is setup and I’m using the WebServiceConnector component. I have the WSDLURL plugged in but I’m not sure what to do next.

I currently have the Flash file reading from a standard external XML document perfectly just can’t figure out how to read it from the Web Service in place of.

Here’s my current code that I’m using to read from an external XML file:



//////////////////////////////////////////////////////

// Load Images Via XML

function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image* = "carouselset/"+xmlNode.childNodes*.firstChild.nodeValue;
}
} else {
content = "file not loaded!";
}
}


xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("images.xml");


I’m not sure how to adapt this for using a Web Service instead.

Help please! :stare:

Flash CS3 AS 2 btw