views:

265

answers:

0

I have a generated JAX web service. The class files were created with the wsimport ant task.

Something has gone terribly wrong in my build process. All of a sudden the new code I'm generating is importing the package javax.jws.handlerchain inside the generated files when it never used to. It's also looking for a MyService_handler.xml file on disk in the deployed version, and it never did before. The new version causes a "com.sun.xml.ws.util.UtilException: Could not find handler chain file" at runtime since naturally it can't find the xml file.

What am I doing wrong, and how can I change the build flags to wsimport to make it generate the code the way it used to? I really don't want to be dependent on deploying this xml file if I don't have to.

Thanks!!!