[BISERVER-12154] Fix build problem on code calling endpoint method directly
Merge pull request #508 from tkafalas/feature

[BISERVER-12154] Fix build problem on code calling endpoint method direc...