配置是这样的
Axis Happiness Page
Examining webapp configurationLanguage: [en] [ja] 
Needed Components
Found SAAJ API ( javax.xml.soap.SOAPMessage ) at D:\Tomcat 5.5\webapps\axis\WEB-INF\lib\saaj.jarFound JAX-RPC API ( javax.xml.rpc.Service ) at D:\Tomcat 5.5\webapps\axis\WEB-INF\lib\jaxrpc.jarFound Apache-Axis ( org.apache.axis.transport.http.AxisServlet ) at D:\Tomcat 5.5\webapps\axis\WEB-INF\lib\axis.jarFound Jakarta-Commons Discovery ( org.apache.commons.discovery.Resource ) at D:\Tomcat 5.5\webapps\axis\WEB-INF\lib\commons-discovery-0.2.jarFound Jakarta-Commons Logging ( org.apache.commons.logging.Log ) at D:\Tomcat 5.5\bin\commons-logging-api.jarFound Log4j ( org.apache.log4j.Layout ) at D:\Tomcat 5.5\webapps\axis\WEB-INF\lib\log4j-1.2.8.jarFound IBM's WSDL4Java ( com.ibm.wsdl.factory.WSDLFactoryImpl ) at D:\Tomcat 5.5\webapps\axis\WEB-INF\lib\wsdl4j-1.5.1.jarFound JAXP implementation ( javax.xml.parsers.SAXParserFactory ) at an unknown locationFound Activation API ( javax.activation.DataHandler ) at D:\Tomcat 5.5\webapps\axis\WEB-INF\lib\activation.jarOptional Components
Warning: could not find class javax.mail.internet.MimeMessage from file mail.jar
Attachments will not work. 
See http://java.sun.com/products/javamail/
Warning: could not find class org.apache.xml.security.Init from file xmlsec.jar
XML Security is not supported. 
See http://xml.apache.org/security/
Found Java Secure Socket Extension ( javax.net.ssl.SSLSocketFactory ) at an unknown locationThe core axis libraries are present.2 wanted optional axis librar(ies) are missing
Note: On Tomcat 4.x and Java1.4, you may need to put libraries that contain java.* or javax.* packages into CATALINA_HOME/common/lib 
jaxrpc.jar and saaj.jar are two such libraries.
Note: Even if everything this page probes for is present, there is no guarantee your web service will work, because there are many configuration options that we do not check for. These tests are necessary but not sufficient

解决方案 »

  1.   

    d:\Tomcat 5.5\webapps\axis\WEB-INF\jwsClasses\webtest.java这里怎么能方java文件呢??应该是webtest.class文件才对
      

  2.   

    程序没有问题,你直接把AXIS的例子拿来试试看是不是有同样的问题
      

  3.   

    环境问题。
    jdk重装。tomcat重装。
      

  4.   

    呵呵,你都没有写.wsdl文件啊。
    到我的blog上看看吧,那有我写的关于axis2的东西
    http://www.blogjava.net/lbx19822004/
                                         --冰川
      

  5.   

    你按照帖子上的步骤做一遍就知道了,不只一种方法的,那篇帖子下面的回帖中还有客户端的写法,不过比较麻烦,慢慢来吧。
    如果想深入了解,请参阅www.apache.org站点上的axis2用户指南。
                                                                    --  冰川
      

  6.   

    按贴子上的第三步就不行,访问http://localhost:8080/axis2/就不行401错