xmlport new node

gonzy1981gonzy1981 Member Posts: 156
edited 2015-07-07 in NAV Three Tier
Hi,
I'm receiving in NAV a xml from a external webservice. The structure of this xml is likely to change in the future, so if the webservice give me a xml with a new node and I haven't changed the structure of the xmlport, NAV will break down, isn't it?. This is going to be a tough taks because I would have to upload the objects to so many clients otherwise their NAVs will crash. ](*,) ](*,) ](*,) ](*,) (this is a vertical solution which call the same webservice)

Do you know if is there any property or any way to ignore these new nodes???
Thanks a lot!

Comments

  • vaprogvaprog Member Posts: 1,140
    Hi

    You may try the UseLax property. However, this causes MinOccurs=Zero to be disallowed, so usually is not an option.

    You probably best forget about XMLports for import altogether until Microsoft learns the meaning of X in XML and implements namespaces, and stuff like your requirements. Instead, use DOM and XPath to get at your data.
Sign In or Register to comment.