org.apache.soap.server
Class RPCRouter
java.lang.Object
|
+--org.apache.soap.server.RPCRouter
- public class RPCRouter
- extends java.lang.Object
This class is a transport independent SOAP RPC router. However you
do it, if you get a SOAP envelope to me, I will build a Call object
out of it, check whether its valid and finally do it for you (on
an object you give me).
- Author:
- Sanjiva Weerawarana
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
RPCRouter
public RPCRouter()
extractCallFromEnvelope
public static Call extractCallFromEnvelope(ServiceManager serviceManager,
Envelope callEnv,
SOAPContext ctx)
throws SOAPException
validCall
public static boolean validCall(DeploymentDescriptor dd,
Call call)
- Check whether the call is valid w.r.t. being on a method that's
published by the service. The call is assumed to have been built
by the above method; hence the call is on a known service.
invoke
public static Response invoke(DeploymentDescriptor dd,
Call call,
java.lang.Object targetObject,
SOAPContext reqCtx,
SOAPContext resCtx)
throws SOAPException
- Do the call on the given target object.
Copyright © 2001 Apache XML Project. All Rights Reserved.