Hi pat ; Once you define Message receivers like below in services.xml <messageReceivers> <messageReceiver mep="..." class="..."/> </messageReceivers>
Then , you do not need to go and add the message receivers for each operation. Axis2 will automatically set the correct MR to the operation depending on the MEP. But still you want to override the MR, then you can define that inside the operation. Thanks Deepal >Hi, > >I want to know, if there's somebody who can explain the difference between: ><messageReceivers> ><messageReceiver mep="..." class="..."/> ></messageReceivers> > >and > ><operation name="echo"> ><messageReceiver >class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> ><actionMapping>urn:echo</actionMapping> ></operation> > >Yes, I've took these from the service.xml in different samples. > >Thanks a lot > > Pat > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > -- Thanks, Deepal ................................................................ "The highest tower is built one brick at a time" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
