I am trying to consume our existing WCF service using Flash 9 (with ActionScript2, for Flash Lite compatibility). However, when I add the service in Adobe Flash Professional CS5, I am not seeing all the details of my service. Specifically, service methods appear but not type information for params and results.
I am able to successfully use other web services. For example, the service described here: http://services.aonaware.com/DictService/DictService.asmx?WSDL which I found linked from a tutorial on using web services with Flash ( http://www.peachpit.com/articles/article.aspx?p=170504&seqNum=3 )
I am using the above, and other working services, as evidence that there is something about my WCF service that is incompatible with this environment. This WCF service currently has working clients written in ASP.NET, Silverlight, and Flex 4 (ActionScript 3).
I started a new WCF Service Application in Visual Studio 2010. Changing nothing about the service, I get the same behavior in Flash. Hopefully this will help others recreate the issue I am seeing.
I have searched and found very few topics that seemed like they could have been this problem, and none had answers. http://stackoverflow.com/questions/1690144/wcf-service-parameters-from-flash-are-empty is an example of one such topic which could be the same error.
I have tried various solutions: I have changed binding types, using basicHttpBinding, wsHttpBinding, and webHttpBinding, all to no avail. I have hosted the service in IIS 7 in addition to hosting it in the VS development environment. I have even made sure to host it on port 80, just in case.
The original WCF service was created in VS2008 with .NET 3.5, but I have recreated this with VS2010 and .NET 4. I am using the 30-day trial of Adobe Flash Professional CS5 to create the Flash client, selecting ActionScript 2 as the type when creating a new Flash document. I have tried using both WebService and WebServiceConnector in Flash. I am new to Flash in general, but I have managed to get other services working, as well as get this service working in Flex 4/ActionScript 3. I feel like I must be missing some obvious configuration issue, but I am running out of places to look. Any help is greatly appreciated.