XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Dell PowerEdge Servers
  #1  
Old March 30th, 2008, 12:08 AM
waffe waffe is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 85 waffe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 56 m 13 sec
Reputation Power: 6
Parsing XML web service in flash

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

Last edited by waffe : March 30th, 2008 at 12:23 AM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > Parsing XML web service in flash


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway