Menu
Thanks for the answer. Regarding the FM IDXXMLTOIDOC, I thing that I can't use it directly because I have to write a program, I have to read the Xml file (that is located in a special directory of the operative system) and then use the FM putting xml data in the XMLDATA import parameter. Dynamics AXConfigure Inbound Port in AX 2012 to handle Bigger size XML coming inside via AIF. The maximum size of the XML message that AX can receive is 64kb. In order to accept the XML of bigger size, we have to configure the Inbound port. The web.config is created from the configuration of the inbound port.
It also depends on the size of the XML, we have seen large file sizes that caused the XMLDocument class to consume too many memory because it loads the XML in memory.You could also use the XMLTextReader if you need performance and you don't need schema validation.If you do need schema validation, you would have to stick to XMLDocument. (check out this articleCheck out this article on codeproject that explains XMLTextReader in full detail.Also, I was wondering, do you have ownership of the application that produced the XML file?
![Sample Sample](/uploads/1/2/5/6/125603118/385004988.png)
If it is something you have in your own hands, you might consider creating an AIF Custom service and call this from your other application. (But I guess you are not the owner of the application producing the XML file you want to import.).