svn commit: r1324616 - in /axis/axis2/java/core/trunk/modules/tool/simple-server-maven-plugin/src/main/java/org/apache/axis2/maven2/server: SimpleHttpServerMojo.java util/Constants.java

2012-04-11 Thread sagara
Author: sagara
Date: Wed Apr 11 08:11:21 2012
New Revision: 1324616

URL: http://svn.apache.org/viewvc?rev=1324616&view=rev
Log:
* Added support to run plug-in server in fork mode. This is useful feature for 
Maven integrations tests.  
* Maven test classes build directory added to Calsspath so that plug-in can be 
used to deploy Classes on test packages. 

Modified:

axis/axis2/java/core/trunk/modules/tool/simple-server-maven-plugin/src/main/java/org/apache/axis2/maven2/server/SimpleHttpServerMojo.java

axis/axis2/java/core/trunk/modules/tool/simple-server-maven-plugin/src/main/java/org/apache/axis2/maven2/server/util/Constants.java

Modified: 
axis/axis2/java/core/trunk/modules/tool/simple-server-maven-plugin/src/main/java/org/apache/axis2/maven2/server/SimpleHttpServerMojo.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/tool/simple-server-maven-plugin/src/main/java/org/apache/axis2/maven2/server/SimpleHttpServerMojo.java?rev=1324616&r1=1324615&r2=1324616&view=diff
==
--- 
axis/axis2/java/core/trunk/modules/tool/simple-server-maven-plugin/src/main/java/org/apache/axis2/maven2/server/SimpleHttpServerMojo.java
 (original)
+++ 
axis/axis2/java/core/trunk/modules/tool/simple-server-maven-plugin/src/main/java/org/apache/axis2/maven2/server/SimpleHttpServerMojo.java
 Wed Apr 11 08:11:21 2012
@@ -82,6 +82,13 @@ public class SimpleHttpServerMojo extend
 private String port;
 
 /**
+ * Indicates whether to fork the server.
+ * 
+ * @parameter default-value="false"
+ */
+private boolean fork;
+
+/**
  * @parameter default-value="1024"
  */
 private int dataBufferSize;
@@ -126,7 +133,7 @@ public class SimpleHttpServerMojo extend
 private String projectId;
 
 private Axis2Server server;
-private boolean fork;
+   
 
 public RepoHelper getRepoHelper() {
 RepoHelper repoHelper = new RepoHelper(repoPath);
@@ -164,7 +171,7 @@ public class SimpleHttpServerMojo extend
 if (fork) {
 new Thread(new Runnable() {
 public void run() {
-getLog().info(" Starting Axis2 Simple HTTP 
Server. ");
+getLog().info(" Starting Axis2 Simple HTTP Server in a 
foke mode. ");
 server.startServer();
 getLog().info(" Axis2 Simple HTTP server satreted");
 waitForShutdown();
@@ -188,7 +195,9 @@ public class SimpleHttpServerMojo extend
 .currentThread().getContextClassLoader());
 }
 File cls = new File(buildDir + File.separator + 
Constants.DEFAULT_CLASSES_DIRECTORY);
+File testCls = new File(buildDir + File.separator + 
Constants.DEFAULT_TEST_CLASSES_DIRECTORY);
 realm.addURL(cls.toURI().toURL());
+realm.addURL(testCls.toURI().toURL());
 Thread.currentThread().setContextClassLoader(realm);
 }
 

Modified: 
axis/axis2/java/core/trunk/modules/tool/simple-server-maven-plugin/src/main/java/org/apache/axis2/maven2/server/util/Constants.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/tool/simple-server-maven-plugin/src/main/java/org/apache/axis2/maven2/server/util/Constants.java?rev=1324616&r1=1324615&r2=1324616&view=diff
==
--- 
axis/axis2/java/core/trunk/modules/tool/simple-server-maven-plugin/src/main/java/org/apache/axis2/maven2/server/util/Constants.java
 (original)
+++ 
axis/axis2/java/core/trunk/modules/tool/simple-server-maven-plugin/src/main/java/org/apache/axis2/maven2/server/util/Constants.java
 Wed Apr 11 08:11:21 2012
@@ -50,6 +50,9 @@ public class Constants {
 /** The Constant DEFAULT_CLASSES_DIRECTOY. */
 public static final String DEFAULT_CLASSES_DIRECTORY = "classes";
 
+/** The Constant DEFAULT_TEST_CLASSES_DIRECTOY. */
+public static final String DEFAULT_TEST_CLASSES_DIRECTORY = "test-classes";
+
 /** The Constant DEFAULT_PORT_PARAM. */
 public static final String DEFAULT_PORT_PARAM = "port";
 




svn commit: r1324637 - /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java

2012-04-11 Thread sagara
Author: sagara
Date: Wed Apr 11 08:42:25 2012
New Revision: 1324637

URL: http://svn.apache.org/viewvc?rev=1324637&view=rev
Log:
* Removed deprecated isEngaged(QName qname) method. 
* Removed unwanted  imports. 

Modified:

axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java

Modified: 
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java?rev=1324637&r1=1324636&r2=1324637&view=diff
==
--- 
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
 (original)
+++ 
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
 Wed Apr 11 08:42:25 2012
@@ -31,7 +31,6 @@ import java.util.Iterator;
 import java.util.List;
 import java.util.Map;
 import java.util.Map.Entry;
-import java.util.Collections;
 import java.util.Set;
 import java.util.concurrent.ConcurrentHashMap;
 import java.util.concurrent.CopyOnWriteArraySet;
@@ -513,8 +512,7 @@ public class AxisConfiguration extends A
 AxisService axisService = services.next();   
 isClientSide = axisService.isClientSide()? true : false;
 
-//removes the endpoints to this service
-String serviceName = axisService.getName();
+//removes the endpoints to this service 
 removeServiceReferences(axisService.getName());
 
 }
@@ -1081,21 +1079,7 @@ public class AxisConfiguration extends A
 public HashMap getTransportsOut() {
 return transportsOut;
 }
-
-/**
- * Find out whether a given module is engaged.
- *
- * This method needs to remain for a few Axis2 releases to support
- * legacy apps still using it.  It will be disappearing in 1.6.
- *
- * @param qname QName of the module
- * @deprecated Use {@link #isEngaged(String)}
- * @return true if a module matching the passed QName is engaged globally
- */
-public boolean isEngaged(QName qname) {
-return isEngaged(qname.getLocalPart());
-}
-
+
 public boolean isEngaged(String moduleId) {
 AxisModule module = getModule(moduleId);
 if (module == null) {




svn commit: r1324666 - /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java

2012-04-11 Thread sagara
Author: sagara
Date: Wed Apr 11 09:31:16 2012
New Revision: 1324666

URL: http://svn.apache.org/viewvc?rev=1324666&view=rev
Log:
Added removeObservers () method because after r1308868 getObserversList() 
returns read-only list of Observers. 

Modified:

axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java

Modified: 
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java?rev=1324666&r1=1324665&r2=1324666&view=diff
==
--- 
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
 (original)
+++ 
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
 Wed Apr 11 09:31:16 2012
@@ -314,9 +314,24 @@ public class AxisConfiguration extends A
 moduleConfiguration);
 }
 
+/**
+ * Register given AxisObserver object to the {@link AxisConfiguration}.
+ * 
+ * @param axisObserver the axis observer
+ */
 public void addObservers(AxisObserver axisObserver) {
 observerSet.add(axisObserver);
 }
+
+/**
+ * Unregister the given AxisObserver object if it is registered with
+ * the {@link AxisConfiguration}.
+ * 
+ * @param axisObserver the axis observer
+ */
+public void removeObservers(AxisObserver axisObserver) {
+observerSet.remove(axisObserver);
+}
 
 /**
  * Add an AxisService to our global configuration.  Since services must
@@ -1261,6 +1276,12 @@ public class AxisConfiguration extends A
 }
 }
 
+/**
+ * This method returns read-only list of AxisObservers registered with this
+ * {@link AxisConfiguration}.
+ * 
+ * @return ArrayList
+ */
 public ArrayList getObserversList() {
AxisObserver[] array = observerSet.toArray(new 
AxisObserver[observerSet.size()]);
ArrayList observers = new 
ArrayList(array.length);




svn commit: r1324670 - /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java

2012-04-11 Thread sagara
Author: sagara
Date: Wed Apr 11 09:38:57 2012
New Revision: 1324670

URL: http://svn.apache.org/viewvc?rev=1324670&view=rev
Log:
Corrected spelling mistake introduced in r1324666. 

Modified:

axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java

Modified: 
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java?rev=1324670&r1=1324669&r2=1324670&view=diff
==
--- 
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
 (original)
+++ 
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
 Wed Apr 11 09:38:57 2012
@@ -329,7 +329,7 @@ public class AxisConfiguration extends A
  * 
  * @param axisObserver the axis observer
  */
-public void removeObservers(AxisObserver axisObserver) {
+public void removeObserver(AxisObserver axisObserver) {
 observerSet.remove(axisObserver);
 }
 




svn commit: r1324672 - /axis/axis2/java/transports/trunk/modules/base/src/main/java/org/apache/axis2/transport/base/tracker/AxisServiceTracker.java

2012-04-11 Thread sagara
Author: sagara
Date: Wed Apr 11 09:41:21 2012
New Revision: 1324672

URL: http://svn.apache.org/viewvc?rev=1324672&view=rev
Log:
Adopted to changes introduced in r1324666 and r1308868.

Modified:

axis/axis2/java/transports/trunk/modules/base/src/main/java/org/apache/axis2/transport/base/tracker/AxisServiceTracker.java

Modified: 
axis/axis2/java/transports/trunk/modules/base/src/main/java/org/apache/axis2/transport/base/tracker/AxisServiceTracker.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/transports/trunk/modules/base/src/main/java/org/apache/axis2/transport/base/tracker/AxisServiceTracker.java?rev=1324672&r1=1324671&r2=1324672&view=diff
==
--- 
axis/axis2/java/transports/trunk/modules/base/src/main/java/org/apache/axis2/transport/base/tracker/AxisServiceTracker.java
 (original)
+++ 
axis/axis2/java/transports/trunk/modules/base/src/main/java/org/apache/axis2/transport/base/tracker/AxisServiceTracker.java
 Wed Apr 11 09:41:21 2012
@@ -234,8 +234,7 @@ public class AxisServiceTracker {
 if (services == null) {
 throw new IllegalStateException();
 }
-// TODO: This is very bad, but AxisConfiguration has no removeObserver 
method!
-config.getObserversList().remove(observer);
+config.removeObserver(observer);
 for (AxisService service : services) {
 listener.serviceRemoved(service);
 }




svn commit: r1324772 - /axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java

2012-04-11 Thread sagara
Author: sagara
Date: Wed Apr 11 14:10:47 2012
New Revision: 1324772

URL: http://svn.apache.org/viewvc?rev=1324772&view=rev
Log:
Add few lines of comments. 

Modified:

axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java

Modified: 
axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java?rev=1324772&r1=1324771&r2=1324772&view=diff
==
--- 
axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
 (original)
+++ 
axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
 Wed Apr 11 14:10:47 2012
@@ -76,7 +76,12 @@ public class CommonsHTTPTransportSender 
 private int soTimeout = HTTPConstants.DEFAULT_SO_TIMEOUT;
 
 private int connectionTimeout = HTTPConstants.DEFAULT_CONNECTION_TIMEOUT;
-
+
+/*
+ * It's Required to keep this method to keep backward compatibility because
+ * still it's possible to register CommonsHTTPTransportSender in the
+ * axis2.xml.
+ */
 public void cleanup(MessageContext msgContext) throws AxisFault {
 
 HttpMethod httpMethod = (HttpMethod) 
msgContext.getProperty(HTTPConstants.HTTP_METHOD);




svn commit: r1324778 - in /axis/axis2/java/core/trunk/modules/transport/http: src/org/apache/axis2/transport/http/ test/org/apache/axis2/transport/http/ test/org/apache/axis2/transport/http/mock/serve

2012-04-11 Thread sagara
Author: sagara
Date: Wed Apr 11 14:23:20 2012
New Revision: 1324778

URL: http://svn.apache.org/viewvc?rev=1324778&view=rev
Log:
* Applied patch for AXIS2-5281 with few changes.
* Added few test cases for AXIS2-5281. 

Modified:

axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/HTTPSender.java

axis/axis2/java/core/trunk/modules/transport/http/test/org/apache/axis2/transport/http/HTTPSenderTest.java

axis/axis2/java/core/trunk/modules/transport/http/test/org/apache/axis2/transport/http/mock/server/BasicHttpServer.java

axis/axis2/java/core/trunk/modules/transport/http/test/org/apache/axis2/transport/http/mock/server/BasicHttpServerImpl.java

Modified: 
axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/HTTPSender.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/HTTPSender.java?rev=1324778&r1=1324777&r2=1324778&view=diff
==
--- 
axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/HTTPSender.java
 (original)
+++ 
axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/HTTPSender.java
 Wed Apr 11 14:23:20 2012
@@ -264,18 +264,19 @@ public class HTTPSender extends Abstract
 private void handleResponse(MessageContext msgContext,
 HttpMethodBase method) throws IOException {
 int statusCode = method.getStatusCode();
+HTTPStatusCodeFamily family = getHTTPStatusCodeFamily(statusCode);
 log.trace("Handling response - " + statusCode);
-if (statusCode == HttpStatus.SC_OK) {
-// Save the HttpMethod so that we can release the connection when 
cleaning up
-msgContext.setProperty(HTTPConstants.HTTP_METHOD, method);
-processResponse(method, msgContext);
-} else if (statusCode == HttpStatus.SC_ACCEPTED) {
+if (statusCode == HttpStatus.SC_ACCEPTED) {
/* When an HTTP 202 Accepted code has been received, this will 
be the case of an execution 
 * of an in-only operation. In such a scenario, the HTTP 
response headers should be returned,
 * i.e. session cookies. */
obtainHTTPHeaderInformation(method, msgContext);
// Since we don't expect any content with a 202 response, we 
must release the connection
method.releaseConnection();
+} else if (HTTPStatusCodeFamily.SUCCESSFUL.equals(family)) {
+// Save the HttpMethod so that we can release the connection when 
cleaning up
+msgContext.setProperty(HTTPConstants.HTTP_METHOD, method);
+processResponse(method, msgContext); 
 } else if (statusCode == HttpStatus.SC_INTERNAL_SERVER_ERROR ||
 statusCode == HttpStatus.SC_BAD_REQUEST) {
 // Save the HttpMethod so that we can release the connection when 
cleaning up
@@ -312,4 +313,25 @@ public class HTTPSender extends Abstract
 method.getStatusText()));
 }
 }
+
+/**
+ * Used to determine the family of HTTP status codes to which the given 
code belongs.
+ *
+ * @param statusCode - The HTTP status code
+ */
+private HTTPStatusCodeFamily getHTTPStatusCodeFamily(int statusCode) {
+switch(statusCode/100) {
+case 1: return HTTPStatusCodeFamily.INFORMATIONAL;
+case 2: return HTTPStatusCodeFamily.SUCCESSFUL;
+case 3: return HTTPStatusCodeFamily.REDIRECTION;
+case 4: return HTTPStatusCodeFamily.CLIENT_ERROR;
+case 5: return HTTPStatusCodeFamily.SERVER_ERROR;
+default: return HTTPStatusCodeFamily.OTHER;
+}
+}
+
+/**
+ * The set of HTTP status code families.
+ */
+private enum HTTPStatusCodeFamily {INFORMATIONAL, SUCCESSFUL, REDIRECTION, 
CLIENT_ERROR, SERVER_ERROR, OTHER}
 }

Modified: 
axis/axis2/java/core/trunk/modules/transport/http/test/org/apache/axis2/transport/http/HTTPSenderTest.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/transport/http/test/org/apache/axis2/transport/http/HTTPSenderTest.java?rev=1324778&r1=1324777&r2=1324778&view=diff
==
--- 
axis/axis2/java/core/trunk/modules/transport/http/test/org/apache/axis2/transport/http/HTTPSenderTest.java
 (original)
+++ 
axis/axis2/java/core/trunk/modules/transport/http/test/org/apache/axis2/transport/http/HTTPSenderTest.java
 Wed Apr 11 14:23:20 2012
@@ -31,6 +31,7 @@ import org.apache.axis2.context.Configur
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.context.OperationContext;
 import org.apache.axis2.transport.http.mock.server.AbstractHTTPServerTest;
+import org.apache.axis2.

svn commit: r1324789 - in /axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http: src/org/apache/axis2/transport/http/ src/org/apache/axis2/transport/http/impl/httpclient3/ test/org/apache/a

2012-04-11 Thread sagara
Author: sagara
Date: Wed Apr 11 14:45:06 2012
New Revision: 1324789

URL: http://svn.apache.org/viewvc?rev=1324789&view=rev
Log:
Merged r1324778 to the AXIS2-4318 branch.

Modified:

axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/src/org/apache/axis2/transport/http/HTTPSender.java

axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/src/org/apache/axis2/transport/http/impl/httpclient3/HTTPSenderImpl.java

axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/test/org/apache/axis2/transport/http/HTTPSenderTest.java

axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/test/org/apache/axis2/transport/http/mock/server/BasicHttpServer.java

axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/test/org/apache/axis2/transport/http/mock/server/BasicHttpServerImpl.java

Modified: 
axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/src/org/apache/axis2/transport/http/HTTPSender.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/src/org/apache/axis2/transport/http/HTTPSender.java?rev=1324789&r1=1324788&r2=1324789&view=diff
==
--- 
axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/src/org/apache/axis2/transport/http/HTTPSender.java
 (original)
+++ 
axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/src/org/apache/axis2/transport/http/HTTPSender.java
 Wed Apr 11 14:45:06 2012
@@ -121,6 +121,37 @@ public abstract class HTTPSender extends
 }
 
 this.sendViaPost(msgContext, url, soapActionString);
-}
-   
+}   
+
+/**
+ * Used to determine the family of HTTP status codes to which the given 
code
+ * belongs.
+ * 
+ * @param statusCode
+ *- The HTTP status code
+ */
+protected HTTPStatusCodeFamily getHTTPStatusCodeFamily(int statusCode) {
+switch (statusCode / 100) {
+case 1:
+return HTTPStatusCodeFamily.INFORMATIONAL;
+case 2:
+return HTTPStatusCodeFamily.SUCCESSFUL;
+case 3:
+return HTTPStatusCodeFamily.REDIRECTION;
+case 4:
+return HTTPStatusCodeFamily.CLIENT_ERROR;
+case 5:
+return HTTPStatusCodeFamily.SERVER_ERROR;
+default:
+return HTTPStatusCodeFamily.OTHER;
+}
+}
+
+/**
+ * The set of HTTP status code families.
+ */
+protected enum HTTPStatusCodeFamily {
+INFORMATIONAL, SUCCESSFUL, REDIRECTION, CLIENT_ERROR, SERVER_ERROR, 
OTHER
+}
+
 }

Modified: 
axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/src/org/apache/axis2/transport/http/impl/httpclient3/HTTPSenderImpl.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/src/org/apache/axis2/transport/http/impl/httpclient3/HTTPSenderImpl.java?rev=1324789&r1=1324788&r2=1324789&view=diff
==
--- 
axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/src/org/apache/axis2/transport/http/impl/httpclient3/HTTPSenderImpl.java
 (original)
+++ 
axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/src/org/apache/axis2/transport/http/impl/httpclient3/HTTPSenderImpl.java
 Wed Apr 11 14:45:06 2012
@@ -296,23 +296,19 @@ public class HTTPSenderImpl extends HTTP
 return;
 }
 int statusCode = method.getStatusCode();
+HTTPStatusCodeFamily family = getHTTPStatusCodeFamily(statusCode);
 log.trace("Handling response - " + statusCode);
-if (statusCode == HttpStatus.SC_OK) {
-// Save the HttpMethod so that we can release the connection when
-// cleaning up
-msgContext.setProperty(HTTPConstants.HTTP_METHOD, method);
-processResponse(method, msgContext);
-} else if (statusCode == HttpStatus.SC_ACCEPTED) {
-/*
- * When an HTTP 202 Accepted code has been received, this will be
- * the case of an execution of an in-only operation. In such a
- * scenario, the HTTP response headers should be returned, i.e.
- * session cookies.
- */
+if (statusCode == HttpStatus.SC_ACCEPTED) {
+/* When an HTTP 202 Accepted code has been received, this will be 
the case of an execution 
+ * of an in-only operation. In such a scenario, the HTTP response 
headers should be returned,
+ * i.e. session cookies. */
 obtainHTTPHeaderInformation(method, msgContext);
-// Since we don't expect any content with a 202 response, we must
-// release the connection
-method.releaseConnection();
+// Since we don't expect any content with a 202 response, we must 
release the connection
+method.releaseC

svn commit: r1325122 - /axis/axis2/java/core/trunk/modules/parent/pom.xml

2012-04-11 Thread sagara
Author: sagara
Date: Thu Apr 12 06:00:17 2012
New Revision: 1325122

URL: http://svn.apache.org/viewvc?rev=1325122&view=rev
Log:
Update Neethi snapshot version. 

Modified:
axis/axis2/java/core/trunk/modules/parent/pom.xml

Modified: axis/axis2/java/core/trunk/modules/parent/pom.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/parent/pom.xml?rev=1325122&r1=1325121&r2=1325122&view=diff
==
--- axis/axis2/java/core/trunk/modules/parent/pom.xml (original)
+++ axis/axis2/java/core/trunk/modules/parent/pom.xml Thu Apr 12 06:00:17 2012
@@ -68,7 +68,7 @@
 
 
 1.2.14-SNAPSHOT
-3.0.2-SNAPSHOT
+3.0.3-SNAPSHOT
 1.0-SNAPSHOT
 1.4.8-SNAPSHOT
 




svn commit: r1325124 - /axis/axis2/java/core/branches/1_6/modules/parent/pom.xml

2012-04-11 Thread sagara
Author: sagara
Date: Thu Apr 12 06:03:29 2012
New Revision: 1325124

URL: http://svn.apache.org/viewvc?rev=1325124&view=rev
Log:
Update Neethi version.

Modified:
axis/axis2/java/core/branches/1_6/modules/parent/pom.xml

Modified: axis/axis2/java/core/branches/1_6/modules/parent/pom.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/branches/1_6/modules/parent/pom.xml?rev=1325124&r1=1325123&r2=1325124&view=diff
==
--- axis/axis2/java/core/branches/1_6/modules/parent/pom.xml (original)
+++ axis/axis2/java/core/branches/1_6/modules/parent/pom.xml Thu Apr 12 
06:03:29 2012
@@ -67,7 +67,7 @@
 
 
 
-3.0.2-SNAPSHOT
+3.0.2
 1.0M9
 1.2.13
 1.4.7