com.ibm.di.connector
Class AxisEasyWSServerConnector

java.lang.Object
  extended by com.ibm.di.connector.Connector
      extended by com.ibm.di.connector.WSReceiverServerConnector.WSReceiverServerConnector
          extended by com.ibm.di.connector.AxisEasyWSServerConnector
All Implemented Interfaces:
ConnectorInterface, VersionInfoInterface

public class AxisEasyWSServerConnector
extends WSReceiverServerConnector
implements ConnectorInterface

The Axis Easy Web Service Server Connector is part of the IBM Tivoli Directory Integrator Web Services suite. It is a simplified version of the Web Service Receiver Server Connector in that it internally instantiates, configures and uses the AxisSoapToJava and AxisJavaToSoap FCs. The Axis Easy Web Service Server Connector operates in Server mode only.


Field Summary
protected static String PARAM_WSDL_FILE
          Parameter name: wsdlFile
 
Fields inherited from class com.ibm.di.connector.WSReceiverServerConnector.WSReceiverServerConnector
ATTR_HOST, ATTR_REQUESTED_RESOURCE, ATTR_RESPONSE_CONTENT_TYPE, ATTR_SOAP_ACTION, ATTR_SOAP_REQUEST, ATTR_SOAP_RESPONSE, ATTR_WSDL_REQUESTED, CHARSET, CONTENT_TYPE_HTML, CONTENT_TYPE_XML, FALSE, mInputXMLType, mNoNextEntry, mPort, mRequireClientAuth, mReturnXMLType, mSAXParserFactory, mServerConnector, mServerSocket, mSocket, mTagOpEntry, mUseSSL, PARAM_INPUT_TYPE, PARAM_REQUIRE_CLIENT_AUTH, PARAM_RETURN_XML_TYPE, PARAM_SYSTEM_TCP_BACKLOG, PARAM_TAG_OPENTRY, PARAM_TCP_BACKLOG, PARAM_TCP_PORT, PARAM_USE_SSL, TRUE, WSDL_ID, XML_DOM, XML_STRING
 
Fields inherited from class com.ibm.di.connector.Connector
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER
 
Constructor Summary
AxisEasyWSServerConnector()
          Default constructor that sets the supported mode of this connector.
 
Method Summary
 ConnectorInterface getNextClient()
          Server mode - return a clone of self that handles the next client instance when running in server mode.
 Entry getNextEntry()
          Uses the super class's getNextEntry() method and then manipulate the data in the returned by that method entry.
 String getVersion()
          Version information.
 void initialize(Object obj)
          Initialize the connector.
 void replyEntry(Entry conn)
          Send a reply to the connector.
 
Methods inherited from class com.ibm.di.connector.WSReceiverServerConnector.WSReceiverServerConnector
getAuthorization, getHeaders, getServerConnector, httpAuthenticationRequest, isAccepting, isTerminating, readFile, readLine, setServerConnector, terminate, terminateServer
 
Methods inherited from class com.ibm.di.connector.Connector
addFindEntry, allModes, clearFindEntries, debug, debugMode, deleteEntry, findEntry, findEntry, getBoolean, getClassInstance, getConfiguration, getContext, getFindEntryCount, getFirstFindEntry, getLog, getMaxDuplicateEntries, getModes, getModes, getName, getNextFindEntry, getParam, getParser, getProperty, getPushbackEntry, getRawConnectorConfiguration, getRSInterface, getUI, hasConfigValue, hasParser, initParser, isDeltaSupported, isExceptionFatal, isIOException, logError, logmsg, modEntry, modEntry, pushback, putEntry, queryOperations, queryReply, querySchema, queryTables, reconnect, reconnect, registerScriptBeans, selectEntries, setConfiguration, setContext, setCurrent, setDebugMode, setLog, setMaxDuplicateEntries, setModes, setModes, setName, setParam, setParser, setProperty, setRSInterface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.di.connector.ConnectorInterface
deleteEntry, findEntry, getConfiguration, getContext, getFindEntryCount, getFirstFindEntry, getMaxDuplicateEntries, getName, getNextFindEntry, getParam, getPushbackEntry, getRawConnectorConfiguration, isDeltaSupported, isExceptionFatal, isIOException, modEntry, modEntry, pushback, putEntry, queryOperations, queryReply, querySchema, reconnect, registerScriptBeans, selectEntries, setConfiguration, setContext, setCurrent, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface, terminate, terminateServer
 

Field Detail

PARAM_WSDL_FILE

protected static final String PARAM_WSDL_FILE
Parameter name: wsdlFile

See Also:
Constant Field Values
Constructor Detail

AxisEasyWSServerConnector

public AxisEasyWSServerConnector()
Default constructor that sets the supported mode of this connector.

Method Detail

initialize

public void initialize(Object obj)
                throws Exception
Initialize the connector. The connector may be passed a parameter of any kind by the user. Assigns parameters specified by the user to the connector

Specified by:
initialize in interface ConnectorInterface
Overrides:
initialize in class WSReceiverServerConnector
Parameters:
obj - User provided parameter
Throws:
Exception - if the initialization of this connector fails.

getNextClient

public ConnectorInterface getNextClient()
                                 throws Exception
Server mode - return a clone of self that handles the next client instance when running in server mode. The returned connector may be used in its own thread to handle a "client" request so if the returned instance is returned more than once it must be thread safe.

Specified by:
getNextClient in interface ConnectorInterface
Overrides:
getNextClient in class WSReceiverServerConnector
Returns:
the clone of itself
Throws:
Exception - : if the server socket is not specified.

getNextEntry

public Entry getNextEntry()
                   throws Exception
Uses the super class's getNextEntry() method and then manipulate the data in the returned by that method entry.

Specified by:
getNextEntry in interface ConnectorInterface
Overrides:
getNextEntry in class WSReceiverServerConnector
Returns:
the next retrieved entry, or null.
Throws:
Exception - if an error occurs.
See Also:
ConnectorInterface.selectEntries()

replyEntry

public void replyEntry(Entry conn)
                throws Exception
Send a reply to the connector.

Specified by:
replyEntry in interface ConnectorInterface
Overrides:
replyEntry in class WSReceiverServerConnector
Parameters:
conn - Entry
Throws:
Exception - if an error occurs

getVersion

public String getVersion()
Version information.

Specified by:
getVersion in interface VersionInfoInterface
Overrides:
getVersion in class WSReceiverServerConnector
Returns:
version information.