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, ...
Suggested answer

custom web service time out issue

(0) ShareShare
ReportReport
Posted on by 1,536
Hi Guys,
 
I have a problem, i have a custom web service in ax 2012, which returns agreement list by calling it .Net side, when i change the code to fetch only 1000 records, the webservice is working fine, but when i need to fetched the whole agreement list for a company, the service throw an error, like The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:09:59.9531259'. Can you please help me how to sort out it.
I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    236,495 Most Valuable Professional on at
    custom web service time out issue
    You can increase timeouts, but that that just increases the number of records you can process. It's not a solution that allows processing of any number of records.
     
    The solutions exists - it's called paging. It means that your service will return records in smaller sets, e.g. if you have 1500 records, it may return just 500 at once. The caller will make several requests to get all the data.
     
    Note that the query service in AX 2012 already supports this scenario, so maybe you can a better solution with no development at all.

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 1,933

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 537 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans