In my WCF service with IXmlSerializable class, I get ArrayOfXElement[] instead of ObservableCollecti
- by Scott
I have an existing class (I didn't write) that implements IXmlSerializable. I decided to create a WCF service so my Silverlight application could access this class.
I return the class as List. In the generated proxy, instead of an ObservableCollection like I'm expecting, I get ArrayOfXElement[]. If I remove the IXmlSerializable attribute, I get an the ObservableCollection.
I don't quite understand what is happening, but I just want my SL app to receive an ObservableCollection. Is my only choice to create a DTO class and send back a list of those?
Any advice?