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.
Simple scenario: 1) Create EJB project 2) Create ws client from wsdl file 3) Build project with error: "Target "wsimport-client-generate" does not exist in the project....." PLEASE, TEST THIS ^%#$%$& IDE BEFORE RELEASING (this build is 200804211638, release version(!), downloaded with open esb) I LOST A WEEK ON THIS BUUUUUUUUUUG!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Sorry for inconvenience. Can you, please, attach the wsdl file ?
This does not have anything to do with wsdl files. I've been researching it more deeply and firstly I thought that newest NB (20.05) fixed it, that is it was generating proper xmls, but finally it turned out, that it is connected with client generation. My situation was that I had a web service generated from wsdl, then I replaced it with normal service created from scratch. NB somehow remembered the fact, that there was ws generated from wsdl and did not deleted proper entry in jax-ws.xml. I erased it manually and even deleted build-impl.xml and jaxws-build.xml, so that NB could regenerate them. It regenerated them wrong (still with targets for wsgen of service generated from wsdl). Then I erased those xmls again, closed the computer and went home after 8 hours of empty work.... At home, opening NB again regenerated those xmls correctly!!! I don't know how and based on what targets "wsimport-service-generate" are included in xmls mentioned earlier. If any other information is needed, I am at your service, but please fix this IDE!! I am in a large project in which we lost about 50% of time on thinking if "it does not work, because it's GF or NB bug or we did something wrong".
Thank You for additional description. Now I think it's more clear. jaxws-build.xml is generated from jax-ws.xml (which is crucial). If something is corrupted in jaxws-build.xml the file should be removed, and the project should be closed and reopened. The content should be re-generated again from jax-ws.xml.
User reported similar issue in nbdocs-feedback.
I fixed some issues related to 2 clients that were generated for 2 wsdl files with the same namespace. I guess, this was the problem of this issue. See the fix: http://hg.netbeans.org/main?cmd=changeset;node=51d0ada647ec See also the similar issue 136831 If the problem still persists, please describe again the scenario (steps) to be able to reproduce. Thanks.
v.
see issue 138478. I tried following this guide (http://wiki.netbeans.org/PlainView.jsp?page=BeginningWithEnterpriseApplication) and when I try to consume a web service, i get: Target "wsimport-client-clean-NewContactWS" does not exist in the project "ContactDemoApplication-war-impl". BUILD FAILED (total time: 0 seconds)
here is my info: Product Version: NetBeans IDE 6.1 (Build 200804211638) Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22 System: Linux version 2.6.24-16-generic running on i386; UTF-8; en_US (nb) Userdir: /home/erick/.netbeans/6.1
This issue should already have been fixed in 6.5. See also the following fix: http://hg.netbeans.org/main?cmd=changeset;node=1f564196dd3e
*** Issue 148580 has been marked as a duplicate of this issue. ***