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 Oliver Denzel <Ol...@gmx.de> on 2001/10/12 16:21:34 UTC

Problems with WSDL & Simple User authentification

Hi,

I have a problem with the automatic generation of WSDL:

I use the URL : http://localhost:8080/axis/StockQuoteService.jws?wsdl
and get:

Error: 500
Location: /axis/StockQuoteService.jws
Internal Servlet Error:
java.lang.NoClassDefFoundError: sun/tools/javac/Main
at org.apache.axis.handlers.JWSProcessor.invokeImpl(JWSProcessor.java:160)
at org.apache.axis.handlers.JWSProcessor.generateWSDL(JWSProcessor.java:241)
at org.apache.axis.SimpleTargetedChain.generateWSDL(SimpleTargetedChain.java:131)
at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:411)
at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:500)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:448)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:918)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:831)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:159)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:477)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:517)
at java.lang.Thread.run(Thread.java:484)

My configuration:

AXIS alpha 2 (out of the box)
Tomcat 3.3 b2
Win2k
JDK 1.3.1

I have the tools.jar in the classpath, I tried the one from 1.2.2 and from 1.3.1. I always get the same error. Just wondering, I don't find the class sun.tools.java.Main in the 1.3.1 version, only in the 1.2.2 version. But if I 
take this, it doesn't work also.

The next problem is the user authentification:

I nearly copied the two files (users.lst and perms.lst) to ervery directory on my harddisk, but I always get an error if I try to reach the stock quote service. If I tried to use the JWS varaint, I get an error that the SOAP 
Envelope is invalid, and if I use the "normal" varaint, I get user "null" couldn't be validated. Locations of the two files are: in tomcat/work/ and in all subfolders, in tomcat/WEB-INF/ in all subfolders and in 
tomcat/conf.
What is the right path? Or is the error something else?

Thank you for your help & sorry for my bad english :-)
Ciao

Oli D.