Does anyone know the answer to this problem (posted on 2002-1-14)?
I'm having the same problem using Axis1.1RC1 as the client and MS SOAP Toolkit v3 as
the server with a DIME attachment.
I'm using the generated files from WSDL2Java.
Thanks.
------------------
When doing the same with DIME as the return type I get the following
message. (Again, serializiation works, only deserialization does
not.)
------------------
INFO: Mapping Exception to AxisFault
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userException
faultString: org.xml.sax.SAXParseException: Character conversion
error: "Malformed UTF-8 char -- is an XML encoding declaration
missing?" (Line number probably to low)
faultActor: null
faultDetail:
stackTrace: org.xml.sax.SAXParseException: Character
conversion error: "Malformed UTF-8 char -- is an XML encoding
declaration missing?" (Line number probably to low)
at
org.apache.crimson.parser.InputEntity.fatal(InputEntity.java:1100)
at
org.apache.crimson.parser.InputEntity.fillbuf(InputEntity.java:1072)
at
org.apache.crimson.parser.InputEntity.isXmlDeclOrTextDeclPrefix(InputEntity.java:914)
at
org.apache.crimson.parser.Parser2.maybeXmlDecl(Parser2.java:1009)
at
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:486)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:232)
at
org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:546)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:377)
at org.apache.axis.client.Call.invokeEngine(Call.java:2132)
at org.apache.axis.client.Call.invoke(Call.java:2102)
at org.apache.axis.client.Call.invoke(Call.java:1851)
at org.apache.axis.client.Call.invoke(Call.java:1777)
at org.apache.axis.client.Call.invoke(Call.java:1315)
at test.TestClient.main(TestClient.java:123)