I am designing a WCF service which have some operations that i expose to get some data. These operations accept a xml document as a parameter. Is there a way that i can map the nodes of this document to the classes i have created to be used internally?
EDIT: One of the reasons i accept a xml document rather than a strongly typed object is that we can extend the api in the future without having to worry about breaking the structure for the developers who are using the older version. Is there a better way to design api's that can evolve without having to ask the clients to change their existing implementations?