You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Jesper Pedersen <je...@itplus.dk> on 2002/04/16 14:36:19 UTC
Example 2 ?
Hi.
I keep getting
jp@watt:~/WebServices/xml-axis> java samples.userguide.example2.CalcClient
-p8080 add 1 2
Exception in thread "main" org.xml.sax.SAXParseException: Document root
element is missing.
org.xml.sax.SAXParseException: Document root element is missing.
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182)
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3170)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:501)
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:393)
at
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:202)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:428)
at org.apache.axis.client.Call.invoke(Call.java:1925)
at org.apache.axis.client.Call.invoke(Call.java:1696)
at org.apache.axis.client.Call.invoke(Call.java:1614)
at org.apache.axis.client.Call.invoke(Call.java:1185)
at samples.userguide.example2.CalcClient.main(CalcClient.java:98)
with current CVS and Tomcat-3.3.1
I've compiled Axis with
[echo] === Required Libraries ===
[echo] wsdl4j.present=true
[echo] commons-logging.present=true
[echo] log4j.present=true
[echo] tt-bytecode.present=true
[echo]
[echo] --- Optional Libraries ---
[echo] servlet.present=true
[echo] regexp.present=true
[echo] junit.present=${junit.present}
[echo] activation.present=true
[echo] mailapi.present=true
[echo] attachments.present=true
[echo] security.present=${security.present}
[echo]
[echo] --- Property values ---
[echo] debug=on
[echo] deprecation=true
and followed the User Guide -- example 1 is working...
Any ideas ?
Cheers,
Jesper
P.S. I'm not on the mailing list...
P.P.S I've also tried with beta1, but with same result