deserialize xml into class - debug my code, real quick project
Closed - This job posting has been filled and work has been completed.
I am having an issue de-serializing my xml into a class. I am almost done, I just need someone to help out. This should be easy and only take a very short time, way less than an hour.
I will attach the xml. I can only upload one file so I can send the class later. Here is the function that I can't get to work:
public static OrderResponse GetOrderResponseFromXml(string xml)
OrderResponse responseObject = new OrderResponse();
var xSerializer = new XmlSerializer(typeof(OrderResponse)
using (var reader = new StringReader(xml))
XmlSerializer serializer = new XmlSerializer(typeof(OrderResponse)
responseObject = (OrderResponse)serializer.Deseriali
catch (Exception exception)