ASMX + Silverlight asynchronous-call issue after code is generated

Mar 22, 2009 at 1:24 AM
Edited Mar 22, 2009 at 9:12 AM
There are 2 problems against code-generation so I have to manually modified the source code (WCF + Silverlight asynchronous-call works well).

Issue #1: ASMX back-end service contracts/implementations need to support asynchronous method pair like "BeginXXX" and "EndXXX", o/w the client-side (Silverlight) would not get the data as expected;

Issue #2
: Client-side (Silverlight) service references need to add 2 attributes in "BeginXXX" to deserialize the return type as the following:

Thanks for any feedback !
Mar 22, 2009 at 1:23 PM
Issue #1 could be omitted. Issue #2 was the real cause !
Mar 23, 2009 at 12:31 PM
Answered here: