Class AxisServer

All Implemented Interfaces:
Serializable, Handler

public class AxisServer extends AxisEngine
Author:
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

    • getServer

      public static AxisServer getServer(Map environment) throws AxisFault
      Throws:
      AxisFault
    • isRunning

      public boolean isRunning()
    • start

      public void start()
      Start the server.
    • stop

      public void stop()
      Stop the server.
    • getClientEngine

      public AxisEngine getClientEngine()
      Get this server's client engine. Create it if it does not yet exist.
      Specified by:
      getClientEngine in class AxisEngine
      Returns:
      an AxisEngine that is the client engine
    • invoke

      public void invoke(MessageContext msgContext) throws AxisFault
      Main routine of the AXIS server. In short we locate the appropriate handler for the desired service and invoke() it.
      Parameters:
      msgContext - the MessageContext to process with this Handler.
      Throws:
      AxisFault - if the handler encounters an error
    • generateWSDL

      public void generateWSDL(MessageContext msgContext) throws AxisFault
      Description copied from interface: Handler
      Obtain WSDL information. Some Handlers will implement this by merely setting properties in the MessageContext, others (providers) will take responsibility for doing the "real work" of generating WSDL for a given service.
      Specified by:
      generateWSDL in interface Handler
      Overrides:
      generateWSDL in class BasicHandler
      Parameters:
      msgContext - the MessageContext to generate the WSDL to
      Throws:
      AxisFault - if there was a problem generating the WSDL