WCF Service Opertation : Unable to return collection of type Enumerbale<string> - by c_roots

Status : 


Sign in
to vote
ID 767210 Comments
Status Active Workarounds
Type Bug Repros 4
Opened 10/12/2012 9:33:39 AM
Access Restriction Public


Experiencing the same issue as reported here 


when trying to access results from a service operation,
        public IEnumerable<string> GetSuppliersForCommonReference(int commonReference)

when unit testing recieve exception with message,

Exception message,
An XML node of type 'Element' was found in a string value. An element with a string value can only contain Text, CDATA, SignificantWhitespace, Whitespace or Comment nodes.

tried creating testmethod in web service as per example here,

same result occurs

Sign in to post a comment.
Posted by Microsoft on 10/12/2012 at 9:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)