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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Custom web services are terminated on timeout

(0) ShareShare
ReportReport
Posted on by 10

We have built a one way integration between third party software and D365 Finance. In most cases the third party is calling our custom services and gets a response. However on rare occasions we are facing timeout errors. When this happens the server is closing connection and the third party gets a generic network error. It seems not possible to catch a timeout event\exception with X++. But we would like to avoid timeouts and always send proper responses. We can think of implementing a time counter internally, so just before timeout we can send a proper response and save data if necessary. I wonder if there is any recommended pattern for integrations or maybe someone can share personal experience, it would be appreciated.

I have the same question (0)
  • WillWU Profile Picture
    22,363 on at

    Hi M.K.,

    You can do that in your development and UAT environments,  you need to find the web.config file and update the timeout value there. But you can't reach that in your production environment.

    And please check this blog:" With large data transfers you may hit some not-foreseen limitations and timeout problems on the way. But it is still possible to program some kind of paging mechanism in your service class to send small chunks of larger data to skip these limitations as well."

    devblog.sertanyaman.com/.../

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 456 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans