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 121732 - CC is not complete for default web service
Summary: CC is not complete for default web service
Status: NEW
Alias: None
Product: webservices
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-12 14:00 UTC by Jaroslav Pospisil
Modified: 2008-04-14 17:15 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Pospisil 2007-11-12 14:00:36 UTC
Build 20071112000,JDK1.6.0_03,Vista

Create web service in EJB,go to line above class declaration,type @ and invoke CC.
There should be at least WebService,WebParam and HandlerChain options, there's however 
only WebService of the three for default web service without parameter.
I can still get correct CC for @ WebP or @Hand.
Comment 1 Jaroslav Pospisil 2007-11-12 14:05:41 UTC
Test specification for web service hints I refer to :
http://qa.netbeans.org/modules/editor/promo-g/j2ee/ws_editor_test_specification.html
Comment 2 Milan Kuchtiak 2007-11-12 16:10:18 UTC
The issue is related to Java Code Completion.

Question :
Is that possible to specify "preffered annotations" based on java class type ?

E.g.

Let's have a web service class ;

@javax.jws.WebService 
public class MyService
....

Now 

the preferred class annotations are :
@javax.xml.ws.BindingType
@javax.jws.HandlerChain

the preferred method annotations are ;
@javax.jws.WebMethod
@javax.jws.WebResult
@javax.jws.Oneway
@javax.xml.ws.RequestWrapper
@javax.xml.ws.ResponseWrapper

the preferred param annotations are :
@javax.jws.WebParam

I'll discuss the issue with java code completion expert.
Comment 3 Milan Kuchtiak 2007-11-23 13:55:41 UTC
This is rather an enhancement than the issue.
Comment 4 Lukas Jungmann 2008-04-14 17:15:13 UTC
moving opened issues where TM != dev to TM=TBD