scala: generate service interface and operations map for servlet