axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anna Sagi (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-28) org.xml.sax.SAXParseException for charset="utf-8" in content type of server
Date Tue, 21 Jun 2005 13:41:17 GMT
org.xml.sax.SAXParseException for charset="utf-8" in content type of server
---------------------------------------------------------------------------

         Key: AXIS2-28
         URL: http://issues.apache.org/jira/browse/AXIS2-28
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug
  Components: client-api  
 Environment: Windows
    Reporter: Anna Sagi
 Assigned to: 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


Mime
View raw message