You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by he...@apache.org on 2007/06/13 21:17:48 UTC

svn commit: r547008 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/HTTPTransportUtils.java

Author: hemapani
Date: Wed Jun 13 12:17:47 2007
New Revision: 547008

URL: http://svn.apache.org/viewvc?view=rev&rev=547008
Log:
fix https://issues.apache.org/jira/browse/AXIS2-2375

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/HTTPTransportUtils.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/HTTPTransportUtils.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/HTTPTransportUtils.java?view=diff&rev=547008&r1=547007&r2=547008
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/HTTPTransportUtils.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/HTTPTransportUtils.java Wed Jun 13 12:17:47 2007
@@ -252,7 +252,9 @@
                                                 String contentType) {
         int soapVersion = VERSION_UNKNOWN;
         // remove the starting and trailing " from the SOAP Action
-        if ((soapActionHeader != null) && soapActionHeader.charAt(0) == '\"'
+        if ((soapActionHeader != null) 
+                && soapActionHeader.length() > 0 
+                && soapActionHeader.charAt(0) == '\"'
                 && soapActionHeader.endsWith("\"")) {
             soapActionHeader = soapActionHeader.substring(1, soapActionHeader.length() - 1);
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org