| 发表于: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 请问各位高手,这具体是什么原因?为什么?怎么解决!!! 等待中.......... |
|
|
|
|