我正在尝试使用以下步骤生成 Web 服务,但无法生成 server-config.wsdd并显示以下消息:
**Jul 04, 2013 10:51:23 PM org.apache.axis.configuration.EngineConfigurationFactoryServlet getServerEngineConfig
SEVERE: Unable to find config file. Creating new servlet engine config file: /WEB-INF/server-config.wsdd**
Eclipse Version : Juno bit
Tomcat Version: 7.0.41 32 bit
Platform: Windows 7 32 bit
JRE: jre7
步骤: 创建动态 Web 项目并将其与包下的 Create Class 关联:com.sample.service.SampleWebService.java 单击 File/New/Others/ Web Service项目。选择自底向上 Java Bean Web 服务作为Web 服务类型 提供 Java 文件的路径以及上述包。
选择Tomcat作为服务器,选择 Axis 作为Web Service Rum Time
单击下一步,然后选择要公开为 Web 服务的方法
在文本框样式中重命名 WSDL 文件名 使用:document/literal (wrapped) 单击 Next 按 Start Server。按下一步:
例外:
**faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.lang.NumberFormatException: For input string:"HTML";**
注意:这是一个简单的 Web 服务,我没有使用 Annotation。