Axis2 服务器端抛出ServiceClass object does not implement问题解决方法
来源:互联网 发布:windows远程桌面工具 编辑:程序博客网 时间:2024/06/05 20:11
在用eclipse配合Axis2进行开发的时候,编译通过,启动tomcat也顺利,但是就是在调用服务器端的服务时,会抛出:
The ServiceClass object does not implement the required method in the following form: OMElement xxx (OMElement e)
解决的方法是在service.xml里面对服务器端开放的服务(操作方法)进行说明。比如我的服务端实现了这两个方法add和hello,那么就需要这么定义一下:
<operation name="hello" > <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out" class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" /> </operation> <operation name="add" > <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out" class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" /> </operation>
0 3
- Axis2 服务器端抛出ServiceClass object does not implement问题解决方法
- org.apache.axis2.AxisFault: The ServiceClass object does not implement the required method in the following form: OMElement get
- The ServiceClass object does not implement the required method in the following form
- The ServiceClass object does not implement the required method in the following form: OMElement sayH
- The ServiceClass object does not implement the required method in the following form: OMElement...
- does not implement doesNotRecognizeSelector/methodSignatureForSelector
- ajax上传图片TypeError: 'append' called on an object that does not implement interface FormData.
- TypeError:'stepUp' called on an object that does not implement interface HTMLInputElement.
- js报错“TypeError: 'stepUp' called on an object that does not implement interface HTMLInputElement”
- TypeError: 'append' called on an object that does not implement interface FormData
- TypeError: 'stepUp' called on an object that does not implement interface HTMLInputElement
- TypeError:'stepUp' called on an object that does not implement interface HTMLInputElement.
- TypeError: 'stepUp' called on an object that does not implement interface HTMLInputElement.
- Package does not match intended download的问题解决方法
- does not implement the NamespaceHandler interface
- SQL Features That SQLite Does Not Implement
- does not implement methodSignatureForSelector: -- trouble ahead
- ajax传值时报错:TypeError: 'stepUp' called on an object that does not implement interface HTMLInputElement
- ip
- rad hat安装Oracle
- 获取Apple设备语言的方式
- s5pv210 datasheet_system_BOOTING SEQUENCE
- 旋转数组找最小值
- Axis2 服务器端抛出ServiceClass object does not implement问题解决方法
- 消息摘要-mac
- Sass的知识点梳理
- QT实战:LOL模拟加点器
- HashMap实现原理
- 简析TCP的三次握手与四次分手
- 订制属于你的Fiddler
- linux设备驱动模型
- ProgressBar自定义图片拉伸的问题