I have a need to retrieve data of an email address from Exchange Server (our company Exchange Server version is 2007). I have tried to connect to Exchange Server by using Exchange Web Service but I get this error "The expected XML node type was XmlDeclaration,
but the actual type is Element." at the line :
ews.AutodiscoverUrl(txtEmailAccount.Text);
Please tell what it is and how to solve this issue.
phuc pham
Member
16 Points
24 Posts
Error when using Exchange Web Service ?
Feb 24, 2012 05:27 AM|LINK
Hi all,
I have a need to retrieve data of an email address from Exchange Server (our company Exchange Server version is 2007). I have tried to connect to Exchange Server by using Exchange Web Service but I get this error "The expected XML node type was XmlDeclaration, but the actual type is Element." at the line :
ews.AutodiscoverUrl(txtEmailAccount.Text);
Please tell what it is and how to solve this issue.
Thanks for your help.