The problem is that I'm using this function to call a method (automation c# dll that is consuming a WCF Service).
Is there any way to pass this number of parameters without getting this error?
I have this problem once and I solve this by changing dll (less parameters) - if i good remember 16 is max
One more: For first (temporary solution) - i create new control in .Net (only few parameters i need) which call "too much parameter" dll . From Nav I use this new indirect control so it works... but i dont' have to use all parameters.
ok but the problem is that if I divide the method inti two methods it will be too much transactions from nav to the wcf service with will cause a problem of performence
It could be one object with a method (or 2, or 3) to set parameters and a method to call the other object, the WCF service. So in C/AL you'd have a couple of calls to set the parameters, and then a call to the method that calls the service. You would not call the service directly but your custom one. Kind of like a wrapper. It would still be one transaction to the service, but multiple function calls in C/AL.
Comments
Is it something like this?
viewtopic.php?f=23&t=12549
viewtopic.php?f=23&t=31720
http://www.BiloBeauty.com
http://www.autismspeaks.org
Hanen TALBI
You've hit a parameter limit.
Did any of the posts help you out?
http://www.BiloBeauty.com
http://www.autismspeaks.org
Is there any way to pass this number of parameters without getting this error?
Thank you
Hanen TALBI
One more: For first (temporary solution) - i create new control in .Net (only few parameters i need) which call "too much parameter" dll . From Nav I use this new indirect control so it works... but i dont' have to use all parameters.
Hanen TALBI
RIS Plus, LLC