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);
+        }
+    }
+


Reply via email to