20.03.2012, 00:12 | #1 |
Участник
|
emeadaxsupport: AIF XML file generator
Источник: http://blogs.msdn.com/b/axsupport/ar...generator.aspx
============== Creating an xml file for the file adapter to call an AIF service on AX 2012 can be very difficult. This tool is aimed at helping you create the XML file. The directions for how you use it are below. Instructions
// up maxBufferSize, e.g. to 10240000 // up maxReceivedMessageSize, e.g. to 10240000 // up maxStringContentLength, e.g. to 81920 // endpoint // Service URL for integration port "AifGDS": // endpoint -> address, e.g. to net.tcp://myAOS:8201/DynamicsAx/Services/AifGDS // Endpoint identity (e.g. machine that is hosting AOS/services): // endpoint ->identity -> dns -> value, e.g. myAOS.myDomain.com Since the tool relies on data in AX, you need to specify a company for which at least one record exists for the query; the usage from a command line in the directory to which both files have been copied is as follows: Usage: axdTool getSampleAxd|getSampleEk Example 1: "axdTool getSampleEk AxdSalesOrder DAT" Example 2: "axdTool getSampleAxd AxdCustomer CEU > AxdSalesOrder.xml" Once the xml file is generated open the file in Visual Studio and save it. Saving it in Visual Studio will correct the line breaks and make the xml viewable from Internet Explorer. Please note the following: The xml that is generated does not include the header information. This tool is an unsupported tool that has not been officially tested. The xml that is generated is for a read operation. You will need to modify it for creates, updates and deletes. Источник: http://blogs.msdn.com/b/axsupport/ar...generator.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|