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 174905

Summary: 'Call Web Service Operation... ' breaks source code
Product: webservices Reporter: Martin Schovanek <mschovanek>
Component: CodeAssignee: Milan Kuchtiak <mkuchtiak>
Status: VERIFIED FIXED    
Severity: blocker CC: pjiricka
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Martin Schovanek 2009-10-19 16:50:00 UTC
NetBeans IDE 6.8 Beta (Build 200910171337)

The action inserts a snippet of code at cursor position regardless on context. So the snippet can appear outside of a
method, class or at the middle of a keyword and breaks the existing source code.

I would suggest to use the same approach like 'Send Email ...', 'Send JMS message ...' which inserts appropriate method
at surrounding class and let user to use it at choice.
Comment 1 Milan Kuchtiak 2010-03-18 12:56:48 UTC
Fixed:
http://hg.netbeans.org/main/rev/346de0521527
Comment 2 Quality Engineering 2010-03-19 05:13:26 UTC
Integrated into 'main-golden', will be available in build *201003190200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/346de0521527
User: mkuchtiak@netbeans.org
Log: #174905: generate method rather than code snippet
Comment 3 Jaroslav Pospisil 2010-05-20 12:26:46 UTC
v.