Deserializing a xml document for sending it using a WebService
XML / XSL
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have a XML document (that I've got from an InfoPath form) and it has its namespaces.I'd like to deserialize this XML document into a type and send it to a WebService.The type has been generated when I referenced the WebService in my project. When I try to deserialize the XML document I get a "xmlns was not expected" error thrown by XmlSerializer. What should I do to either remove namespaces from the XML document or introduce them to XmlSerailizer so It can recognize QNames? Regards