MyException - 我的异常网
当前位置:我的异常网» J2EE » 在tomcat5.5上部署aixs webservice老是出现如下异常

在tomcat5.5上部署aixs webservice老是出现如下异常!·(急)

www.MyException.Cn  网友分享于:2013-12-27  浏览:84次
在tomcat5.5上部署aixs webservice老是出现如下错误!·(急急急急急急急急急急急急急)
deploy.wsdd文件
<deployment
  xmlns="http://xml.apache.org/axis/wsdd/"
  xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

  <!-- Services from IUIMSWebServiceForOAService WSDL service -->

  <service name="IUIMSWebServiceForOA" provider="java:RPC" style="rpc" use="encoded">
  <parameter name="wsdlTargetNamespace" value="urn:IUIMSWebServiceForOA"/>
  <parameter name="wsdlServiceElement" value="IUIMSWebServiceForOAService"/>
  <parameter name="schemaUnqualified" value="http://info.service.web,http://xml.apache.org/xml-soap,urn:IUIMSWebServiceForOA,http://exception.service.web"/>
  <parameter name="wsdlServicePort" value="IUIMSWebServiceForOA"/>
  <parameter name="className" value="IUIMSWebServiceForOA_pkg.IUIMSWebServiceForOASoapBindingSkeleton"/>
  <parameter name="wsdlPortType" value="IUIMSWebServiceForOA"/>
  <parameter name="typeMappingVersion" value="1.2"/>
  <parameter name="allowedMethods" value="*"/>
  <parameter name="scope" value="Session"/>

  <typeMapping
  xmlns:ns="http://exception.service.web"
  qname="ns:WSException"
  type="java:web.service.exception.WSException"
  serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
  deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
  encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  />
  <arrayMapping
  xmlns:ns="urn:IUIMSWebServiceForOA"
  qname="ns:ArrayOf_xsd_anyType"
  type="java:java.lang.Object[]"
  innerType="cmp-ns:anyType" xmlns:cmp-ns="http://www.w3.org/2001/XMLSchema"
  encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  />
  <arrayMapping
  xmlns:ns="urn:IUIMSWebServiceForOA"
  qname="ns:ArrayOf_tns2_UserInfo"
  type="java:web.service.info.UserInfo[]"
  innerType="cmp-ns:UserInfo" xmlns:cmp-ns="http://info.service.web"
  encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  />
  <typeMapping
  xmlns:ns="http://info.service.web"
  qname="ns:UserInfo"
  type="java:web.service.info.UserInfo"
  serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
  deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
  encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  />
  </service>
</deployment>
生成server-config.wsdd时出错
- Unable to deploy typemapping: {http://exception.service.web}WSException
java.lang.ClassNotFoundException: web.service.exception.WSException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有