如何开发一个Service
Here's a simple example:
@WebServiceProviderpublic class HelloProvider {??public Source invoke(Source request) {????return ....;??}}Services are publish via one of two means:
The JAX-WS standard Endpoint APIsCXF's XML configuration format - i.e. <jaxws:endpoint ... />More Information: Developing a JAX-WS Service
JavascriptCXF provides a Javascript module which allows you to build services in Javascript with the Java Rhino library. One advantage of this is that you can use E4X to interact more easily with the XML. For more information see the JavaScript page.
?
?