Hi,
An exception of type 'System.Xml.XmlException' occurred in System.Xml.dll but was not handled in user code
Using code:
HttpWebRequest request = CreateSOAPWebRequest();
XmlDocument SOAPReqBody = new XmlDocument();
//SOAP Body Request
StringBuilder strRequest = new StringBuilder();
strRequest.Append("");
strRequest.Append("");
strRequest.Append(" ");
strRequest.Append("");
strRequest.Append("");
strRequest.Append("" + constant.Roomkey + "
strRequest.Append("");
strRequest.Append("");
strRequest.Append("");
SOAPReqBody.LoadXml(strRequest.ToString());
Please help me to solve this error.
2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nilesh ShahPosted Oct 24, 2017, 9:00 AM
that's it!
Midhun TpPosted Oct 25, 2017, 12:49 AM