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.
have a ws interface: package samples; import javax.jws.WebService; @WebService public interface EndpointI { public int getAge(); } and ws impl class: package samples; import javax.jws.WebService; @WebService(endpointInterface="samples.EndpointI") public class WsImpl implements EndpointI { public int getAge() { throw new UnsupportedOperationException("Not supported yet."); } } -open ws in ws designer -invoke "Go to source" action on the "getAge" operation => Expected: line 18 is selected in the editor actual: line 1 is selected
note for myself (or whoever will verify this): uncomment what's commented due to this issue in WebServiceDesignerTest.testGoToSource() (qa-func tests in websvc.kit module)
Right. Go To action jumps somewhere at the beginning of the class.
changeset: 178595:28f5d4dd1833 user: Denis Anisimov <ads@netbeans.org> date: Mon Oct 04 10:43:49 2010 +0400 summary: Fix for BZ#150923 - wrong line selected after go to source
Information about web service methods are taken from interface methods not implementation class. So java model should be based on interface methods. Only specific action implementation should be changed. So I move the code for implementation method search into GoTo
changeset: 178693:a33e81cb2fa7 tag: tip user: Denis Anisimov <ads@netbeans.org> date: Mon Oct 04 13:00:56 2010 +0400 summary: Refix for BZ#150923 - wrong line selected after go to source
Integrated into 'main-golden', will be available in build *201010050000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/28f5d4dd1833 User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#150923 - wrong line selected after go to source