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 "Jarek Gawor (JIRA)" <ax...@ws.apache.org> on 2006/03/27 08:18:23 UTC

[jira] Resolved: (AXIS-2435) Bad envelope tag: html on 503 response code with CommonsHttpSender

     [ http://issues.apache.org/jira/browse/AXIS-2435?page=all ]
     
Jarek Gawor resolved AXIS-2435:
-------------------------------

    Fix Version: current (nightly)
     Resolution: Fixed

Fixed in trunk.

> Bad envelope tag:  html on 503 response code with CommonsHttpSender
> -------------------------------------------------------------------
>
>          Key: AXIS-2435
>          URL: http://issues.apache.org/jira/browse/AXIS-2435
>      Project: Apache Axis
>         Type: Bug
>     Versions: 1.3
>     Reporter: Brock Janiczak
>      Fix For: current (nightly)

>
> With using the COmmonsHttpSender: When the response code is 503 and the content type is text/html;charset=utf-8 a sax parse exception is thrown trying to read the content stream.  The problem is that the CommonsHttpSender is assuming that anything that is not text/html will be XML.  The regular HTTPSender gets this right by using startsWith instead of equals.

-- 
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