Showing posts with label flash. Show all posts
Showing posts with label flash. Show all posts

Monday, March 26, 2012

web service and Flash MX professional

I created a simple .NET web service which selects data from a SQL server database and returns XML. Now I would like to bind a drop down component from flash mx professional to this webservice. Every time I try to add the web service to my flash project I get an error:

Flash was unable to find any Web Services from the following URL:
http://www.madisontitle.com/webservice1/service1.asmx/GetCats
what have i done wrong. if you go to that link it returns the xml that i need. do i need to do something to make the webservice public?

PLEASE HELP!
thanks.try just loading the xml to an xml object in flash and then working with it. I don't know though I have never worked with any of the components in flash. Although I'm looking forward to using them in mx 2004 because it has full .net support. It has a flash version of most DataControls in the framework and so on.
I want to do it with a webservice, because i have other things i will need to do, like pass parameters..
What i need to know is, when creating a web service do i need to do anything to make it accessible to the public?
As far as I know you add the WebService attribute and make properties public. I have never built a web service but the examples I read seem pretty straight forward you basicly just add the attribute in the right places. Sorry thats all I know.

Web Service and Flash 5

I have been asked to write my first web service to extract a number of records from an access database.

Creating a web service which extracts records isn't a problem but if the client application is a flash site then how can it make use of the dataset from the web service.

Does Flash support .net ?Yes, but not in the way you want to use it. .Net can render out OBJECT tags to a client browser, in which flash directives for the Flash plugin live. But, you don't want that. You want to get information from a .Net webservice (could be a Java webservice).

To do that, you need to use SOAP.

Flash supports XML documents though and that's all that is needed to communicate with a SOAP protocol like a .Net webservice.
http://www.flash-db.com/Translate/TranslateClient.php?page=1