Sunday

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

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

FIX:  Update the following changes in services.xml and axis2.xml :

(change '2004/08' to 'ns')
<!-- Earlier: -->
<messageReceivers>
     <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only" class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver" />
     <messageReceiver  mep="http://www.w3.org/2004/08/wsdl/in-out"  class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
</messageReceivers>

<!--  New: -->
<messageReceivers>
     <messageReceiver mep="http://www.w3.org/ns/wsdl/in-only" class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver" />
     <messageReceiver  mep="http://www.w3.org/ns/wsdl/in-out"  class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>            
</messageReceivers>

2 comments: