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.
jaxws-build.xml is not created correctly when adding Web Service Client to the project. This problem have been reported previously, but is marked as FIXED. See #135473. I've tried several suggested workarounds: - Open and closing property setting for project - removal of jaxws-build.xml - with the following restart of NB. - with close and open of project. - manually correct jaxws-build.xml (fails since build-impl.xml does not import jaxws-build.xml, and manually editing of build-impl.xml is overwritten by NB, have tried cancel on the warning also) - Alternating Tomcat and Glassfish as target application server. So I tried a different approach. Created a new user one my computer and ran NB on that user. This NB was not updated with latest patches. With this account I could add Web Service Client without problem. So it looks like some degeneration of Userdir? I've included two zip-files, they contain a project that intends to use the CalculatorWSApplication from the HOW-TOs. First file is the newly created project, and the secont is from where I've just added the Web Service Client. Information on my NetBeans: Product Version: NetBeans IDE 6.1 (Build 200804211638) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05 System: Linux version 2.6.25.6-27.fc8 running on i386; UTF-8; nb_NO (nb) Userdir: /home/dag/.netbeans/6.1
Created attachment 63597 [details] Newly created project
Created attachment 63598 [details] Same project, now added Web Srvice Client
I saw the problem with NetBeans 6.1, but I do not see the problem with NetBeans 6.5. Perhaps that will fix your problem. The irony is that I had no initial problems creating web service clients in 6.1; the problem only recently arrived.
I tested both projects in Netbeans 6.5.. The second project is fixed automatically on project open : jaxws-build.xml is generated correctly, and included to build-impl.xml