Hi everybody, I am involved in my first web project in Navision. The client is using another company for creating the web site and we are responsible for providing the info about the format of the files that will be going back and forth. We are using mostly the same jobs that Commerce Portal is using. The web company has obviously asked for the schemas files and sample XML files of all the files going to Navision and out of Navision and to me that sounds like a sensible request. What I am amazed is that I could not find any schemas or XML files provided by Navision [}:)] (well not too amazed because after all I worked with Navision for at least 4 years so you learn to expect this kind of behaviour [;)]) So right now I am reduced to reading the codeunits: XML Document Encode and XML Document Decode and creating schemas based on their functions. Very very boring job [xx(] So I was wondering if I am missing something or really this is what everybody had to do the first time at least … Any comments will be greatly appreciated … Cristi
Hey, there are a couple of standardized xml-schemas from navision. They are in the commerce gateway package. After installing the commerce gateway package you will find those schemas in the biztalk repository. If needed I can send you those schemas. Fred
Hi Friedhelm, I did actually find those but as far as I could see they do not match the apparent structure from the codeunits I mentioned. Maybe I am wrong on that. Thanks for your reply though. Cristi Nicola
You could also read the XML files into Visual Studio or XMLSpy. These tools can create schemas automatically for the XML files.
Hi Sharma, The problem is not how to do schemas. The problem is how do you get from Navision code for reading or writing an XML file to a XML or schema file without going through the entire code yourself. Cristi