I'm writing a client for a protocol that uses HTTP to transport XML messages. It is synchronous because I form an XML document that follows a DTD and send it to a gateway for the protocol via POST with the WebClient class and I get an XML response message from the remote server to indicate transaction state/message ID/etc.
Since I have the DTD, is it possible to create classes with it? There are a handful of possible responses for each type of "operation" my XML message is performing and having classes that could be hydrated by the returned server XML would be advantageous.
Once I have those classes, what are the basic steps to deserializing the XML message from the server into objects?