Options

XMLPort Webservice Error - Could not process node

pfancy79pfancy79 Member Posts: 9
edited 2012-06-01 in NAV Three Tier
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

Comments

  • Options
    kinekine Member Posts: 12,562
    Have you some solution to this? I have same problem now...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    ArmondsArmonds Member Posts: 66
    I'm getting the same error message. NAV build 33319

    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.
  • Options
    ArmondsArmonds Member Posts: 66
    hm, interesting, just me ran in such problem?

    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 :)
Sign In or Register to comment.