axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhijeet Shinde (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-54) Client not able to read the response sent by Axis on Tomcat (platform: Solaris SPARC)
Date Thu, 30 Jun 2005 06:51:57 GMT
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


Mime
View raw message