[ 
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

Reply via email to