cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aki Yoshida (JIRA)" <>
Subject [jira] [Commented] (CXF-3768) HTTP response code 202 is not set for WS-Addressing partial responses
Date Mon, 29 Aug 2011 08:59:40 GMT


Aki Yoshida commented on CXF-3768:

Hi Freeman,

thanks. I'll take the issue. And do you think the suggested solution is alright?

I am introducing a new constant EMPTY_PARTIAL_RESPONSE_MESSAGE in
Message. This is set to Boolean.TRUE along with the existing Boolean
property PARTIAL_RESPONSE_MESSAGE when a partial response message is
created. Later when some component updates the partial response
message, we remove this EMPTY_PARTIAL_RESPONSE_MESSAGE property so
that the AbstractHTTPDestination can decide which http response must
be returned. I tried this out and it seems to be working fine.

I would appreciate your comments.


regards, aki
p.s. I'll double check the status next time when I am taking an issue,
but I am worried what will happen when two people push "Assgin to me"
button around the same time, whether the second person will get some
warning or error message and not getting the issue assigned.

> HTTP response code 202 is not set for WS-Addressing partial responses
> ---------------------------------------------------------------------
>                 Key: CXF-3768
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: WS-* Components
>    Affects Versions: 2.4.2
>            Reporter: Dmytro Rud
>            Assignee: Aki Yoshida
> When asyncronous processing is requested by specifying an endpoint reference in the request's
ReplyTo WSA header, an immediate acknowledgement should be sent with HTTP code 202.  Older
CXF versions (e.g. 2.2.11) implemented this requirement in the method {{org.apache.cxf.transport.http.AbstractHTTPDestination#markPartialResponse}},
but the newer ones (2.4.1, 2.4.2) do not set the HTTP response code explicitely, therefore
acknowledgements are delivered with code 200.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message