public static string GetItemTypeGroups() { // Request authentication var mieClient = new MieProducer.epcvServiceSoapClient(); var data = mieClient.ksoGetItemTypeGroups(GetLogin("SMARTWEB")); return(data); //// Serialise result //XmlSerializer serializer = new XmlSerializer(typeof(MieTables)); //using (var reader = new StringReader(data)) //{ // return (MieTables)serializer.Deserialize(reader); //} }