Package com.ibm.di.connector
Class AxisEasyWSServerConnector
- java.lang.Object
-
- com.ibm.di.connector.Connector
-
- com.ibm.di.connector.WSReceiverServerConnector.WSReceiverServerConnector
-
- 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 theAxisSoapToJava
andAxisJavaToSoap
FCs. The Axis Easy Web Service Server Connector operates in Server mode only.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.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
Constructors Constructor Description AxisEasyWSServerConnector()
Default constructor that sets the supported mode of this connector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.java.lang.String
getVersion()
Version information.void
initialize(java.lang.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, extractExceptionInformation, 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 java.lang.String PARAM_WSDL_FILE
Parameter name: wsdlFile- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
public void initialize(java.lang.Object obj) throws java.lang.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 interfaceConnectorInterface
- Overrides:
initialize
in classWSReceiverServerConnector
- Parameters:
obj
- User provided parameter- Throws:
java.lang.Exception
- if the initialization of this connector fails.
-
getNextClient
public ConnectorInterface getNextClient() throws java.lang.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 interfaceConnectorInterface
- Overrides:
getNextClient
in classWSReceiverServerConnector
- Returns:
- the clone of itself
- Throws:
java.lang.Exception
- : if the server socket is not specified.
-
getNextEntry
public Entry getNextEntry() throws java.lang.Exception
Uses the super class's getNextEntry() method and then manipulate the data in the returned by that method entry.- Specified by:
getNextEntry
in interfaceConnectorInterface
- Overrides:
getNextEntry
in classWSReceiverServerConnector
- Returns:
- the next retrieved entry, or null.
- Throws:
java.lang.Exception
- if an error occurs.- See Also:
ConnectorInterface.selectEntries()
-
replyEntry
public void replyEntry(Entry conn) throws java.lang.Exception
Send a reply to the connector.- Specified by:
replyEntry
in interfaceConnectorInterface
- Overrides:
replyEntry
in classWSReceiverServerConnector
- Parameters:
conn
- Entry- Throws:
java.lang.Exception
- if an error occurs
-
getVersion
public java.lang.String getVersion()
Version information.- Specified by:
getVersion
in interfaceVersionInfoInterface
- Overrides:
getVersion
in classWSReceiverServerConnector
- Returns:
- version information.
-
-