Hi Jason,
u probably can, but you dont *have* to use remoting.
You can create a reference to the webservice by simply using:
new WebService("http://location to your webservice here.asmx?wsdl",
this.logger);
Look at this one for example
http://www.flash-db.com/services/tutorials/mxclasses/mxwebservices.php?page=
2
I do think you need to include the WebserviceClasses in your swf, by
dropping them in your library (from window, common libraries).
Drop a button on your stage, name it result_btn, and copy and paste the code
from the example.
greetz
Hans
________________________________
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Merrill, Jason
> Sent: Thursday, May 18, 2006 4:35 PM
> To: [email protected]
> Subject: [Flashcoders] .NET and XML Web services
>
> I've been using XML in Flash for a while, just by loading in
> a physical XML file from a server. In my new job I have an
> ASP.NET coworker who said they wouldn't be able to create a
> flat .xml file on the server for me because of security
> restrictions, so he said he will be providing a Web service -
> sending XML data directly to my Flash file. I assume Flash
> Remoting is the way to go: call an ASP page with Remoting and
> get XML returned from it? Or how does that work? I have
> done some Remoting before. What is the best approach?
>
> Is there any sample code anyone can send? And is there any
> .NET XML web service someone has out there publicly that I
> can try and connect to to test this out? Thanks!
>
> Jason Merrill
> Bank of America
> Learning and Organizational Effectiveness Technology Solutions
>
> _______________________________________________
> [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