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&#xd;
        at
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:86)&#xd;
        at org.apache.axis2.engine.Phase.invoke(Phase.java:308)&#xd;
        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)&#xd;
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)&#xd;


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]

Reply via email to