Here is an example of an interface to a service. Note that the interface is optional, you can expose a class as a service - we've just used an interface in this example as its good practice and makes the example easier to follow.An error occurred: cvs.activesoap.codehaus.org. The system administrator has been notified.
There's a method on this interface which accepts an XMLBeans type. We can have as many methods as we like all auto-published, the only requirement is that when using the XMLBeansRegistery, the parameter must be an XMLBeans type, so that when we register it we can auto-deduce the QName which matches the correct method on the service.
Then if we register an implementation of this interface with the XMLBeansRegistry we can automatically publish the service as both REST and SOAP endpoints...An error occurred: cvs.activesoap.codehaus.org. The system administrator has been notified.