|
Page Edited :
CXF20DOC :
Simple Frontend
Simple Frontend has been edited by willem jiang (Apr 27, 2007). Change summary: update the serviceFactoryBean code with new api CXF includes a simple frontend which builds services from reflection. This is in contrast to the JAX-WS frontend which requires you to annotate your services. The simple frontend will use reflection to intelligently map your classes to a WSDL model. By default CXF uses the JAXB databinding. If you are interested in a databinding which does not require annotations, please see the documentation on the Aegis Databinding. ServerFactoryBeanThe ServerFactoryBean produces a Server instance for you. It requires a service class and an address to publish the service on. By creating a Server you'll have started your service and made it available to the outside world. First you'll want to create your service class: public interface Hello { String sayHello(); } This does not have to be an interface, but we're going to use an interface for this example because
|
Unsubscribe or edit your notifications preferences
