at.gv.egovernment.moa.spss.server.service
Class AxisHandler

java.lang.Object
  |
  +--org.apache.axis.handlers.BasicHandler
        |
        +--at.gv.egovernment.moa.spss.server.service.AxisHandler
All Implemented Interfaces:
org.apache.axis.Handler, Serializable

public class AxisHandler
extends org.apache.axis.handlers.BasicHandler

An handler that is invoked on each web service request and performs some central message handling. Mainly sets up the TransactionContext for the current transaction (i.e. web service request).

Version:
$Id$
Author:
Patrick Peck, Stefan Knirsch
See Also:
Serialized Form

Fields inherited from class org.apache.axis.handlers.BasicHandler
log, name, options
 
Constructor Summary
AxisHandler()
           
 
Method Summary
 void generateWSDL(org.apache.axis.MessageContext msgContext)
          Generate the WSDL into the msgContext.
 void invoke(org.apache.axis.MessageContext msgContext)
          Handle an invocation of this handler.
 void onFault(org.apache.axis.MessageContext msgContext)
          Called, when the processing of the web service fails.
 
Methods inherited from class org.apache.axis.handlers.BasicHandler
canHandleBlock, cleanup, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, setName, setOption, setOptionDefault, setOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxisHandler

public AxisHandler()
Method Detail

invoke

public void invoke(org.apache.axis.MessageContext msgContext)
            throws org.apache.axis.AxisFault
Handle an invocation of this handler.
Overrides:
invoke in class org.apache.axis.handlers.BasicHandler
Parameters:
msgContext - Information about this request/response.
Throws:
org.apache.axis.AxisFault - An error occurred during processing of the request.
See Also:
Handler.invoke(MessageContext)

onFault

public void onFault(org.apache.axis.MessageContext msgContext)
Called, when the processing of the web service fails.
Overrides:
onFault in class org.apache.axis.handlers.BasicHandler
Parameters:
msgContext - Information about the current request.
See Also:
Handler.onFault(org.apache.axis.MessageContext)

generateWSDL

public void generateWSDL(org.apache.axis.MessageContext msgContext)
                  throws org.apache.axis.AxisFault
Generate the WSDL into the msgContext. The code of this method is more or less copied from the org.apache.axis.handlers.soap.SOAPService class contained in the 1.1 release of Axis to allow for a missing wsdlFile (so that a resource by the same name is searched for in the classpath). The implementation of this method should be obsolete if Axis 1.1 or higher is used.
Overrides:
generateWSDL in class org.apache.axis.handlers.BasicHandler
Parameters:
msgContext - The MessageContext that will contain the WSDL description of the current web service.
Throws:
org.apache.axis.AxisFault - An error occurred producing the WSDL.