com.sun.identity.liberty.ws.soapbinding
Interface RequestHandler

All Known Implementing Classes:
DSTRequestHandler

public interface RequestHandler

The RequestHandler interface needs to be implemented by each web services in order to receive request from your web service client. After implementing your handler class, register the class in the SOAP Binding Service so SOAP layer could forward incoming WSC requests to your handler.


Method Summary
 Message processRequest(Message request)
          Generates a response according to the request.
 

Method Detail

processRequest

Message processRequest(Message request)
                       throws SOAPFaultException
Generates a response according to the request.

Parameters:
request - the incoming request message from web service client.
Returns:
the response message to be sent to web service client.
Throws:
SOAPFaultException - if it fails to process the request and wants to send a specific SOAP Fault.
Exception - if it fails to process the request and wants to send a generic SOAP Fault;