I am trying to implement minor versions in JAX-WS as follows:
@WebService(targetNamespace="http://mycompany.com/api/Service/v1_0")
public interface ServiceRev0 {
public void initialMethod();
}
@WebService(targetNamespace="http://mycompany.com/api/Service/v1_1")
public interface ServiceRev1 {
public void newMethod();
}
public class Service implements ServiceRev0, ServiceRev1 {
...
}
Endpoint.publish("api", new Service());
Unfortunately, CXF only appears to 'see' the first interface and its associated methods. Is it possible to do what I want or should I take another approach?