您的位置:程序门 -> java -> web services / xml



axis deploy.wsdd 生成server-config.wsdd 出错


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


axis deploy.wsdd 生成server-config.wsdd 出错[无满意答案结贴]
发表于:2008-01-30 11:29:39 楼主
deploy.wsdd   文件如下   :
<deployment   xmlns="http://xml.apache.org/axis/wsdd/"
                        xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

  <service   name="smsgetmsg"   provider="java:rpc">
    <parameter   name="classname"   value="com.sunray.sms.model.smsgetmsg"/>
    <parameter   name="allowedmethods"   value="*"/>
    <beanmapping       qname=   "ns:smsinfo"       xmlns:ns=   "urn:smsgetmsg"       languagespecifictype=   "java:com.sunray.sms.pojo.smsgetmsg"/>
  </service>

</deployment>
运行:
d:\program   files\jakarta-tomcat-5.5.9\webapps\smswebservices\web-inf>
java   -djava.ext.dirs=lib   org.apache.axis.client.adminclient   -lhttp://localhost:8888/smswebservices/smsgetmsg.jws?wsdl   deploy.wsdd
错误情况如下   :
processing   file   deploy.wsdd
exception:   axisfault
  faultcode:   {http://schemas.xmlsoap.org/soap/envelope/}server.userexception
  faultsubcode:
  faultstring:   org.xml.sax.saxexception:   simpledeserializer   encountered   a   child   element,   which   is   not   expected,   in   something   it   was   trying   to   deserialize.
  faultactor:
  faultnode:
  faultdetail:
                {http://xml.apache.org/axis/}hostname:sunray-zjr

请问各位高手,这具体是什么原因?为什么?怎么解决!!!
等待中..........
发表于:2008-01-30 17:19:371楼 得分:0
  已经解决。。。。。。。。。


快速检索

最新资讯
热门点击