Refer to the following code, which is a part of an xml validation:
...
filename = "OrderDetails.xml";
FileStream stream = new FileStream( filename , FileMode.Open);
XmlValidatingReader reader = new XmlValidatingReader(stream);
...
Gavin is trying to open an xml which contains "order details" returned by a Web service, through this code, but an error is being generated in the code. Which of the following might be the cause of error?
Correct Answer:
In the constructor of XmlValidatingReader, FileStream object is passed instead of XmlTextReader object
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Web Services MCQ Questions