import javax.xml.ws.Service; import javax.xml.namespace.QName; public class Cat { public Cat() { Service service = Service.create(new QName("","")); } public static void main(String... args) { Cat cat = new Cat(); } }