| com.sun.xml.ws.handler.SOAPHandlerProcessor
SOAPHandlerProcessor | final class SOAPHandlerProcessor extends HandlerProcessor (Code) | | author: WS Development Team |
SOAPHandlerProcessor | public SOAPHandlerProcessor(boolean isClient, HandlerTube owner, WSBinding binding, List<? extends Handler> chain)(Code) | | Creates a new instance of SOAPHandlerProcessor
|
insertFaultMessage | final void insertFaultMessage(C context, ProtocolException exception)(Code) | | Replace the message in the given message context with a
fault message. If the context already contains a fault
message, then return without changing it.
This method should only be called during a request,
because during a response an exception from a handler
is dispatched rather than replacing the message with
a fault. So this method can use the MESSAGE_OUTBOUND_PROPERTY
to determine whether it is being called on the client
or the server side. If this changes in the spec, then
something else will need to be passed to the method
to determine whether the fault code is client or server.
|
|
|