
java
wsdl2as is a Java application for generating ActionScript 3 stub code to access a SOAP webservice as defined by a WSDL file. The result of running it should typically be a .as file defining a class named after the service, which contains ActionScript methods named after the operations in the WSDL. It is only intended to work with document/literal style services! Why? Flex already includes WebService support, but all the code is dynamically-typed, which means the compiler is less likely to spot coding errors caused by changes in the server-provided interface. Programming against wsdl2as-generated code will give the compiler a chance to spot when you try to call a method that doesn't exist, or pass a parameter who's type has changed.

