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

DevaDeva Member Posts: 34
edited 2009-04-07 in Dynamics AX
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"&gt;
- <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&gt;
</Header>
- <Body>
- <MessageParts xmlns="http://schemas.microsoft.com/dynamics/2008/01/documents/Message"&gt;
- <Item xmlns="http://schemas.microsoft.com/dynamics/2008/01/documents/Item"&gt;
- <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
Sign In or Register to comment.