Before running the wscompile ant task, ensure that javaee.jar is specified in the class path, not j2ee.jar.