Client not able to read the response sent by Axis on Tomcat (platform: Solaris 
SPARC)
-------------------------------------------------------------------------------------

         Key: AXIS2-54
         URL: http://issues.apache.org/jira/browse/AXIS2-54
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug
  Components: transports  
 Environment: Tomcat 5, SOLARIS SPARC
    Reporter: Abhijeet Shinde
    Priority: Critical


After analysing the Axis code, we found the problem lies with the 
Content-Length not set by the Aapache AXIS. The code in the AxisServlet is not 
setting the Content-Length and thats the reason the Client is not able to read 
the response properly. 
The client waits till the timeout is reached during reading the response  
(byte-by-byte).

Also the Axis has another bug, where the getContentLength() method in 
org.apache.axis.Message returns the wrong Content-Length. On debugging I found 
that the response contains the <?xml version="1.0" encoding="UTF-8"?> 
declaration followed by the soap message, but the Content-Length returned was 
only that of the soap message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to