Configure the Handlers
To configure and chain your handlers, add them to handlers_handlers.xml in the appropriate chain.
The order in which handlers are applied is based on their order in the configuration file. Transport handlers are applied symmetrically at input and output, with the first configured handler being closest to the transport, the second configured handler being second from the transport, and so on. Request and response handlers are applied in configured order in both directions.
For more information on handler processing order, see Types of SOAP Handlers.
 
<configuration>
<service name="HandlersService">
<request-handlers> <!-- 1 -->
<handler name="SoapSecurityHandler"/>
<handler
name="http://localhost:8090/handlers/HandlersSkeleton"/>
</request-handlers>
<transport-handlers>
<handler name="StringReverseHandler"/> <!-- 2 -->
</transport-handlers>
<service-endpoint
name="http://localhost:8090/handlers/Handlers"/>
<response-handlers>
</response-handlers>
<fault-handlers>
</fault-handlers>
</service>
</configuration>
//1 Add the request handler by its name attribute and the name of its skeleton.
//2 Add the transport handler.