P
pitthekid
Hello,
I am a newbie in Webservices and try to install one on Tomcat 5.5.9.
The url
http://localhost:8087/axis/services/AdminService?wsdl
displays the correct xml File.
Now I wrote a new java file saved it under Calculator.jws.
The url
http://localhost:8087/axis/services/Calculator.jws, displays the
message:
"There is a Web Service here
Click to see the WSDL."
But now: If i click onthe link "Click to see the WSDL" then following
error is displayed:
......
error:
*************************************************************
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - Error while compiling: C:\Programme\Apache Group\Tomcat
5.59\webapps\axis\WEB-INF\jwsClasses\EchoHeaders.java
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.compileError
faultSubcode:
faultString: Error while compiling: C:\Programme\Apache Group\Tomcat
5.59\webapps\axis\WEB-INF\jwsClasses\EchoHeaders.java
faultActor:
faultNode:
faultDetail:
{}Errors: Error compiling C:\Programme\Apache Group\Tomcat
5.59\webapps\axis\WEB-INF\jwsClasses\EchoHeaders.java:
Line 0, column 0: could not parse error message: Note:
sun.tools.javac.Main has been deprecated.
error: Invalid class file format in
C:\Programme\Java\jre1.5.0_01\lib\rt.jar(java/util/Enumeration.class).
The major.minor version '49.0' is too recent for this tool to
understand.
C:\Programme\Apache Group\Tomcat
5.59\webapps\axis\WEB-INF\jwsClasses\EchoHeaders.java:60: Class
java.util.Enumeration not found in import.
import java.util.Enumeration;
^
......
*********************************************************
=> :-( :-( .
Somehow the java File cannot be compiled by Tomcat. Have I forgotten to
set a PATH or CLASSPATH Variable?
I would appreciate help very much.
Thanks in advance,
Peter
I am a newbie in Webservices and try to install one on Tomcat 5.5.9.
The url
http://localhost:8087/axis/services/AdminService?wsdl
displays the correct xml File.
Now I wrote a new java file saved it under Calculator.jws.
The url
http://localhost:8087/axis/services/Calculator.jws, displays the
message:
"There is a Web Service here
Click to see the WSDL."
But now: If i click onthe link "Click to see the WSDL" then following
error is displayed:
......
error:
*************************************************************
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - Error while compiling: C:\Programme\Apache Group\Tomcat
5.59\webapps\axis\WEB-INF\jwsClasses\EchoHeaders.java
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.compileError
faultSubcode:
faultString: Error while compiling: C:\Programme\Apache Group\Tomcat
5.59\webapps\axis\WEB-INF\jwsClasses\EchoHeaders.java
faultActor:
faultNode:
faultDetail:
{}Errors: Error compiling C:\Programme\Apache Group\Tomcat
5.59\webapps\axis\WEB-INF\jwsClasses\EchoHeaders.java:
Line 0, column 0: could not parse error message: Note:
sun.tools.javac.Main has been deprecated.
error: Invalid class file format in
C:\Programme\Java\jre1.5.0_01\lib\rt.jar(java/util/Enumeration.class).
The major.minor version '49.0' is too recent for this tool to
understand.
C:\Programme\Apache Group\Tomcat
5.59\webapps\axis\WEB-INF\jwsClasses\EchoHeaders.java:60: Class
java.util.Enumeration not found in import.
import java.util.Enumeration;
^
......
*********************************************************
=> :-( :-( .
Somehow the java File cannot be compiled by Tomcat. Have I forgotten to
set a PATH or CLASSPATH Variable?
I would appreciate help very much.
Thanks in advance,
Peter