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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to