Hi,

Does CXF support inheritance in service interfaces?
I want to have a common interface for a number of services, so I have a
parent interface, and all my service interfaces extend this parent
interface. When i try to fire up tomcat, this exception is thrown:
An opration  "an operation with name [] already exists in this service.
Does CXF support what I want?

Sample code:
public interface ParentServiceInterface {
      public X[] getXList();
}

public interface ChildServiceInterface extends ParentServiceInterface{
       @WebMethod      
       public X[] getXList();
}

public class ChildServiceImpl implements ChildServiceInterface {
       public XChild[] getXList(){
            .......
       }
}

public class XChild extends X{
......
}

-- 
View this message in context: 
http://www.nabble.com/Service-Interface-Extension-in-CXF-tp18708779p18708779.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to