org.jboss.net.axis.server
Class FlashNamespaceHandler

java.lang.Object
  extended byorg.jboss.axis.handlers.BasicHandler (src) 
      extended byorg.jboss.net.axis.server.FlashNamespaceHandler
All Implemented Interfaces:
Handler (src)

public class FlashNamespaceHandler
extends BasicHandler (src)

This class implements the Apache Axis Handler interface. As such, it is inserted into the chain of Axis Engine Handlers by specifying it in the server-config.wsdd file of the jboss-net-flash.sar file. This particular handler flags the generated SOAP Envelope to not include namespace declarations. This is because Flash versions 5 and MX do not support namespaces and only support simple strings.

Change notes


Field Summary
 
Fields inherited from class org.jboss.axis.handlers.BasicHandler (src)
makeLockable, name, options
 
Constructor Summary
FlashNamespaceHandler()
           
 
Method Summary
 void invoke(MessageContext (src)  msgContext)
          Implements
 void onFault(MessageContext (src)  msgContext)
          Called when a subsequent handler throws a fault.
protected  void removeNamespaces(MessageContext (src)  msgContext)
          Flag the SOAP envelope not to use namespaces.
 
Methods inherited from class org.jboss.axis.handlers.BasicHandler (src)
canHandleBlock, cleanup, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, setName, setOption, setOptionDefault, setOptions, setOptionsLockable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlashNamespaceHandler

public FlashNamespaceHandler()
Method Detail

invoke

public void invoke(MessageContext (src)  msgContext)
Implements

Specified by:
invoke in interface Handler (src)
Specified by:
invoke in class BasicHandler (src)
See Also:
Handler#invoke( MessageContext )

onFault

public void onFault(MessageContext (src)  msgContext)
Description copied from interface: Handler (src)
Called when a subsequent handler throws a fault.

Specified by:
onFault in interface Handler (src)
Overrides:
onFault in class BasicHandler (src)

removeNamespaces

protected void removeNamespaces(MessageContext (src)  msgContext)
Flag the SOAP envelope not to use namespaces.