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 102550

Summary: Make generated web service client code visible to the user.
Product: webservices Reporter: tonybeckham <tonybeckham>
Component: JAX-WSAssignee: Roderico Cruz <rcruz>
Status: NEW ---    
Severity: blocker CC: dkonecny, kaktus, petertliu, pjiricka
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 105645    
Bug Blocks:    
Attachments: Screen shot of project navigator w/ red "x" problem
Web App Client project
Web App service project

Description tonybeckham 2007-04-25 22:08:43 UTC
System Info:
NetBeans IDE Dev (Build 070425)
1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87
Mac OS X version 10.4.9 running on i386
en_US (nb); MacRoman

Problem:
Create a new project
Select Identity Sample, Stack Service and Stack Client
On the web app there is a red "x" like something is broken
Expand nodes containing the red x.
Open the file that has a red x on it.
There are many underlinings but the sample builds fine and deploys without errors.

I sometimes see a green circle by an offending line and I can click it and the
red "x" goes away.  Closing the project and IDE and reopening also can cure the
red "x".  This is a P1 because it appears that the sample is broken when in fact
it is not.

Also to be noted, when you create the sample there are a few reference problem
that have to be resolved before deploying and running the sample.
Comment 1 tonybeckham 2007-04-25 22:10:01 UTC
Created attachment 41672 [details]
Screen shot of project navigator w/ red "x" problem
Comment 2 tonybeckham 2007-04-25 22:11:12 UTC
Created attachment 41673 [details]
Web App Client project
Comment 3 tonybeckham 2007-04-25 22:11:40 UTC
Created attachment 41674 [details]
Web App service project
Comment 4 Radko Najman 2007-04-26 21:59:31 UTC
I think this issue could be related to the issue #101387. I will look at it more.

In my opinion "... because it appears that the sample is broken when in fact it
is not." is not a reason why it should be P1. Regarding to
http://qa.netbeans.org/bugzilla/bug_priority_guidelines.html it is more P3. As
you said, the project can be built and deployed. I agree that the red x is
confusing but I also believe that all user will try to build the project to find
what is wrong and if they see the project is working they will not panic.
Comment 5 tonybeckham 2007-04-26 23:20:37 UTC
I made it a P1 per discussion w/ peterliu.  If he has no problem with the
priority I am OK with it.  I have found that the most effective way to resolve
the issue is to drill down the configuration node of the project in project
navigator and simply open StockService.wsdl.  Once you do that "x"'s go away.  
Comment 6 Radko Najman 2007-04-27 06:32:38 UTC
Ok, thanks for the additional information. The red x feature was implemented
outside of web project so this project is not directly responsible for this icon
badgeing. I will discuss it with the responsible developer.
Comment 7 tonybeckham 2007-04-27 16:58:10 UTC
Actually, the method to get the badges away doesn't work all the time.  I
haven't been able to nail down a consistent way to get rid of them.  After some
point they just go away.
Comment 8 Jiri Prox 2007-09-17 21:39:42 UTC
Obsolete milestone, please reevaluate
Comment 9 David Konecny 2007-10-04 15:55:06 UTC
This problem was improved by fix of issue 101387 but there are still some minor issues given by current implementation
of web services support in NB, e.g. Java files generated from WSDL are stored in build folder and therefore clean
removes them and therefore code completion gets broken and files gets annotated as having compilation error although
building them will pass. 
Comment 10 Roderico Cruz 2007-10-29 19:54:41 UTC
This will require redesign of the artifact generation. Changing the milestone to
future.
Comment 11 Roderico Cruz 2008-03-22 02:25:13 UTC
Since this requires a redesign of the ws client generation, changing to an enhancement. Also changing the Summary text.
Comment 12 Lukas Jungmann 2008-04-14 17:14:10 UTC
moving opened issues where TM != dev to TM=TBD