I have a WCF endpoint which is sending an XML result. My Data contract is as per the follows:
[DataContract(Name = "response")]
public class GetAppointmentResult : response
However my output is showing the XML as <GetAppointmentResult>
.
Is this the wrong way of doing this if the output is XML and therefore using an XML Serializer ?