Sorry, didn't know that. :) I assumed it took an XML string.

My bad.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: Thursday, May 18, 2006 2:42 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] .NET and XML Web services

I do want to use xfactorstudios Xpath classes, but you said if I do that
then, "no need to load the response into an XML object (step 3)."

xfactorstudios Xpath classes for Flash requires a Flash XML object - so
they know what to parse:

XPath.selectNodes(theXMLObject, "the/path/string")

so I'm not sure how you would do it otherwise?

Jason



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee
Sent: Thursday, May 18, 2006 2:30 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] .NET and XML Web services

Actually, on re-reading your message... If you're not going to use XPath
or your own custom parser to handle the XML, you might as well not turn
off decoding, and instead just use the ActionScript objects returned by
the WebService call.

If you DO want to use XPath, do what you described, but there should be
no need to load the response into an XML object (step 3).

Make sense?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee
Sent: Thursday, May 18, 2006 2:15 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] .NET and XML Web services

That sounds about right to me!

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: Thursday, May 18, 2006 2:02 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] .NET and XML Web services

Thanks Dave! Thanks Tom!  I'm learning a lot here.

So the million dollar question for me is:

What is the best way, building for Flash player 7, for me to get an XML
message (which contains the entire XML doc - but a true message/variable
whatever, not the literal physical XML file) into an XML object in Flash
(so I can use xfactorstudios XPATH classes to traverse it)?  

My coworker is going to be using some .NET development techniques to
create a webservice for me which draws data from a SQLServer database.

So far, it seems like this approach is recommended:

1. Use the Webservices Classes to connect to a WSDL via http.
2. Call a SOAP method in the WSDL that returns an XML message (turn off
decoding on the SOAP call to get the pure XML).
3. Load the XML message into a Flash XML object.  
4. Do what I want with the Flash XML object at that point.

Jason

  

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave
Watts
Sent: Thursday, May 18, 2006 1:01 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] .NET and XML Web services

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to