axis.dynamic
Class SoapServerConfiguration

java.lang.Object
  extended by axis.dynamic.SoapConfiguration
      extended by axis.dynamic.SoapServerConfiguration
All Implemented Interfaces:
org.apache.axis.EngineConfiguration

public class SoapServerConfiguration
extends SoapConfiguration

Extends SoapConfiguration, adds ability to deploy / undeploy services and a few property setters.


Field Summary
 
Fields inherited from class axis.dynamic.SoapConfiguration
_engine, _globalOptions, _globalRequest, _globalResponse, _tmr, _transports
 
Fields inherited from interface org.apache.axis.EngineConfiguration
PROPERTY_NAME
 
Constructor Summary
SoapServerConfiguration()
          Creates a server configuration with a http transport Handler with a URLMapper.
 
Method Summary
 void configureEngine(org.apache.axis.AxisEngine engine)
          called from AxisEngine.init().
 void deployService(String name, org.apache.axis.handlers.soap.SOAPService service)
           
 Iterator<org.apache.axis.description.ServiceDesc> getDeployedServices()
          returns an enumeration of the services currently deployed to this engine
 org.apache.axis.handlers.soap.SOAPService getService(QName qname)
           
 org.apache.axis.handlers.soap.SOAPService getServiceByNamespaceURI(String namespace)
          This implementation currently just returns null.
 void setDisableServicesList(boolean disable)
           
 void setServicesPath(String path)
          necessary to tell axis which path to put into the links on generated html pages.
 void undeployService(String name)
           
 
Methods inherited from class axis.dynamic.SoapConfiguration
deployTransport, getGlobalOptions, getGlobalRequest, getGlobalResponse, getHandler, getRoles, getTransport, getTypeMappingRegistry, setGlobalRequest, setGlobalResponse, undeployTransport, writeEngineConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapServerConfiguration

public SoapServerConfiguration()
Creates a server configuration with a http transport Handler with a URLMapper.

Method Detail

setDisableServicesList

public void setDisableServicesList(boolean disable)
Parameters:
disable -

setServicesPath

public void setServicesPath(String path)
necessary to tell axis which path to put into the links on generated html pages.

Parameters:
path -

configureEngine

public void configureEngine(org.apache.axis.AxisEngine engine)
                     throws org.apache.axis.ConfigurationException
called from AxisEngine.init().

Specified by:
configureEngine in interface org.apache.axis.EngineConfiguration
Overrides:
configureEngine in class SoapConfiguration
Parameters:
engine -
Throws:
org.apache.axis.ConfigurationException
See Also:
EngineConfiguration.configureEngine(AxisEngine), AxisEngine.init()

deployService

public void deployService(String name,
                          org.apache.axis.handlers.soap.SOAPService service)
Parameters:
name -
service -

undeployService

public void undeployService(String name)
Parameters:
name -

getService

public org.apache.axis.handlers.soap.SOAPService getService(QName qname)
Parameters:
qname -
Returns:
service for given name
See Also:
EngineConfiguration.getService(QName)

getServiceByNamespaceURI

public org.apache.axis.handlers.soap.SOAPService getServiceByNamespaceURI(String namespace)
This implementation currently just returns null. I don't know how namespace-based dispatching is supposed to work. It should be fairly easy to implement this method. See WSDDDeployment. The implementation in SimpleProvider seems to be broken (muddles up namspace and local name).

Parameters:
namespace -
Returns:
null

getDeployedServices

public Iterator<org.apache.axis.description.ServiceDesc> getDeployedServices()
returns an enumeration of the services currently deployed to this engine

Returns:
an enumeration of the services currently deployed to this engine


Copyright © 2004-2007 University of Troms?. All Rights Reserved.