Class AxisClient

All Implemented Interfaces:
Serializable, Handler

public class AxisClient extends AxisEngine
Provides the equivalent of an "Axis engine" on the client side. Subclasses hardcode initialization & setup logic for particular client-side transports.
Author:
Rob Jellinghaus (robj@unrealities.com), Doug Davis (dug@us.ibm.com), Glen Daniels (gdaniels@allaire.com)
See Also:
  • Field Details

    • log

      protected static org.apache.commons.logging.Log log
  • Constructor Details

  • Method Details

    • getClientEngine

      public AxisEngine getClientEngine()
      Description copied from class: AxisEngine
      Client engine access.

      An AxisEngine may define another specific AxisEngine to be used by newly created Clients. For instance, a server may create an AxisClient and allow deployment to it. Then the server's services may access the AxisClient's deployed handlers and transports.

      Specified by:
      getClientEngine in class AxisEngine
      Returns:
      this instance, as this is the client engine
    • invoke

      public void invoke(MessageContext msgContext) throws AxisFault
      Main routine of the AXIS engine. In short we locate the appropriate handler for the desired service and invoke() it.
      Parameters:
      msgContext - the MessageContext to invoke relative to
      Throws:
      AxisFault - if anything goes wrong during invocation
    • getJAXRPChandlerChain

      protected HandlerChain getJAXRPChandlerChain(MessageContext context)
      Parameters:
      context - Stores the Service, port QName and optionnaly a HandlerInfoChainFactory
      Returns:
      Returns a HandlerChain if one has been specified