When handleMessage() returns false on server side inbound, we need to reverse
the message direction, stop inbound processing and send the msg back to client
------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: CXF-636
URL: https://issues.apache.org/jira/browse/CXF-636
Project: CXF
Issue Type: Sub-task
Components: JAX-WS Runtime
Reporter: Jervis Liu
Assigned To: Jervis Liu
When handleMessage() returns false on server side inbound, we need to reverse
the message direction, stop inbound processing and send the msg back to client
See JAX-WS spec 9.3.2.1:
Return false This indicates that normal message processing should cease.
Subsequent actions depend on whether the message exchange pattern (MEP) in use
requires a response to the message currently being processed2 or not:
Response The message direction is reversed, the runtime invokes handleMessage
on the next handler or dispatches the message (see section 9.1.2.2) if there
are no further handlers.
We need to do this for both logical handlers and soap handerls. Test case can
be found from
HandlerInvocationTest.testLogicalHandlerHandleMessageReturnsFalseServerSide()
and HandlerInvocationTest.testSOAPHandlerHandleMessageReturnsFalseServerSide()
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.