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

Davanum Srinivas commented on AXIS-2080:
----------------------------------------

typo!!!

type="text/xml; charset=utf-8";

> org.xml.sax.SAXParseException for charset="utf-8" in content type of server
> ---------------------------------------------------------------------------
>
>          Key: AXIS-2080
>          URL: http://issues.apache.org/jira/browse/AXIS-2080
>      Project: Apache Axis
>         Type: Bug
>  Environment: Windows
>     Reporter: Anna Sagi
>     Assignee: Davanum Srinivas

>
> Our Web Services server sends following lines ( part of response ) :
> HTTP/1.1 200 OK
> Server: gSOAP/2.7
> Content-Type: multipart/related; 
> boundary="<>06CsmIZO3OOnAfDG08Ik1DsFonA8WZfKTh36pQIgeWHf1LlqHtO9x6CZiCV4c0DvW6p/<>";
>  type="text/xml"; charset="utf-8"; start="<SOAP-ENV:Envelope>"
> Content-Length: 328380
> Connection: close
> In axis1.2 we get following exeption ( it worked fine in axis 1.1)
> {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXParseException: 
> Invalid encoding name &quot;utf-8&quot;; 
> start=&quot;&lt;SOAP-ENV:Envelope&gt;&quot;.
>       at 
> weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1189)
>       at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
>       at 
> org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
>       at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
>       at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
>       at 
> org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
>       at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
>       at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
>       at org.apache.axis.client.Call.invoke(Call.java:2748)
>       at org.apache.axis.client.Call.invoke(Call.java:2424)
>       at org.apache.axis.client.Call.invoke(Call.java:2347)
>       at org.apache.axis.client.Call.invoke(Call.java:1804)
>       

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