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 "Brock Janiczak (JIRA)" <ax...@ws.apache.org> on 2006/03/15 12:45:38 UTC
[jira] Created: (AXIS-2435) Bad envelope tag: html on 503 response
code with CommonsHttpSender
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
[jira] Resolved: (AXIS-2435) Bad envelope tag: html on 503
response code with CommonsHttpSender
Posted by "Jarek Gawor (JIRA)" <ax...@ws.apache.org>.
[ 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
[jira] Commented: (AXIS-2435) Bad envelope tag: html on 503
response code with CommonsHttpSender
Posted by "Bjorn Townsend (JIRA)" <ax...@ws.apache.org>.
[ 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
[jira] Commented: (AXIS-2435) Bad envelope tag: html on 503
response code with CommonsHttpSender
Posted by "Brock Janiczak (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2435?page=comments#action_12370891 ]
Brock Janiczak commented on AXIS-2435:
--------------------------------------
I am using whatever version comes with Axis 1.3. I am also using Commons HTTP Client 1.3. I checked the code agaings head though.
I am trying to access the Jira web service interface. Before you can use the jira web services they have to be turned on. If they are not enabled you will get a 503 response back. I was using this response code to display a special dialog to the user asking them to enable the RPC interface. I can set you up with access to my jira server if you need it, but this is easily reproducible by having an endpoint return a 503 response code and a content type of text/xml;charset=utf-8 (or anything other than text/html)
> 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