I have an issue trying to integrate Navision with a webservice.
I can read in the XML fine via soap and can load this into an XMLDom object. My problem is caused by the format of the data.
The data in the XML does not map onto any navision fields and therefore I need to handle each tag individually to decide what I need to do with the information [:’(]
The xml returned will be in this format:
The list of fields and name of fields will vary from record to record and new ones will be added over time that will need to be handled and this is oiut of mu control. (I will be looking up the field/tag name in a separate table to handle this!).
So what I need to be able to do is take each ‘record’ tab in turn and then read the list of field/tag names and values in order whatever they may be.
I have done something similar using ‘getelementsbytagname’ in C# but can’t seem to get this working in Navision.
Any ideas or pointers in the right direction would be hugely appreciated. I’m sure there is an easy way of doing this but I think my brain has fried in the heat [;)]