The point is that I'm not the one how develops the war so I don't know the context root and service name.
My current work around is to read this data from the generated sun-web.xml
[Message sent by forum member 'wierob' (wierob)]
http://forums.java.net/jive/thread.jspa?messageID=218974