public class JsonRpcMessageReceiver extends RPCMessageReceiver
AbstractMessageReceiver.AsyncMessageReceiverWorker
DO_ASYNC, SAVED_MC, SAVED_TCCL, SCOPE, serviceTCCL
Constructor and Description |
---|
JsonRpcMessageReceiver() |
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
|
void |
invokeService(com.google.gson.stream.JsonReader jsonReader,
Object serviceObj,
String operation_name,
MessageContext outMes) |
invokeBusinessLogic
getSOAPFactory, getTheImplementationObject, makeNewServiceObject, receive, replicateState, restoreThreadContext
public void invokeBusinessLogic(MessageContext inMessage, MessageContext outMessage) throws AxisFault
RPCMessageReceiver
invokeBusinessLogic
in class RPCMessageReceiver
inMessage
- incoming MessageContextoutMessage
- outgoing MessageContextAxisFault
public void invokeService(com.google.gson.stream.JsonReader jsonReader, Object serviceObj, String operation_name, MessageContext outMes) throws AxisFault
AxisFault
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.