| com.nabhinc.ws.server.WebService
All known Subclasses: com.nabhinc.ws.server.WebServiceImpl, com.nabhinc.ws.service.core.JavaDelegateWebService,
WebService | public interface WebService extends ServerObject(Code) | | A WebService is a server-side component that lives inside a Web services
container. This component is responsible for executing a Web service operation. In
some cases, an object implementing this interface directly implements service
functionality. In other cases, it may simply be a bridge to a delegate Java, CORBA,
COM object.
author: Padmanabh Dabke author: (c) 2005 Nabh Information Systems, Inc. All Rights Reserved. |
Method Summary | |
Object | invoke(RequestInfo reqInfo) Invoke method on the Web service as specified by the method name and parameters
specified by supplied RequestInfo object. | void | start() Notifies the service that it has been put in operation. | void | stop() Notifies the service that service operations have been suspended. |
invoke | Object invoke(RequestInfo reqInfo) throws WebServiceException(Code) | | Invoke method on the Web service as specified by the method name and parameters
specified by supplied RequestInfo object. The "method" attribute
of RequestInfo object will be set in case the service implementation
class is known (i.e., getImplementationClass method returns a non-null
value.
Parameters: reqInfo - RequestInfo object providing invocation information. Result of method invocation throws: WebServiceException - Application exception thrown by the service. Implementationsshould throw WebServiceSecurityException if the error corresponds to asecurity violation. UnavailableException should be thrown if the serviceis unavailble due to the backend server being down, etc. All other exceptions shouldbe thrown as RuntimeException. When the framework catches a RuntimeException, the service will be marked inoperational. |
start | void start() throws WebServiceException(Code) | | Notifies the service that it has been put in operation. Web services framework will
begin to route operation requests after this method is called.
throws: WebServiceException - |
stop | void stop()(Code) | | Notifies the service that service operations have been suspended. Note that this is
not the end of the object life-cycle which is indicated by a destroy()
call. A subsequent start() call indicates operation resumption.
|
|
|