org.apache.soap.server
Class MessageRouter
java.lang.Object
org.apache.soap.server.MessageRouter
- public class MessageRouter
- extends java.lang.Object
This class is a transport independent SOAP message router. However you
do it, if you get a SOAP envelope to me, I will deliver that to the
right method of the object you give me to work on.
- Author:
- Sanjiva Weerawarana
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageRouter
public MessageRouter()
validMessage
public static boolean validMessage(DeploymentDescriptor dd,
java.lang.String messageName)
- Check whether the message is valid - does the service publish it?
invoke
public static void invoke(DeploymentDescriptor dd,
Envelope env,
java.lang.Object targetObject,
java.lang.String messageName,
SOAPContext reqCtx,
SOAPContext resCtx)
throws SOAPException
- Deliver the message to the appropriate method on the given target
object.
- Throws:
SOAPException
Copyright ? 2001 Apache XML Project. All Rights Reserved.