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 "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2005/07/12 16:19:42 UTC

[jira] Resolved: (AXIS-2074) .SAXParseException for charset="utf-8" in content type of server response

     [ http://issues.apache.org/jira/browse/AXIS-2074?page=all ]
     
Davanum Srinivas resolved AXIS-2074:
------------------------------------

    Resolution: Won't Fix

see the duplicate issue for details.

> .SAXParseException for charset="utf-8" in content type of server response
> -------------------------------------------------------------------------
>
>          Key: AXIS-2074
>          URL: http://issues.apache.org/jira/browse/AXIS-2074
>      Project: Apache Axis
>         Type: Bug
>  Environment: Windows
>     Reporter: Anna Sagi
>     Priority: Critical

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