当前位置:首页 » Apache技术知识

org.apache.axis2.AxisFault: The ServiceClass object does not implement the required method in the fo

2015-03-20 11:36 本站整理 浏览(441)

调用webservice报错:

org.apache.axis2.AxisFault: The ServiceClass object does not implement the required method in the following form: OMElement getLoginRole(OMElement e)
是因为没有在services.xml中对该方法配置:

<operation name="getLoginRole">
    <messageReceiver class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" />
</operation>