i created one cxf webservice application. and client application also i put in the same project. i want take it out client application from the server application. so i am facing some problem. that is
in my client application i mentioned the service class. it is possible becoz it residing in same project. but when i take it out from that projects it is not possible , how to solve this problem.
my client code...
factory.getInInterceptors().add(new LoggingInInterceptor());
factory.getOutInterceptors().add(new LoggingOutInterceptor());
factory.setServiceClass(UserService.class);
factory.setAddress("http://localhost:8080/MyWebservice/services/cxfAuth");
UserService client = (UserService) factory.create();
Test a = client.getValue("0223938");
here Test class and User service class having no scope..
how to solve this. ?