[OPENENGSB-3776] fetch query service and fix compile errors
Merge pull request #924 from stfnsche/master

[OPENENGSB-3776] fetch query service and fix compile errors