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.
processRequest
public Message processRequest(Message request)
throws SOAPFaultException,
java.lang.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.
java.lang.Exception
- if it fails to process the request and wants to send
a generic SOAP Fault;
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.