cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "unrealjiang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-333) Logical handler throws ProtocolException
Date Fri, 02 Feb 2007 05:18:05 GMT

     [ https://issues.apache.org/jira/browse/CXF-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

unrealjiang updated CXF-333:
----------------------------

    Attachment: cxf-333.patch

> Logical handler throws ProtocolException
> ----------------------------------------
>
>                 Key: CXF-333
>                 URL: https://issues.apache.org/jira/browse/CXF-333
>             Project: CXF
>          Issue Type: Sub-task
>          Components: JAX-WS Runtime
>            Reporter: Jervis Liu
>         Attachments: cxf-333.patch
>
>
> According to spec, when logical handler throws ProtocolException, JAX-WS 9.3.2.1:
> Throw ProtocolException or a subclass This indicates that normal message processing should
cease. 27
> Subsequent actions depend on whether the MEP in use requires a response to the message
currently 28
> being processed or not:
> Response Normal message processing stops, fault message processing starts. The message
direction 1
> is reversed, if the message is not already a fault message then it is replaced with a
fault message4, 2
> and the runtime invokes handleFault on the next4 handler or dispatches the message (see
3
> section 9.1.2.2) if there are no further handlers. 4
> No response Normal message processing stops, close is called on each previously invoked
handler 5
> in the chain, the exception is dispatched (see section 9.1.2.3).
> Our current implementation does not conform to this yet. See two commented out test:
HandlerInvocationTest.testLogicalHandlerThrowsProtocolExceptionClientSide() and  HandlerInvocationTest.xtestLogicalHandlerThrowsProtocolExceptionServerSide

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message