欢迎访问鸿雪径,这里介绍软件相关技术、动态以及鸿雪径杂谈,如有技术合作请与站长联系!邮费网 易食烤吧 特产大全网
首页 > JAVA > The ServiceClass object does not implement the required method in the following form: OMElement getDocSummary(OMElement e)

The ServiceClass object does not implement the required method in the following form: OMElement getDocSummary(OMElement e)

发布时间:2015-04-03 作者:伊君 点击:2657

使用vb.net调用java axis2生成的soap时报如下错误:

The ServiceClass object does not implement the required method in the following form: OMElement getDocSummary(OMElement e)

经过排查是在aar服务包中的services.xml文件中的方法定义中缺少了一些定义:

原内容:

    <operation name="setValue">

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

    </operation>


其中缺少了   mep="http://www.w3.org/2004/08/wsdl/in-out" 

如果方法没有返回值,使用

mep="http://www.w3.org/2004/08/wsdl/in-only"

修改后的定义如下:

    <operation name="setValue">

    <messageReceiver  mep="http://www.w3.org/2004/08/wsdl/in-out" class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" />

    </operation>



更多关于 java,soap,webservices 的信息
本站部分文章转载于网上,版权归原作者所有。如果侵犯您的权益,请Email和本站联系!
鸿雪径 www.HongXueJing.com  冀ICP备07017673号-4