views:

744

answers:

3

Hi there

I'm a beginner in Flash/AS and want to try if its possible to consume a webservice given back from a SAP BW system. Just want to see how the connection works and how I can access and use the returned data (guess its XML).

Found this sample http://geekswithblogs.net/pakistan/archive/2005/04/28/38590.aspx but its for MX2004 and things seem to have changed... (e.g. cant finde the "Web Service panel")

Can anybody give me a simple sample code how this is done?

Thanks a lot Gerald

A: 

Try checking the Cs4 Flash Data integration, it surely will help you get through this.

Cheers,

Ernani

Ernani Joppert
Please let me know if you need this sample in AS2 or AS3. Cheers.
Ernani Joppert
A: 

Check this video. You have to import some Flex components, because the WebService class was removed from Flash. http://www.webkitchen.be/2009/03/02/video-tutorial-use-the-flex-webservice-component-in-flash-cs4-projects/

Adriano
A: 

Thanks guys

thanks for the hint. I've read about that a while ago. Went another way for the meantime (jquery/ajax/flashvars). Might look into it for another project. Also excited about Flashbuilder and its "Webservice-Wizard"...

G