Do you want to get all the message related to a given service in to one message receiver? Or is it that you want to get all the messages, irrespective of the service to get to one message receiver?
If it is the first case, then register one message receiver class name for all the MEPs. IIRC, this is how Axis2 internals work. When you get a SOAP message, we will first identify the service and the operation this message is going to. Every operation is connected to a MEP (http://wso2.org/library/335), and a message receiver is also bound to a message receiver for a given service. One the operation and the service is found, service.xml details are used to retrieve the message receiver connected to the MEP of that operation. If it is the second case, then you might have to write a handler to do this. HTH. Chinthaka On Wed, Aug 27, 2008 at 7:56 PM, murugess <[EMAIL PROTECTED]> wrote: > > I want the same message reciever to be invoked for a service regardless of > whatever the soap action comes in the request. Basically I am trying to > simulate a servlet which will get all the requests targeted to it. I dont > have any service implementation class and no wsdl in the services folder. > > Here is what I have in services.xml: > > <service > > <messageReceivers> > <messageReceiver mep="http://www.w3.org/ns/wsdl/in-out" > class="com.xyz.GenericMessageReceiverInOut"/> > </messageReceivers> > > </service> > > > I can't put any opertions name as I want the same > GenericMessageReceiverInOut to be invoked for all operations ( or requests > with any soapaction or wsa action). > > > When I send the request using a client, I get following exception: > > <Exception>org.apache.axis2.AxisFault: The endpoint reference (EPR) for the > Operation not found is > http://localhost:8080/CRMGWServer/services/GenericFeedService and the WSA > Action = null
 > at > > org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:86)
 > at org.apache.axis2.engine.Phase.invoke(Phase.java:308)
 > at > org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
 > at > org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
 > > > I really appreciate if any one can point me to the right solution. I wish i > could put wild card character (*) in the operation tag inside services.xml. > > > > -- > View this message in context: > http://www.nabble.com/Want-to-use-the-same-message-receiver-for-all-operations%21%21-tp19191943p19191943.html > Sent from the Axis - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- With Mettha, Eran Chinthaka -------------------------------------------------------------------- Health is the greatest gift; contentment is the greatest wealth; trusting is the best relationship; nirvana is the highest joy. - Dhammapada
