Hi Axis-Dev Team,

   We are facing one issue while using the custom MessageReceiver class for
IN-ONLY MEP. We are using fireAndForget method to call a webservice. In the
service.xml file of service class, we have used below code for defining the
mep type.

<messageReceivers>
                <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only";
class="mesha.MeshaInOnlyMessageReceiver" />
                <messageReceiver  mep="http://www.w3.org/2004/08/wsdl/in-out"; 
class="mesha.MeshaMessageReceiver"/>
        </messageReceivers>

MeshaInOnlyMessageReceiver custom MessageReceiver class extends
RPCInOnlyMessageReceiver class. But when we are running the service, its not
executing Custom MessageReceiver class. We tried by extending
RawXMLINOnlyMessageReceiver class, then we got below error.

org.apache.axis2.receivers.AbstractMessageReceiver  [ERROR]
org.apache.axis2.AxisFault: RawXMLMessageReceiver can not handle this
scenario since ServiceClass has implemented to take Non OMElement as method
arguments.

Could you please let us know for fireAndForget call,  by default which MEP
it uses and which class.  

  We want to execute out own Custom MessageReceiver class when we call a
service using fireAndForget, Could you please let us know how can we achieve
this.

Please reply as soon as possible.

Thanks,
Swapna Soni.

-- 
View this message in context: 
http://www.nabble.com/Errro-while-using-the-Custom-MessageReceiver-for--IN-ONLY-MEP.-tp25102873p25102873.html
Sent from the Axis - Dev mailing list archive at Nabble.com.

Reply via email to