axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <>
Subject [jira] Updated: (AXIS2-3529) Axis2 server responds with Http 200 instead of 202 for the request of a dual channel invocation
Date Fri, 25 Jul 2008 05:45:31 GMT


Amila Chinthaka Suriarachchi updated AXIS2-3529:

    Attachment: patch.txt

Response written has a meaning only at the server side. if there is an epr then that means
the request for this
response has come with a addressing reply to and hence an asynchronous invocation. in this
case server has to send 202 
Accepted for the orginal request. But if we set response has written it send 200 ok.

At the Axis2Servlet it checks whether the Response is written and if not set the http status
as accepted.

if (!TransportUtils.isResponseWritten(msgContext)  
                		&& (((RequestResponseTransport) 
                						getStatus() != RequestResponseTransport.
                						RequestResponseTransportStatus.SIGNALLED)) {

> Axis2 server responds with Http 200 instead of 202 for the request of a dual channel
> -----------------------------------------------------------------------------------------------
>                 Key: AXIS2-3529
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: nightly
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>            Assignee: Deepal Jayasinghe
>            Priority: Blocker
>             Fix For: 1.4.1, 1.4
>         Attachments: patch.txt
> In the dual channel service invocation, Axis2 server is expected to respond to the request
message with http 202. This was working correctly in Axis2-1.3. However, server responds with
200 OK for the request in the latest nightly builds. 
> Steps to reproduce:
> ================
> 1. Deploy a service in Axis2 server
> 2. Write an dual channel async client
> 3. Invoke the service and monitor the message flow using tcpmon
> When you send the request, you will get http 200 as the response code. 

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message