public class RPCMessageReceiver extends AbstractInOutMessageReceiver
AbstractMessageReceiver.AsyncMessageReceiverWorker, AbstractMessageReceiver.ThreadContextDescriptor
DO_ASYNC, SAVED_MC, SAVED_TCCL, SCOPE, serviceTCCL
Constructor and Description |
---|
RPCMessageReceiver() |
Modifier and Type | Method and Description |
---|---|
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
|
invokeBusinessLogic
getSOAPFactory, getTheImplementationObject, makeNewServiceObject, receive, replicateState, restoreThreadContext, setThreadContext
public void invokeBusinessLogic(MessageContext inMessage, MessageContext outMessage) throws AxisFault
invokeBusinessLogic
in class AbstractInOutMessageReceiver
inMessage
- incoming MessageContextoutMessage
- outgoing MessageContextAxisFault
Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.