While working with flash and asp.net web services I learned that you can send a custom class object to an ASMX. That service can then take your object and have it's way with it. This is pretty killer because you can share custom classes between .net and as, assuming the class definitions match, and the datatypes don't get too complex.
If you have to work with webservices from flash, checkout the WebService class. It's sweet. So much so that I don't understand why I even need Flash Remoting. I mean, I can send and receive my custom class on the flash side as well as the .net side.
Currently I only see the following limitations with this magic flash to soap communicado.
- No test form on the .asmx page. For a typical asmx file, the .net server can generate a simple test form that you can use to test your webservice. It's great, except for a service that expects your custom class as input
- Simple data types. I haven't tested the waters of what datatypes you can use in your custom object, but I'm guessing you can't venture outside of the basic strings and numbers.
end of line
No comments:
Post a Comment