How to parse single xml node in Windows Phone, I have described my web service result in code:
void abcd_Completed(object sender, ServiceReference1.abcdCompletedEventArgs e)
{
Xdocument doc = XDocument.Parse(e.Result);
}
my e.Result is
<root>1234</root>
if I run this code in emulator, I am getting the result but in device it returns error like this:
"Data at Root level is invalid"
how to solve this..I am stuck here.Thanks!!