WebService "OperationTimeout" doesn't really time out. Why?

serdarulutas
Member Posts: 50
Hello,
I have an issue with NAV web service timeout setting.
We set the Web Services "OperationTimeout" property to 00:00:59 from original value "MaxValue" so web services calls would timeout in 59 seconds. I put a SLEEP(100 * 65) command at the end of the NAV function to make it wait enough. The web service-call indeed waited for one minutes and timed out. However, the NAV function seems to have continued running and the write operation is completed. My expectation was that the timeout interrupt NAV process and the changes would be rolled back. This didn't happen.
Any suggestions or comments on this? Maybe I am not doing something right.
Thanks
External Link : https://msdn.microsoft.com/en-us/library/dd355055.aspx
I have an issue with NAV web service timeout setting.
We set the Web Services "OperationTimeout" property to 00:00:59 from original value "MaxValue" so web services calls would timeout in 59 seconds. I put a SLEEP(100 * 65) command at the end of the NAV function to make it wait enough. The web service-call indeed waited for one minutes and timed out. However, the NAV function seems to have continued running and the write operation is completed. My expectation was that the timeout interrupt NAV process and the changes would be rolled back. This didn't happen.
Any suggestions or comments on this? Maybe I am not doing something right.
Thanks
External Link : https://msdn.microsoft.com/en-us/library/dd355055.aspx
0
Comments
-
I noticed this too.
In theory, a webservice call should be fast within a few seconds.
For NAV, you can add a lot of code behind a call and let it take a long time before finishing. I (ab)used NAV webservices in NAV2009 by using them instead of the NAS. I put a command in SQL Server agent to call the NAV webservice to run jobs that before ran using the NAS (but the NAS was not really stable).
When I did my testing, I noticed that I had a timeout in SQL, but my logging in NAV showed me that the process was continuing.
So, I suppose it is normal.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions