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 75328 - WS Clients recognized as web services
Summary: WS Clients recognized as web services
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-21 10:48 UTC by Milan Kuchtiak
Modified: 2006-06-09 09:28 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kuchtiak 2006-04-21 10:48:22 UTC
This is the scenario :

1. Create a web service client in WEB/EJB project.
(e.g. for http://www.webservicex.net/stockquote.asmx?WSDL service)

2. add additional src directory:build/generated/wsimport/client in project
customizer

3. restart the IDE

You'll see the StockQuoteSoap web service under project's Web Services node.

This is especially nasty bug, since build/generated/wsimport/client need to be
automatically added to code completion. And it was already done in web project :
http://web.netbeans.org/source/browse/web/project/src/org/netbeans/modules/web/project/classpath/SourcePathImplementation.java?r1=1.4.30.3&r2=1.4.30.3.2.1

We need to exclude :

build/generated/wsimport/client
build/generated/wsimport/service
build/generated/wscompile

from Annotation listener
Comment 1 Milan Kuchtiak 2006-04-21 11:43:45 UTC
It is enough to exclude classes generated in :

build/generated/wsimport/client
build/generated/wsimport/service

directories.
Comment 2 Milan Kuchtiak 2006-04-26 14:06:55 UTC
Increasing priority to P1 as it is happenning not only when IDE is restarted,
but for example, when you create web service from WSDL - multiple web service
nodes are created in web/ejb project. 
Comment 3 Marek Fukala 2006-04-27 17:24:36 UTC
fixed in release55

Checking in ide/golden/deps.txt;
/cvs/ide/golden/deps.txt,v  <--  deps.txt
new revision: 1.175.2.4.2.75; previous revision: 1.175.2.4.2.74
done
Checking in websvc/jaxwsmodel/nbproject/project.xml;
/cvs/websvc/jaxwsmodel/nbproject/Attic/project.xml,v  <--  project.xml
new revision: 1.1.2.13; previous revision: 1.1.2.12
done
Checking in
websvc/jaxwsmodel/src/org/netbeans/modules/websvc/jaxwsmodel/project/metadata/JAXWSNNListener.java;
/cvs/websvc/jaxwsmodel/src/org/netbeans/modules/websvc/jaxwsmodel/project/metadata/Attic/JAXWSNNListener.java,v
 <--  JAXWSNNListener.java
new revision: 1.1.2.8; previous revision: 1.1.2.7
done


Comment 4 Marek Fukala 2006-04-27 17:30:30 UTC
fixed in release55_beta

Checking in ide/golden/deps.txt;
/cvs/ide/golden/deps.txt,v  <--  deps.txt
new revision: 1.175.2.4.2.74.2.1; previous revision: 1.175.2.4.2.74
done
Checking in websvc/jaxwsmodel/nbproject/project.xml;
/cvs/websvc/jaxwsmodel/nbproject/Attic/project.xml,v  <--  project.xml
new revision: 1.1.2.12.2.1; previous revision: 1.1.2.12
done
Checking in
websvc/jaxwsmodel/src/org/netbeans/modules/websvc/jaxwsmodel/project/metadata/JAXWSNNListener.java;
/cvs/websvc/jaxwsmodel/src/org/netbeans/modules/websvc/jaxwsmodel/project/metadata/Attic/JAXWSNNListener.java,v
 <--  JAXWSNNListener.java
new revision: 1.1.2.7.2.1; previous revision: 1.1.2.7
done
Comment 5 Jaroslav Pospisil 2006-06-09 09:28:18 UTC
Verified in 200606080200