web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Dynamics AX 2012 R2 AIF Processing large XML SalesOrder File from Magento

(0) ShareShare
ReportReport
Posted on by 245

Client's Dax 2012 R2 environment will bog down when trying to consume a well formed AIF SalesOrder XML file from Magento. File can contain 100-300+ individual sales orders. AIF response will time out and the Sales Orders will not completely process the orders. The following error is shown in the event log

Service did not receive a reply within the configured timeout (00:05:00).  The time allotted to this operation may have been a portion of a longer timeout.  This may be because the service is still processing the operation or because the service was unable to send a reply message.  Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) and ensure that the service is able to connect to the client.

Options are:

  • Increase the AIF Inbound Port-AOS configuration time outs from 5 Min to 10 or 20 min (max). (Will this need to have AOD bounced and or WCF config rebuilt?)
  • Programmatically  split Sales Orders into individual Sales Order XMLs
  • have Magento send smaller files or individual sales order files

Thanks in Advance

Mark Kopan

Client Strategy Group LLC

Senior Dynamics Consultant

*This post is locked for comments

I have the same question (0)
  • Douglas Noel Profile Picture
    3,905 on at

    Hi Mark,

    I really don't have any idea to overcome this.

    1st)  Sure, you can increase the timeouts, but to what value?

    2nd) Splitting: Are you able to 'theoretically' split? What kind of inbound message is it, synchr. call in wcf, or maybe async. call via filesystem import ? I don't know.

    Does your 'service requestor' need any results? Error Handling?

    3rd) Do you have influence on that? If yes - this could be the preferred answer.

    Shorter information seems to be always the best way, in case you really have influence on that.

    regards

    Douglas

  • Mark Kopan Profile Picture
    245 on at

    file is dropped to folder from Magento. XML is well formed DAX enveloped Header/SalesOrder format. It is consumed by DAX, creates the some salesorders, but may error out in the process waiting for the process to complete. Process in parallel is OFF,

  • Mark Kopan Profile Picture
    245 on at

    Theoretical split would occur outside of DAX. SSIS or C# JSON/XQuery to parse then re-wrap in DAX SOR Header envelope then re-drop in AIF pickup folder

  • Martin Dráb Profile Picture
    239,099 Most Valuable Professional on at

    You already iterated your options. What do you want to hear from us?

  • Mark Kopan Profile Picture
    245 on at

    i would like to know why a SalesOrder xml with 100-300 individual sales orders would time out in DAX2012 R2 Inbound AIF and throw the error

    Service did not receive a reply within the configured timeout (00:05:00).  The time allotted to this operation may have been a portion of a longer timeout.  This may be because the service is still processing the operation or because the service was unable to send a reply message.  Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) and ensure that the service is able to connect to the client.

     

    Will increasing the AOS Configure settings on the port time out values to (00:15:00) each will allow the process to complete nominally?

    thanks

  • Martin Dráb Profile Picture
    239,099 Most Valuable Professional on at

    WCF uses several timeouts to prevent resources to be blocked forever. You can modify them, of course (in configuration of both the service and the service client).

    If you believe that the processing takes too much time, you can use tools like Trace Parser to analyze performance of the method in your system.

    Of course, sending shorter messages is a much better approach than setting enormous timeout values.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Basit Profile Picture

Basit 1

#1
GL-01081504-0 Profile Picture

GL-01081504-0 1

#1
Roya Profile Picture

Roya 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans