I consume a third-party web service that uses SOAP XML. I construct my XML request and get XML back like this:
<GetCustomers xmlns="">
<Header>
<Version>1.0</Version>
<Type>GetCustomers</Type>
<GeneratedDate>07/11/2013 13:30</GeneratedDate>
</Header>
<ResultMessage>
<Message>7 Customers found</Message>
<Code>CustomerFound</Code>
<Success>true</Success>
</ResultMessage>
<Customer>
<CustomerName>CUSTOMER ABC</CustomerName>
<CustomerID>33</CustomerID>
<CustomerCode></CustomerCode>
</Customer>
It returns it as an object type XmlNode and I want to convert this response into a ViewModel I have created as part of an MVC 4 app I am building. What is an approach that will work?