I'm using JAX-WS.
When I'm generating stuff for a web service I generate the jaxws package in a 'gen' source folder.
I don't need the compiled stuff so I generate it to a temp folder that I don't care about.
It comes out that I do have to care about that folder because yesterday I got an obscure error:
This error has only 1 (one) hit on Google. Don't trust me?
Try this one out:
http://www.google.com/search?q=%22com.sun.xml.ws.model.RuntimeModelerException%3A+The+serviceName+cannot+be+retrieved+from+an+interface.%22
The use case in the forum has nothing to do with my environment so I cleaned up and everything worked like a charm.
I've always been unhappy with how production unready wsgen is (here).
I got this error when I was working with JAX-WS and I coudn't find any relevant topic on the internet. My problem was that in JAX-WS configuration file "sun-jaxws.xml" was wrongly defined class for implementation of endpoint.
Therefore the JAX-WS coudn't retrive serviceName from interface. I changed the class for correct one and now it works.