org.apache.axis2.rpc.receivers
Class RPCInOutAsyncMessageReceiver

java.lang.Object
  extended byorg.apache.axis2.receivers.AbstractMessageReceiver
      extended byorg.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver
          extended byorg.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver
All Implemented Interfaces:
MessageReceiver

public class RPCInOutAsyncMessageReceiver
extends AbstractInOutAsyncMessageReceiver


Field Summary
 
Fields inherited from class org.apache.axis2.receivers.AbstractMessageReceiver
SCOPE, SERVICE_CLASS
 
Constructor Summary
RPCInOutAsyncMessageReceiver()
           
 
Method Summary
 void invokeBusinessLogic(MessageContext inMessage, MessageContext outMessage)
          reflect and get the Java method - for each i'th param in the java method - get the first child's i'th child -if the elem has an xsi:type attr then find the deserializer for it - if not found, lookup deser for th i'th param (java type) - error if not found - deserialize & save in an object array - end for

- invoke method and get the return value

- look up serializer for return value based on the value and type

- create response msg and add return value as grand child of

 
Methods inherited from class org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver
receive
 
Methods inherited from class org.apache.axis2.receivers.AbstractMessageReceiver
getSOAPFactory, getTheImplementationObject, makeNewServiceObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RPCInOutAsyncMessageReceiver

public RPCInOutAsyncMessageReceiver()
Method Detail

invokeBusinessLogic

public void invokeBusinessLogic(MessageContext inMessage,
                                MessageContext outMessage)
                         throws AxisFault
reflect and get the Java method - for each i'th param in the java method - get the first child's i'th child -if the elem has an xsi:type attr then find the deserializer for it - if not found, lookup deser for th i'th param (java type) - error if not found - deserialize & save in an object array - end for

- invoke method and get the return value

- look up serializer for return value based on the value and type

- create response msg and add return value as grand child of

Specified by:
invokeBusinessLogic in class AbstractInOutAsyncMessageReceiver
Parameters:
inMessage -
outMessage -
Throws:
AxisFault