PDA

Click to See Complete Forum and Search --> : web service and Flash MX professional


Shevy
May 6th, 2004, 01:09 PM
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.

Magiaus
May 6th, 2004, 01:14 PM
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.

Shevy
May 6th, 2004, 01:23 PM
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?

Magiaus
May 6th, 2004, 01:28 PM
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.