geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lin Sun" <linsun....@gmail.com>
Subject RE:svn commit: r496024 - in /geronimo/server/trunk/modules: geronimo-axis/src/test/java/org/apache/geronimo/axis/ geronimo-axis2/src/main/java/org/apache/geronimo/axis2/ geronimo-jetty6/src/main/java/org/apache/geronimo/jetty6/ geronimo-tomcat6/src/main/j
Date Mon, 15 Jan 2007 20:50:53 GMT

Hi dims, Could the second response.setStatusCode(202) be a typo, instead of
response.setStatusCode(200)?

Lin

Author: dims
Date: Sat Jan 13 18:59:40 2007
New Revision: 496024

URL: http://svn.apache.org/viewvc?view=rev&rev=496024
Log:
borrow some code from Axis2's transport package and get it to compile (needs
a lot of work!)

Modified:
geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geroni
mo/axis2/Axis2WebServiceContainer.java
URL:
http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-axis2/sr
c/main/java/org/apache/geronimo/axis2/Axis2WebServiceContainer.java?view=dif
f&rev=496024&r1=496023&r2=496024
============================================================================
==
---
geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geroni
mo/axis2/Axis2WebServiceContainer.java
(original)
+++
geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geroni
mo/axis2/Axis2WebServiceContainer.java
Sat Jan 13 18:59:40 2007
...

+        if ((contextWritten != null) &&
Constants.VALUE_TRUE.equals(contextWritten))
{
+            if ((isTwoChannel != null) &&
Constants.VALUE_TRUE.equals(isTwoChannel))
{
+                response.setStatusCode(202);
+                return;
+            }
+            response.setStatusCode(202);
+        } else {
+            response.setStatusCode(202);
+        }
+    }
+



Mime
View raw message