Interface RequestHandler

  • All Known Implementing Classes:
    AuthnSvcRequestHandlerImpl, DiscoveryService, DSTRequestHandler, PPRequestHandler

    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 Detail

      • processRequest

        Message processRequest​(Message request)
                        throws SOAPFaultException,
                               Exception
        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;