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.
Hi, I am not sure where to add this report. My best guess it is UI related. Define a base service class to be used for diferent services. Some new services will inherit its methoods but stil the project tree. Thanks.
Reassigning to web service, please evaluate. Anyway this seems like enhancement to me.
It may be a feature request, do we expect such inherited methods to appear in the project tree ?
Is there anything in Axis2 runtime that supports this ? It looks like you have a specific requirement that is not supported in Axis2:java2wsdl utility. Netbeans cannot do much about that. As I understand you require this : Example : Super class: ===== public class Hello { public String hello() { return "hello"; } } ===== Service implementation class: ===== public class HelloService extends Hello { public String hello1(String name) { return "Hello "+name; } } ===== Axis configuration file (services.xml): <?xml version="1.0" encoding="UTF-8"?> <serviceGroup> <service name="HelloService" scope="application"> <description>HelloService service</description> <messageReceivers> <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only" class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/> <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out" class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/> </messageReceivers> <parameter name="ServiceClass">services.hello.HelloService</parameter> </service> </serviceGroup> ===== Now, unfortunately, the generated wsdl file contains just one WS operation: operation generated for hello1 method. Axis2:java2wsdl accepts just methods present in HelloService.java class, even when HelloService inherits another method from Hello.java class. The solution is to encapsulate hello() method in HelloService.java : ===== public class HelloService extends Hello { public String hello1(String name) { return "Hello "+name; } public String hello() { return super.hello(); } } ===== Or is there anything I miss ? Please, send an example and attach the screenshot of the project tree to see what's bad there.
Your understanding is correct. I will fill a request to axis2 team . Thanks.
Thanks. So I am closing this enhancement as WONT FIX.