I'm using a java-backed web-script MyWebScript.java for rendering a complex page. The rendering needs the data stored in a text-file stored in share. I've described the solution for the next newbie. It may save a couple of hours :-)

I've found out that webSiteService can be injected in file wcmqs-webapp-context.xml by