Im trying to deserialize the response from this simple web service
Im using the following code:
WebRequest request = WebRequest.Create("http://inb374.jelastic.tsukaeru.net:8080/VodafoneDB/webresources/vodafone/04111111");
WebResponse ws = request.GetResponse();
XmlSerializer s = new XmlSerializer(typeof(string));
string reponse = (string)s.Deserialize(ws.GetResponseStream());
Declaring XmlSerializer as
XmlSerializer s = new XmlSerializer(typeof(string),new XmlRootAttribute("response"));
is enough.