axis传递javabean时的发布问题
发布文件deploy.wsdd内容如下:
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="CheckOrder" provider="java:RPC">
<parameter name="className" value="com.sinosoft.webservice.AnalyzeOrder"/>
<parameter name="allowedMethods" value="process"/>
<beanMapping qName="myNS:Order" xmlns="urn:AnalyzeOrder"
languageSpecificType="java:com.sinosoft.webservice.OrderBean"/>
</service>
</deployment>
发布,tomcat控制台报错:
Unable to deploy typemapping:
java.lang.ClassNotFoundException: com.sinosoft.webservice.OrderBean
这个文件存在,路径我也检查了多遍,不知道问题出在哪儿?求大神指点
------解决方案--------------------<beanMapping qname="myNSD:Order" xmlns:myNSD="urn:AnalyzeOrder" languageSpecificType="java:com.sinosoft.webservice.OrderBean"/>
试试看吧
------解决方案--------------------