Web Services Invocation Framework:
A Local Java class as a WSDL-described service

Take a look at the AddressBookImpl.java file in this directory.

This class implements the address book service functionality advertised in the sample WSDL. The implementation is as vanilla as it can be; the one feature of note is that we make this class implement the addressbook.wsifservice.AddressBook interface, which is the service interface as specified by JAX-RPC and generated using Axis' WSDL2Java tool. Note that the WSDL file refers to this class as the service endpoint in the java:address element.