In which order do LogicalHandlers and SOAPHandlers configured on a Web Service endpoint execute on an incoming message ? (Choose one)
A.
SOAPHandlers in the order specified in configuration are executed first and later the LogicalHandlers specified in the order get executed
B.
LogicalHandlers in the order specified in configuration are executed first and later the SOAPHandlers specified in the order get executed
C.
All the handlers are executed in the order specified in the configuration
D.
All the handlers are executed in the reverse order specified in the configuration.
it seems the correct answer is D since:
From JAX-WS 2.x
9.3.2 Handler Execution For outbound messages handler processing starts with the first handler in the chain and proceeds in the same order as the handler chain. For inbound messages the order of processing is reversed
A
For example, suppose that a handler configuration file lists SOAP handlers (SH) and
logical handlers (LH) in this order, top to bottom:
SH1
LH1
SH2
SH3
LH2
Despite the order in the configuration file, the handlers execute in this order, top to
bottom, on an outgoing message:
LH1
LH2
SH1
SH2
SH3
On an incoming message, the handlers execute in this order, top to bottom:
SH1
SH2
SH3
LH1
LH2
A is correct