The easiest way is to use the built-in Jetty servlet engine.
Here is an example services.xml
<services> <service name="shop" wsrf="false"> <interface class="example.PlainService" /> <implementation class="example.PlainServiceImpl"/> </service> <service name="cart" wsrf="true"> <interface class="example.WSRFService" /> <implementation class="example.WSRFServiceImpl"/> </service> </services>
As you can see, you have to specify the service name, interface, implementation class, and whether it is a WSRF service or a plain webservice.
bin/start.sh starts WSRFlite using the built-in Jetty http server (on port 7777).
Check http://localhost:7777/services