Options

XmlPort attribute is not declared

SteveKnottSteveKnott Member Posts: 47
I am struggling with an XMLPort with a combination of elements and attributes.

Importing the file shows the error:

Microsoft Dynamics NAV
Imported XML cannot validate with the schema: The 'Agency' attribute is not declared.

See below the structure of the file.. as well as my XMlport..

I am confused as to why the error ? Any advise is welcome ?

xzeckawxv3n0.png

vo0m0tvn1pww.png

Answers

  • Options
    pschoenmakerpschoenmaker Member Posts: 6
    Hello Steve,

    Met the same issue.
    Did you receive any response to this ?
    Curious how you solved it
  • Options
    SteveKnottSteveKnott Member Posts: 47
    Hi,

    I coded it with XmlDocument in .NET and iterated... never solved the pure XmlPort method.... :(
Sign In or Register to comment.