AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 20.03.2012, 00:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
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
  • From the attached zip file copy both the axdTool.exe and axdTool.exe.config files into the same directory.
  • Modify the axdTool.exe.config using Notepad, Visual Studio or any XML editor. The config file needs to point to your AOS on your domain.
// netTcpBinding:
// 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, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
axinthefield: AIF File Adapter for AX 2009 - Security Authorization Blog bot DAX Blogs 0 23.06.2011 21:11
paruvella: Generation of XML file from DAX, without using AIF Blog bot DAX Blogs 0 23.04.2010 12:05
AIF - xml file drop Damon DAX in English 2 12.01.2010 13:29
axStart: InfoPath with default AIF file inbound offline Blog bot DAX Blogs 0 20.05.2008 19:05
axStart: How to use XSLT in AIF and what’s wrong with empty xml Nodes. Blog bot DAX Blogs 0 27.04.2008 18:07

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 15:10.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.