Hello Chandan,
you are right we can't mix both methods. I've completed my EdmProvider class to define the function import (using method getFunctionImport) and I've implemented the logic in my ODataSingleProcessor class (using method executeFunctionImport).
It works fine. Thanks for your help.
Regards
François