public static AddInfoReportWrapper GetAddInfo() { // Request authentication var mieClient = new MieProducer.epcvServiceSoapClient(); var data = mieClient.ksoGetAddInfo(GetLogin()); // Serialise result XmlSerializer serializer = new XmlSerializer(typeof(AddInfoReportWrapper)); using (var reader = new StringReader(data)) { return((AddInfoReportWrapper)serializer.Deserialize(reader)); } }