web
You’re offline. This is a read only version of the page.
close
Skip to main content
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,361 on at
    RE: D365 Finance custom web services are terminated on timeout

    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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,004

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 582 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans