Class RawXMLINOutMessageReceiver

java.lang.Object
org.apache.axis2.receivers.AbstractMessageReceiver
org.apache.axis2.receivers.RawXMLINOutMessageReceiver
All Implemented Interfaces:
MessageReceiver

public class RawXMLINOutMessageReceiver extends AbstractMessageReceiver implements MessageReceiver
The RawXMLINOutMessageReceiver MessageReceiver hands over the raw request received to the service implementation class as an OMElement. The implementation class is expected to return back the OMElement to be returned to the caller. This is a synchronous MessageReceiver, and finds the service implementation class to invoke by referring to the "ServiceClass" parameter value specified in the service.xml and looking at the methods of the form OMElement <>(OMElement request)
See Also:
  • Constructor Details

    • RawXMLINOutMessageReceiver

      public RawXMLINOutMessageReceiver()
  • Method Details

    • invokeBusinessLogic

      public void invokeBusinessLogic(MessageContext msgContext, MessageContext newmsgContext) throws AxisFault
      Invokes the bussiness logic invocation on the service implementation class
      Parameters:
      msgContext - the incoming message context
      newmsgContext - the response message context
      Throws:
      AxisFault - on invalid method (wrong signature) or behaviour (return null)
    • invokeBusinessLogic

      public final void invokeBusinessLogic(MessageContext msgContext) throws AxisFault
      Description copied from class: AbstractMessageReceiver
      Do the actual work of the MessageReceiver. Must be overridden by concrete subclasses.
      Specified by:
      invokeBusinessLogic in class AbstractMessageReceiver
      Parameters:
      msgContext - active MessageContext
      Throws:
      AxisFault - if a problem occurred