The problem is that an ArrayList may be a list of something (thus object[] in error), and the test client cannot handle it. Although it is perfectly legal for WCF to return an array of arbitrary objects, you should consider returning the actual type of interest to the client, in which case the String array should be executed.
In addition, for what costs, on modern (> 1.1) versions of .NET, ArrayList usually not used. Usually a generic List<T> more suitable.
Chris shain
source share