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.
This bug reproduced with JDK 6 and not reproduced with JDK 1.5. Steps to reproduce: - Create project Samples > Identity Blueprints > Stock Client. - Build created sample project. - Notice that build failed with the following output message: wsimport-client-StockService: D:\Sun\Temp11\StockQuoteClient\StockQuoteClient\nbproject\build-impl.xml:308: You are running on JDK6 which comes with JAX-WS 2.0 API, but this tool requires JAX-WS 2.1 API. Use the endorsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/guides/standards/), or set xendorsed="true" on <wsimport>. BUILD FAILED (total time: 1 second)
Peter, pls file a P1 on web services for your eval on this issue.
For J1, to work around this issue, I took out all dynamic changes to the generated StockQuoteClient project to avoid regeneration of the build-impl.xml. This includes taking out appending a number to the project name which can trigger the regeneration of the build-impl.xml. I'll file a separate bug against websvc core on the issue of xendorsed flag but at least this won't be a showstopper for us anymore.
I am reopening this bug because the workaround is not working.
Just verified the fix for 102424 against our StockQuoteClient sample project.
Fix verified on the NB M9 CB #25 because this fix not in the latest NBI build 20070428.