AX 2009 - AIF-Adapter Based Exchange-File System-Inward Exch

Deva
Member Posts: 34
Dear Experts
I am working on Dynamics AX 2009 AIF - Adapter Based Exchange - File System based trying to push Item details through an XML file. I could sucessfully export the data from the AX 2009 through AIF, whereas I couldnt import them inside the system - the batchfiles are bringing the data from the folder into the Axapta Queue and from there it is not getting pushed into the tables - I have called the two services - AIFGatewayReceiveService and AIFInboundProcessingService through batch.
Here is the configuration which I made:
1. Created Local Endpoint - default to company
Company - DAT
Local endpoint - Local1DAT
2.Transport Adapters
Adapter Class - AifFileSystemAdapter
Name - File System Adapter
Active - Yes
Direction - Receive Or Send
3.Channels
Channel ID - CHN003
Name - File System Channel
Active - Yes
Adapter - File System Adapter
Direction - Outbound
Parallel Processing - No
Address - F:\Test Folder\
Response Channel -
Channel ID - CHN004
Name - File System Channel
Active - Yes
Adapter - File System Adapter
Direction - Inbound
Parallel Processing - Yes
Address - F:\Test Folder 1\
Response Channel - CHN003
4. Endpoints
Endpoint ID - Inbound-Item
Name - Item Inbound
Active - Yes
Propogate Errors - Yes
Intercompany Organization - No
Outbound channel ID - CHN003
Local endpointID - Local1Dat
No Contraints
Users - User group - Admin - Administrators
Action Policies for this Endpoint
Action ID - InventItemService.create
Is default policy - No
Status - Enabled
External identifier override
Class Name - InventItemService
Logging mode - Log Original {Datapolicy - required all enabled fields}
<<<<<<<<<<<<<<<<<<<<XML>>>>>>>>>>>>>>>>>>>>>
<?xml version="1.0" encoding="UTF-8" ?>
- <Envelope xmlns="http://schemas.microsoft.com/dynamics/2008/01/documents/Message">
- <Header>
<MessageId>{AA9EC7EB-CE57-4C07-AA2D-0F2FFBA3E79F}</MessageId>
<SourceEndpointUser>domain\user_id</SourceEndpointUser>
<SourceEndpoint>Inbound-Item</SourceEndpoint>
<DestinationEndpoint>Local1DAT</DestinationEndpoint>
<Action>http://schemas.microsoft.com/dynamics/2008/01/services/InventItemService/create</Action>
</Header>
- <Body>
- <MessageParts xmlns="http://schemas.microsoft.com/dynamics/2008/01/documents/Message">
- <Item xmlns="http://schemas.microsoft.com/dynamics/2008/01/documents/Item">
- <InventTable class="entity">
<DimGroupId>C-W</DimGroupId>
<ItemGroupId>GRP-0001</ItemGroupId>
<ModelGroupId>AVG</ModelGroupId>
- <Sales class="entity">
<ItemId>ITEM0002</ItemId>
</Sales>
- <Purch class="entity">
<ItemId>ITEM0002</ItemId>
</Purch>
- <Invent class="entity">
<ItemId>ITEM0002</ItemId>
</Invent>
- <InventItemLocation class="entity">
<ItemId>ITEM0002</ItemId>
</InventItemLocation>
- <InventItemSalesSetup class="entity">
<ItemId>ITEM0002</ItemId>
</InventItemSalesSetup>
- <InventItemPurchSetup class="entity">
<ItemId>ITEM0002</ItemId>
</InventItemPurchSetup>
- <InventItemInventSetup class="entity">
<ItemId>ITEM0002</ItemId>
</InventItemInventSetup>
</InventTable>
</Item>
</MessageParts>
</Body>
</Envelope>
Please correct if my configuration is wrong. Thanks in advance.
Thanks,
Deva
I am working on Dynamics AX 2009 AIF - Adapter Based Exchange - File System based trying to push Item details through an XML file. I could sucessfully export the data from the AX 2009 through AIF, whereas I couldnt import them inside the system - the batchfiles are bringing the data from the folder into the Axapta Queue and from there it is not getting pushed into the tables - I have called the two services - AIFGatewayReceiveService and AIFInboundProcessingService through batch.
Here is the configuration which I made:
1. Created Local Endpoint - default to company
Company - DAT
Local endpoint - Local1DAT
2.Transport Adapters
Adapter Class - AifFileSystemAdapter
Name - File System Adapter
Active - Yes
Direction - Receive Or Send
3.Channels
Channel ID - CHN003
Name - File System Channel
Active - Yes
Adapter - File System Adapter
Direction - Outbound
Parallel Processing - No
Address - F:\Test Folder\
Response Channel -
Channel ID - CHN004
Name - File System Channel
Active - Yes
Adapter - File System Adapter
Direction - Inbound
Parallel Processing - Yes
Address - F:\Test Folder 1\
Response Channel - CHN003
4. Endpoints
Endpoint ID - Inbound-Item
Name - Item Inbound
Active - Yes
Propogate Errors - Yes
Intercompany Organization - No
Outbound channel ID - CHN003
Local endpointID - Local1Dat
No Contraints
Users - User group - Admin - Administrators
Action Policies for this Endpoint
Action ID - InventItemService.create
Is default policy - No
Status - Enabled
External identifier override
Class Name - InventItemService
Logging mode - Log Original {Datapolicy - required all enabled fields}
<<<<<<<<<<<<<<<<<<<<XML>>>>>>>>>>>>>>>>>>>>>
<?xml version="1.0" encoding="UTF-8" ?>
- <Envelope xmlns="http://schemas.microsoft.com/dynamics/2008/01/documents/Message">
- <Header>
<MessageId>{AA9EC7EB-CE57-4C07-AA2D-0F2FFBA3E79F}</MessageId>
<SourceEndpointUser>domain\user_id</SourceEndpointUser>
<SourceEndpoint>Inbound-Item</SourceEndpoint>
<DestinationEndpoint>Local1DAT</DestinationEndpoint>
<Action>http://schemas.microsoft.com/dynamics/2008/01/services/InventItemService/create</Action>
</Header>
- <Body>
- <MessageParts xmlns="http://schemas.microsoft.com/dynamics/2008/01/documents/Message">
- <Item xmlns="http://schemas.microsoft.com/dynamics/2008/01/documents/Item">
- <InventTable class="entity">
<DimGroupId>C-W</DimGroupId>
<ItemGroupId>GRP-0001</ItemGroupId>
<ModelGroupId>AVG</ModelGroupId>
- <Sales class="entity">
<ItemId>ITEM0002</ItemId>
</Sales>
- <Purch class="entity">
<ItemId>ITEM0002</ItemId>
</Purch>
- <Invent class="entity">
<ItemId>ITEM0002</ItemId>
</Invent>
- <InventItemLocation class="entity">
<ItemId>ITEM0002</ItemId>
</InventItemLocation>
- <InventItemSalesSetup class="entity">
<ItemId>ITEM0002</ItemId>
</InventItemSalesSetup>
- <InventItemPurchSetup class="entity">
<ItemId>ITEM0002</ItemId>
</InventItemPurchSetup>
- <InventItemInventSetup class="entity">
<ItemId>ITEM0002</ItemId>
</InventItemInventSetup>
</InventTable>
</Item>
</MessageParts>
</Body>
</Envelope>
Please correct if my configuration is wrong. Thanks in advance.
Thanks,
Deva
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions