This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Please enhance netbeans to be able to easily and reliable change jaxws tooling imlementations. see also : 173668
The only workaround for now is to change the content(jar files) in JAX-WS 2.1 library - in Library Manager. (Tools -> Libraries). You can change those jars that, de-facto it will be JAX-WS 2.2 library. Note: the content of nbproject directory, especially ant scripts shouldn't be modified by user.
There is another, legal and recommended by Netbeans, workaround to change targets in jaxws-build.xml. - imagine that nbproject/jaxws-build.xml is imported to nbproject/build-impl.xml, which is imported to build.xml. - build.xml is the file designated for user modification - not files under nbproject folder - you can simply copy any target (e.g wsimport-init target) from nbproject/jaxws-build.xml to build.xml, then modify it in build.xml - when you run/build the project the target from build.xml will be used, not one from jaxws-build.xml.