Hi,
I am using a web service in AS3 found here - http://labs.alducente.com/index.php?page_id=13#comment-118
Everthing is set up and working, if you look at the the link you will see this line of code:
trace(serviceResposne)
It spits out this xml from my own data base in ASP.net 2.0:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<getTitlesResponse xmlns="http://tempuri.org/">
<getTitlesResult>
<xsd:schema id="NewDataSet" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
<xsd:complexType>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="Table">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="title" type="xs:string" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
<NewDataSet>
<Table diffgr:id="Table1" msdata:rowOrder="0">
<title>Biology ch1</title>
</Table>
<Table diffgr:id="Table2" msdata:rowOrder="1">
<title>Vocabulary</title>
</Table>
<Table diffgr:id="Table3" msdata:rowOrder="2">
<title>WWII</title>
</Table>
<Table diffgr:id="Table4" msdata:rowOrder="3">
<title>Chemistry</title>
</Table>
<Table diffgr:id="Table5" msdata:rowOrder="4">
<title>Measurment</title>
</Table>
<Table diffgr:id="Table6" msdata:rowOrder="5">
<title>Biology ch2</title>
</Table>
</NewDataSet>
</diffgr:diffgram>
</getTitlesResult>
</getTitlesResponse>
</soap:Body>
</soap:Envelope>
How can I print the titles?
I have tried many combination of:
trace(serviceResponse.NewDataSet.Table);
trace(serviceResponse.soap::Envelope);
from other examples but nothing works.
Thanks
waffe