If we use 'char' datatype in our Webservice then an error is generated on the browser but not on the simulator.
Below is a sample Webservice method :
Code: Select all
[OperationContract]
        public TestClass Test1()
        {
            TestClass t = new TestClass();
            t.CharValue = 'A';
            return t;
        }
        public class TestClass
        {
            public char CharValue { get; set; }
        }
On referencing the Webserivce in our Application we faced an error (on browser) which states as - "this.CharValueField.Equals is not a function"
Kindly suggest.
Regards,
-A