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 "Bjorn Townsend (JIRA)" <ax...@ws.apache.org> on 2006/03/17 18:21:58 UTC

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

    [ http://issues.apache.org/jira/browse/AXIS-2435?page=comments#action_12370846 ] 

Bjorn Townsend commented on AXIS-2435:
--------------------------------------

Brock, what version of CommonsHttpSender are you using? And can you give any more detail on what operation is being performed when this happens?

> 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

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