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.

Bug 138478 - Target wsimport-client does not exist in the project
Summary: Target wsimport-client does not exist in the project
Status: RESOLVED WORKSFORME
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Roderico Cruz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-27 13:37 UTC by dagbj
Modified: 2008-11-25 16:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Newly created project (13.85 KB, text/plain)
2008-06-27 13:37 UTC, dagbj
Details
Same project, now added Web Srvice Client (18.67 KB, text/plain)
2008-06-27 13:38 UTC, dagbj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dagbj 2008-06-27 13:37:10 UTC
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
Comment 1 dagbj 2008-06-27 13:37:55 UTC
Created attachment 63597 [details]
Newly created project
Comment 2 dagbj 2008-06-27 13:38:27 UTC
Created attachment 63598 [details]
Same project, now added Web Srvice Client
Comment 3 pitonyak 2008-08-06 18:33:32 UTC
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. 
Comment 4 Milan Kuchtiak 2008-11-25 16:36:38 UTC
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