I am currently experiencing a strange problem relating to an XMLPort exposed through a Webservice.
When calling the function to import a record through C# I receive an error back:
Could not process node nodename
The strange part is that the record in Navision has been created successfully.
I have serialized the class to generate the XML that is being sent across and can import this without any error by calling a codeunit through the Classic Client.
Has anyone else come across this behaviour?
Thanks
Paul
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Error is caused by attribute xmlns to the root node.
What's interesting if I rename attribute to xmlns2 there is no error massage and XML file is generated correctly.
Any way it was kind of fun. First I tried to remove empty xmlns attributes with xsl, then with IXMLDOMNode automation.
At end I got it done with IXMLDOMElement