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.
Hi In jaxws client project do folowing steps: 1) change jaxws-build.xml so that we can use jaxws22 ( will need diferent classpath) will need something like: <target name="wsimport-init" depends="init"> <mkdir dir="${build.generated.sources.dir}/jax-ws"/> <taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport"> <classpath path="${libs.JAX-WS2.2.classpath}"/> </taskdef> </target> 2) go refresh client and the coompile will complain that we need to set xendorsed=true. 3) go to Edit Web Services attributes and add xendorsed option 4) step 3 reverts jaxws-build.xml to old classpath ( we actualy lost our reference to jaxws22 ) The reverting of the classpath is counterintuitive because: 1) does not appear in "Edit Web Services " dialog 2) jaxws-buld.xml does not contain any comment warning about how to customize. Thanks, Andrei.
The content of nbproject directory isn't designated for user modification. See the similar issue 172392. There was a little improvement implemented - some comments added to jaxws-build.xml to warn user not to modify ant script. In Netbeans 6.8 you'll see : <!-- *** GENERATED FROM jax-ws.xml - DO NOT EDIT ! *** *** TO MODIFY wsimport options USE Web Service node -> Edit WS Attributes *** *** TO CHANGE TARGETS GENERATED TO jaxws-build.xml COPY THOSE *** *** TARGETS TO ../build.xml AND MODIFY THAT FILE INSTEAD *** I agree that changing classpath for wsimport task is quite impossible. But this is another issue : issue 173884.