I've implemented a codeunit which writes a file to disk.
This codeunit is run in the OnRun() method of the codeunit 20 times. When run like this it takes next to no time to run.
However, when I execute it using Webservices 20 times from C# Application then it takes around 5 seconds.
Any ideas where this overhead is coming from?
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Web services it will always be slower than other technology. WS have many XML parsing and validations so it will be always slower then reading directly from database.
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/