I am using Apache CXF to develop web services .
This is my simple web service class developed in Apache CXF ( Now it looks
good as it consists of only one web service in it )
@WebService
public interface HelloWorld {
String sayHi(String text);
}
@WebService(endpointInterface = "demo.spring.service.HelloWorld")
public class HelloWorldImpl implements HelloWorld {
public String sayHi(String text) {
System.out.println("sayHi called");
return "Hello " + text;
}
}
Now assume that there are 100 services declared inside HelloWorld and their
implementation inside HelloWorldImpl .
So in case there are 100 services are present i will define a new class for
every service and implementation class and call the required class on a soap
call made by the client .
Now my question is what about endpoints.xml file that is is it possible to
make an individual xml file for every service and call the required one when
a call is made to that particular service ??
For example this is my endpoints.xml file, how can I dynamically change the
endpoints
<jaxws:endpoint id="HelloWorldImpl " implementor="#HelloWorld"
address="/CXF" />
Thanks
--
View this message in context:
http://cxf.547215.n5.nabble.com/Is-it-possible-to-define-each-and-every-service-as-a-separate-file-tp5085866p5085866.html
Sent from the cxf-user mailing list archive at Nabble.com.