The handlers.xml Configuration File
The handlers configuration file specifies several parts of the service, including the name of service and the various chains. You may add additional handlers at any point in the flow without changing the generated code, or having to regenerate code.
A sample handlers configuration file is generated for each service and contains one required element, the service, which defines the handler chains. Multiple chains can be configured, and each chain is processed in the order in which it appears.
Here is an example of the <servicecontextname>_handlers.xml file.
<configuration>
<service name="FaultService"> <!-- 1 -->
<request-handlers> <!-- 2 -->
<handler name="http://localhost:8080/fault/FaultSkeleton">
<property name="SomeParameter" value="Some value"/>
</handler>
</request-handlers>
<transport-handlers/> <!-- 3 -->
<service-endpoint name="http://localhost:8080/fault/Fault"/> <!-- 4 -->
<response-handlers/> <!-- 5 -->
<fault-handlers/> <!-- 6 -->
</service>
</configuration>