Hi,
I am trying to integrate a web app with a Microsoft Navision. I have setup the xml port and have successfully exported the relevant xml. The problem begins when I try to import the xml back to NAV, because I process the data and re-write the xml, I cannot force the order of the elements/attributes and a get the following error message "The attribute is required and don't match...".
Can you please help me.
Best,
Grigoris
*This post is locked for comments
Hey Greg,
No AFAIK .
That's why whenever there is a Cdata it becomes a level more complex for NAV Developers.
To which extent have you processed your XML? Could you have modified it so that elements were swapped somehow?
Ok, but because I process the xml and rewrite it, is the attribute order is not the same and the xmlport (navision) is not processing the xml.
Hi,
The elements correctly are not the problem. But the attributes are, is there a way that the xmlport can process the attributes not in the same order as the xml schema. I understand that the xml specification says that the order of the attributes is not significant.
Best,
Grigoris
Hey Greg,
The Schema what you maid in your NAV XML Port should be one to one mapping along with the Data Types what you are getting from the Web.
Hey,
The Schema what you main in your XML Port should be one to one mapping along with the Data Types what you are getting from the Web.
The order of the elements basically is not important. Can you list you code here? Have you provided us the full error message?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156