[ 
https://issues.apache.org/jira/browse/AXIS2-2375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Srinath Perera resolved AXIS2-2375.
-----------------------------------

    Resolution: Fixed

Add a check to length of the SOAP action

> If the SOAPAction header is not quoted and empty, this gives 
> StringIndexOutOfBoundsException on server side
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2375
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2375
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1.1
>         Environment: Axis2, version 1.1.1
> Tomcat 5.0
> JDK1.6.0
>            Reporter: Jonas Boëthius
>            Assignee: Deepal Jayasinghe
>            Priority: Blocker
>
> If the SOAPAction header is not quoted and empty, this gives 
> StringIndexOutOfBoundsException on server side. The Axis2 server side accepts 
> requests with empty quoted SOAPAction header (""), non-quoted values, and 
> completely missing header, but when the header is present and empty, an 
> exception is raised in the AxisServlet.
> From response:
> <soapenv:Detail><Exception>org.apache.axis2.AxisFault: 
> java.lang.StringIndexOutOfBoundsException: String index out of range: 0; 
> nested exception is: 
>       java.lang.StringIndexOutOfBoundsException: String index out of range: 
> 0&#xd;
>       at 
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:294)&#xd;
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)&#xd;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to