I have a c# application working on webservices from NAV. I would like to speed up the connection and came to wounder if the size of a page (amount of fields included) matters.
If for instance I have the following two methods in c# calling a webservice/page calles wsSalesOrder:
private void updateSalesOrder(SalesOrder so)
private SalesOrder GetSalesOrder(string key)
If a SalesOrder object on the read contains 10 fields instead of 100 fields will this matter. I would say yes, but is there really any difference? Same for Update, which may be even more "expensive" to run. I have not taken the time to "trim" the fields in my pages, but if this gives me a better performance I will do so.
It is obvious that the a call (sending one parameter) for a codeunit which updates a single value will be much faster then sending the entire page object as in the above mentioned method "update". But I am not sure if the update is faster if the page contains less fields.