Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » net » axis » server » [javadoc | source]
    1   /*
    2    * JBoss, the OpenSource J2EE webOS
    3    *
    4    * Distributable under LGPL license.
    5    * See terms of license at gnu.org.
    6    */
    7   
    8   // $Id: WsdlAwareHttpActionHandler.java,v 1.1.2.1 2003/03/28 12:50:46 cgjung Exp $
    9   
   10   
   11   package org.jboss.net.axis.server;
   12   
   13   import org.apache.axis.AxisFault;
   14   import org.apache.axis.MessageContext;
   15   import org.apache.axis.handlers.http.HTTPActionHandler;
   16   
   17   /**
   18    * <p>
   19    * This HttpActionHandler will influence the wsdl-generation of
   20    * action aware service providers, such as {@link org.jboss.net.axis.server.EJBProvider}.
   21    * </p>
   22    * @author <a href="mailto:Christoph.Jung@infor.de">Christoph G. Jung</a>
   23    * @since 27.03.2003
   24    * @version $Revision: 1.1.2.1 $
   25    */
   26   
   27   public class WsdlAwareHttpActionHandler extends HTTPActionHandler {
   28   
   29   	/**
   30   	 * sets the presence flag in the context such that any provider
   31   	 * that uses this flag will be able to generate soap-action 
   32   	 * information.
   33   	 * @see org.apache.axis.Handler#generateWSDL(org.apache.axis.MessageContext)
   34   	 */
   35   	public void generateWSDL(MessageContext arg0) throws AxisFault {
   36   		arg0.setProperty(Constants.ACTION_HANDLER_PRESENT_PROPERTY,Boolean.TRUE);
   37   		super.generateWSDL(arg0);
   38   	}
   39   
   40   }

Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » net » axis » server » [javadoc | source]