Académique Documents
Professionnel Documents
Culture Documents
Command Center
API Guide
Software Release 7.3.0
October 2015
Important Information
SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH EMBEDDED OR BUNDLED
TIBCO SOFTWARE IS SOLELY TO ENABLE THE FUNCTIONALITY (OR PROVIDE LIMITED ADD-ON FUNCTIONALITY) OF
THE LICENSED TIBCO SOFTWARE. THE EMBEDDED OR BUNDLED SOFTWARE IS NOT LICENSED TO BE USED OR
ACCESSED BY ANY OTHER TIBCO SOFTWARE OR FOR ANY OTHER PURPOSE.
USE OF TIBCO SOFTWARE AND THIS DOCUMENT IS SUBJECT TO THE TERMS AND CONDITIONS OF A LICENSE
AGREEMENT FOUND IN EITHER A SEPARATELY EXECUTED SOFTWARE LICENSE AGREEMENT, OR, IF THERE IS NO
SUCH SEPARATE AGREEMENT, THE CLICKWRAP END USER LICENSE AGREEMENT WHICH IS DISPLAYED DURING
DOWNLOAD OR INSTALLATION OF THE SOFTWARE OR IF THERE IS NO SUCH SOFTWARE LICENSE AGREEMENT OR
CLICKWRAP END USER LICENSE AGREEMENT, THE LICENSE(S) LOCATED IN THE LICENSE FILE(S) OF THE
SOFTWARE. USE OF THIS DOCUMENT IS SUBJECT TO THOSE TERMS AND CONDITIONS, AND YOUR USE HEREOF
SHALL CONSTITUTE ACCEPTANCE OF AND AN AGREEMENT TO BE BOUND BY THE SAME.
This document contains confidential information that is subject to U.S. and international copyright laws and treaties. No part of
this document may be reproduced in any form without the written authorization of TIBCO Software Inc.
TIBCO, The Power of Now, TIBCO Managed File Transfer, TIBCO Managed File Transfer Command Center, TIBCO Managed
File Transfer Internet Server, TIBCO Managed File Transfer Platform Server, TIBCO Managed File Transfer Platform Server
Agent, and Slingshot are either registered trademarks or trademarks of TIBCO Software Inc. or its subsidiaries in the United
States and/or other countries.
EJB, Java EE, J2EE, and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems,
Inc. in the U.S. and other countries.
All other product and company names and marks mentioned in this document are the property of their respective owners and
are mentioned for identification purposes only.
THIS SOFTWARE MAY BE AVAILABLE ON MULTIPLE OPERATING SYSTEMS. HOWEVER, NOT ALL OPERATING
SYSTEM PLATFORMS FOR A SPECIFIC SOFTWARE VERSION ARE RELEASED AT THE SAME TIME.
THIS DOCUMENT IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, OR NON-INFRINGEMENT.
THIS DOCUMENT COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS. CHANGES ARE
PERIODICALLY ADDED TO THE INFORMATION HEREIN; THESE CHANGES WILL BE INCORPORATED IN NEW
EDITIONS OF THIS DOCUMENT. TIBCO SOFTWARE INC. MAY MAKE IMPROVEMENTS AND/OR CHANGES IN THE
PRODUCT(S) AND/OR THE PROGRAM(S) DESCRIBED IN THIS DOCUMENT AT ANY TIME.
THE CONTENTS OF THIS DOCUMENT MAY BE MODIFIED AND/OR QUALIFIED, DIRECTLY OR INDIRECTLY, BY OTHER
DOCUMENTATION WHICH ACCOMPANIES THIS SOFTWARE, INCLUDING BUT NOT LIMITED TO ANY RELEASE NOTES
AND "READ ME" FILES.
TIBCO Managed File Transfer Internet Server with RocketStream Accelerator is entitled TIBCO Managed File Transfer
Internet Server in certain other product documentation and in user interfaces of the product.
Copyright 2003-2015 TIBCO Software Inc. ALL RIGHTS RESERVED.
TIBCO Software Inc. Confidential Information
TIBCO welcomes your comments on this publication. Please address your comments to:
TIBCO Software Inc.
200 Garden City Plaza
Garden City, New York 11530 USA
Web site: http://www.tibco.com
Technical Support E-mail: support@tibco.com
Technical Support Call Centers:
North and South America: +1.650.846.5724 or +1.877.724.8227 (1.877.724.TACS)
EMEA (Europe, Middle East, Africa): +44 (0) 870.909.3893
Australia: +61.2.4379.9318 or 1.800.184.226
Asia: +61 2 4379 9318
When you send information to TIBCO, you grant TIBCO a non-exclusive right to use or distribute the information in any way
TIBCO believes appropriate without incurring any obligation to you.
Table of Contents
1. JSON API Introduction ........................................................................................................................... 5
URL: ........................................................................................................................................................... 5
JSON Data returned: ................................................................................................................................. 5
gettree................................................................................................................................................... 6
createdir ................................................................................................................................................ 7
deldir ..................................................................................................................................................... 7
delfile .................................................................................................................................................... 7
rename .................................................................................................................................................. 8
WSDL ......................................................................................................................................................... 9
Using the Administrator Service ............................................................................................................... 9
Using the File Transfer Service ................................................................................................................ 10
Samples ................................................................................................................................................... 10
FAQs ........................................................................................................................................................ 18
Appendix A - AdminService Class ............................................................................................................ 20
Class Control Methods ........................................................................................................................ 20
Server Methods................................................................................................................................... 21
User Methods...................................................................................................................................... 23
Checkpoint/Restart Methods.............................................................................................................. 31
The jsondirtree api is an http servlet call that is used to do the following:
: List files and folders in a particular path
: Create a directory
: Delete a directory
: Delete a file
: Rename a file or directory
To use the jsondirtree API to process a user's file structure, the user must first log into the MFT Server
and be assigned TransferRight. The MFT Server uses Basic Authentication. Only authorized Transfer
requests for the authenticated user will be allowed by the jsondirtree call.
URL:
https://your.server.com:port/context/control?view=view/filetransfer/jsondirtree.jsp&action=action&path=path&d
est=dest
Where:
your.server.com IP name or Address of the MFT Server
port HTTPS port. If using 443, this parameter is not required
context Context of the Application. Generally cfcc is used.
Action Action requested:
gettree Return array of files/folders in the defined path
createdir Create a folder
deldir Delete an empty folder
delfile Delete a file
rename Rename a file or folder
path The alias path defined in transfer definitions for the user
ex: "/VirtualAlias1" to view all files in Virtual Alias1
dest Defines the target file or folder name. Used on rename only
All output from the jsondirtree calls are return in JSON. Below is a list of jsondirtree calls and the output returned.
Note that additional fields may be returned by JSON; fields that are not documented should be ignored.
gettree
Return array of files/folders in the defined path
Parameter Values
URL https://mft.acme.com/cfcc/control?view=view/filetransfer/jsondirtree.jsp&action=gettree&path=/
or
https://mft.acme.com/cfcc/control?view=view/filetransfer/jsondirtree.jsp&action=gettree&path=/
Dir1/FY2014
Fixed token: - the token that to use for all file transfer requests; changed on each request
Parameters "rc": 0 - success, 1 - failed,
returned "errmsg": message,
"path": the path value sent to server. / means the root level.
"action": the action requested,
"delfile": if can delete if this entry is a file. "Y"-yes, otherwise no,
"deldir": if can delete if this entry is a dir, "Y" - yes, otherwise no,
"rename": if can rename this this entry, "Y" - yes, otherwise no,
"create": if can create sub directory when the entry is an directory, "Y" - yes, otherwise no
The following fields are used when uploading or downloading files:
readfid - defines the Download TransferId associated with this file or folder
writefid - defines the Upload TransferId associated with this file or folder
The following fields are for internal use only and can be ignored.
vmgrname
changemode
currentcrlf
currentmode
Array of "entries": a json array for files and folders in the parent directory. There will be one entry in the
Children array for each file or folder in the path
Returned [
{
"isdir": if the entry is a dir, "Y" - yes, otherwise - no,
"size": file size when isdir != Y
"modified": date of last modified: Seconds since January 1, 1970
"name": file or folder name
readrestart: defines whether download Restart is supported, Y = yes, otherwise no
writerestart: defines whether upload Restart is supported, Y = yes, otherwise no
The following fields echo information from the root entry
"delfile
"deldir"
"rename"
"create"
readfid
writefid
createdir
Create a directory
Parameter Values
URL https://mft.acme.com/cfcc/control?view=view/filetransfer/jsondirtree.jsp&action=createdir&path
=/Dir1/FY2015
Fixed "rc": 0 - success, 1 - failed,
Parameters "errmsg": message,
returned "path": the path value sent to server,
"action": the action requested,
deldir
Delete a directory
Parameter Values
URL https://mft.acme.com/cfcc/control?view=view/filetransfer/jsondirtree.jsp&action=deldir&path=/D
ir1/FY2013
Fixed "rc": 0 - success, 1 - failed,
Parameters "errmsg": message,
returned "path": the path value sent to server,
"action": the action requested,
delfile
Delete a file
Parameter Values
URL https://mft.acme.com/cfcc/control?view=view/filetransfer/jsondirtree.jsp&action=delfile&path=/
Dir1/FY2013/acct.xls
Fixed "rc": 0 - success, 1 - failed,
Parameters "errmsg": message,
returned "path": the path value sent to server,
"action": the action requested,
Documentation for each of the web services is provided in javadoc format. Under the directory where
MFT Command Center was installed (where the cfcc.jar file was unpacked) there is a directory named
docs. In this directory there is a zip file called docs.zip. This zip file contains the documentation in HTML
format. Contact the administrator that installed MFT Command Center and have them send you this zip
file. Unzip the file into any directory. Double click on the index.html file to get a listing of all the
packages and classes. Each method will be explained later in this document.
WSDL
The interfaces of both the Administrator Service and the File Transfer service are published on the MFT
Command Center Server in a WSDL format.
To access the Administrator Service navigate to the following URL with your browser:
https://[DNS_HostName]:[Port]/cfcc/control?view=services/AdministratorService?WSDL
To access the File Transfer Service navigate to the following URL with your browser:
https://[DNS_HostName]:[Port]/cfcc/control?view=services/FTService?WSDL
Both WSDL files can be used by most major SOAP 1.1 compliant implementations to access each of MFT
Command Centers web services. Please consult your SOAP implementations documentation for
examples on how to access web services.
2. Execute the getSession or (getBWSession) method of the Administrator Service. This call returns
a session string that is to be used in all further contact to the Administrator Service.
4. Execute the closeSession method of the Administrator Service. This will close the current session.
2. Execute the getSession (or getBWSession) method of the Administrator Service. This call returns
a session string that is to be used in all further contact to the Administrator Service.*
3. Execute all other service methods needed to perform the required task.
4. Execute the closeSession method of the File Transfer Service. This will close the current session.
* getBWSession is equivalent to get getSession with the following exception. If getSession is executed,
any subsequent call within this session that returns an array of data will return a null record as the last
record in the array. If getBWSession is executed, any subsequent call within this session that returns an
array of data will not return a null record as the last record in the array.
Samples
The java code example below shows how to add a user to MFT Command Center using the
Administrator Service. Substitute the correct values of your MFT installation to compile and execute this
sample.
SoapClient.java
import AdminClient.*;
import java.rmi.RemoteException;
import javax.xml.rpc.Stub;
import javax.xml.rpc.ServiceException;
/*
* This program demonstrates adding a user through the administrative SOAP service.
Changes the ADMIN_SERVICE_URL and
* the ADMIN_USER_ID and ADMIN_PASSWORD variables declared below.
*
* COMPILE
* javac -classpath D:\Tomcat5.5\webapps\cfcc\WEB-
INF\lib\AdminClient.jar;D:\Tomcat5.5\webapps\cfcc\WEB-INF\lib\jaxrpc.jar;
* D:\Tomcat5.5\webapps\cfcc\WEB-INF\lib\axis.jar SOAPClient.java
newUser.setId("test01");
newUser.setFullName("Test User 1");
newUser.setPassword("test1234");
newUser.setExpirationDate(expireDate);
try
{
adminClient.addUser(newUser);
}
catch(Exception e)
{
System.out.println("Error adding user, " + e.getMessage());
}
}
stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,
ADMIN_SERVICE_URL);
((org.apache.axis.client.Stub)stub).setMaintainSession(true);
if (success)
{
System.out.println("Added user successfully.");
}
else
{
System.out.println("Failed to add user.");
}
}
/**
* Create stub to communicate with service.
*
* @param username username set into stub for authentication
* @param password user's passowrd set into stub for authentication
* @return the stub used for communication
*/
protected static Stub createProxy(String _username, String _password) throws
ServiceException
{
// apache stub
AdminServiceService adminService = new AdminServiceServiceLocator();
//get service location
if (_username == null)
{
_username = "";
}
if (_password == null)
{
_password = "";
}
((Stub)admin)._setProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY, _username);
//down cast to load stub
((Stub)admin)._setProperty(javax.xml.rpc.Stub.PASSWORD_PROPERTY, _password);
//username and password
((Stub)admin)._setProperty(javax.xml.rpc.Stub.SESSION_MAINTAIN_PROPERTY, new
Boolean(true)); //maintain session
return (Stub)admin;
}
}
This next example uses the Administrator Service to create an MFT userid. It then creates a transfer
definition and assigns it to the userid. The File Transfer Service is used to retrieve a list of all files
available to the userid. Substitute the correct values of your MFT installation to compile and execute
this sample.
SoapTest.java
admin.addUser();
admin.addInternetTransfer();
admin.cleanup();
ft.displayAllTransferIds();
ft.cleanup();
}
}
class SOAPAdminService
{
private static final String SERVER_URL = "https://your.mft.com:8443/cfcc";
private static final String ADMIN_SERVICES_URL =
"/control?view=services/AdministratorService";
public SOAPAdminService()
{
try
{
getAdminService();
}
catch(ServiceException e)
{
return;
}
getSessionId();
}
usr.setId(NEW_USER_ID);
usr.setFullName(NEW_USER_NAME);
usr.setPassword(NEW_USER_PWD);
DateTime expireDate = new DateTime();
expireDate.setYear(2020);
expireDate.setMonth(11); // months are 0 thru 11
expireDate.setDay(31);
usr.setExpirationDate(expireDate);
try
{
boolean rc = m_adminService.addUser(usr, m_sessionId);
xfer.setClientFileName("C:\\tmp\\localfile.txt");
xfer.setServerFileName("C:\\tmp\\remotefile.txt");
xfer.setDirectoryTransfer("0"); // 0 = no 1 = yes
xfer.setDescription("test upload");
xfer.setAuthUserId(NEW_USER_ID);
xfer.setNodeName("*LOCAL");
xfer.setSendRecvFlag("S"); // S = upload R = download
xfer.setAllowableProtocol("ALL");
xfer.setConversionFlag("0"); // 0 = Ascii to EBCDIC conversion 1 = ASCII to
EBCDIC conversion based on local translation table
try
{
String fileId = m_adminService.addTransfer(xfer, m_sessionId);
serviceFactory.setUserId(ADMIN_USER_ID);
serviceFactory.setPassword(ADMIN_PASSWORD);
serviceFactory.setServiceUrl(SERVER_URL + ADMIN_SERVICES_URL);
m_adminService = serviceFactory.getAdminService();
}
}
class SOAPFTService
{
private static final String SERVER_URL = "https://your.mft.com:8443/cfcc";
private static final String FT_SERVICES_URL =
"/control?view=services/FTService";
public SOAPFTService()
{
try
{
getFTService();
}
catch(ServiceException e)
{
e.printStackTrace(System.out);
getSessionId();
}
if (files != null)
{
for (int i = 0; i < files.length; i++)
{
if (files[i] != null)
{
System.out.println(files[i].getId());
}
}
}
}
catch(RemoteException e)
{
e.printStackTrace(System.out);
}
}
serviceFactory.setUserId(XFER_USER_ID);
serviceFactory.setPassword(XFER_PASSWORD);
serviceFactory.setServiceUrl(SERVER_URL + FT_SERVICES_URL);
m_ftService = serviceFactory.getFTService();
}
}
class SOAPServiceFactory
{
private String m_userId;
private String m_password;
private String m_serviceUrl;
private int m_timeout;
private boolean m_maintainSession;
public SOAPServiceFactory()
{
m_timeout = THIRTY_SECONDS;
m_maintainSession = true;
}
setStubProperties((Stub)adminService);
return adminService;
}
setStubProperties((Stub)ftService);
return ftService;
}
_stub._setProperty(Stub.PASSWORD_PROPERTY, m_password);
_stub._setProperty(Stub.SESSION_MAINTAIN_PROPERTY, new
Boolean(m_maintainSession));
_stub._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, m_serviceUrl);
_stub.setTimeout(m_timeout);
}
}
FAQs
Q: Can web service and java APIs allow the client to initiate and start/stop a file transfer?
A: The Web Service allows you to initiate a transfer between two Platform Servers. It is what we call a
3rd party transfer in that MFT requests that one Platform Server initiates a CFI protocol transfer to
another Platform Server. Once a transfer has been started, there is no way to stop it. The JAVA API
provided allows you to perform a transfer between the computer executing the API and MFT Internet
Server. The transfer can be stopped using the stopTransfer method.
Q: Are there any Java APIs available for Platform Server so that a Java Based Client can be
programmed? If not, what interface is available so that a transfer can happen between the Machine
running the Java Based Client and the machine running the Platform Server.
A: There are no Java APIs available for Platform Server. MFT is the interface between Java and Platform
Server.
Q : What protocol is used by the Java API to communicate with MFT Internet Server?
com.proginet.sift.fileTransferApplet.api.APISendFileThread;
com.proginet.sift.fileTransferApplet.api.APIRecvFileThread;
A: com.proginet.sift.fileTransferApplet.api.APISendFileThread,
com.proginet.sift.fileTransferApplet.api.APIRecvFileThread, and
com.proginet.sift.fileTransferApplet.api.TransferObserver can be found in the NonGuiApplet jar file.
FTClient.FTServiceService and FTClient.FTService_PortType can be found in the FTClient jar file.
A: No, wildcards are not supported with the API and files must be transferred one at a time.
Q: How do I use SOAP to transfer files from a Platform Server through Internet Server and on to an
external business partner?
A: The Command Center facilitates this scenario. A Platform Server send or receive can be executed by
performing a SOAP call to Command Center.
init - Initializes the service. Reads the parameters in the web.xml file. Makes connection to database.
Turns off autoCommit and sets transaction isolation.
Session Methods
getBWSession - Returns a session id generated by the system. The user is validated before generating
the session id. This call also notifies the server that any call that returns an array of data should not
return a null record as the last record of the array.
deleteExpiredSessionIds - Removes session ids that have a expired. A session is considered expired if its
last activity was longer than the time out parameter set in the web.xml file. The user calling this method
must have UpdateSessionRight or AdministratorRight without being assigned to a department.
deleteSessionId - Removes the specified session id from the database. The user calling this method must
have UpdateSessionRight or AdministratorRight without being assigned to a department.
getExpiredSessionIds - Returns all expired sessions as any array of Session objects. The last element of
the array is null. If there are no expired sessions a single element is returned with a value of null. A
session is considered expired if its last activity was longer than the time out parameter set in the
web.xml file. The user calling this method must have ViewSessionRight, UpdateSessionRight or
AdministratorRight.
listActiveSessionIds - Returns all sessions not expired as any array of Session objects. The last element
of the array is null. If there are no active sessions a single element is returned with a value of null. A
session is considered expired if its last activity was longer than the time out parameter set in the
web.xml file. The user calling this method must have viewSessionRight, UpdateSessionRight or
AdministratorRight.
validateSession - Checks to see if the session exists in the database and has not expired. A session is
considered expired if its last activity was longer than the time out parameter set in the web.xml file.
Returns true if valid or false if not valid.
Server Methods
addServer - Adds a server to the system. The user calling this method must have UpdateServerRight or
AdministratorRight but must not be assigned to a department.
updateServer - Updates a server in the system. The user calling this method must have
UpdateServerRight or AdministratorRight. If the calling user is assigned to a department they must have
UpdateServerRight, and they can only update servers in his/her own department. Note: When
performing an update only set the fields you wish to update in the Server object. The rest of the fields
will be null.
To update a field to become null:
removeServer - Removes a server from the system. The user calling this method must have
UpdateServerRight or AdministratorRight but must not be assigned to a department.
retrieveAllMonitorServers - Retrieves all monitor Servers from the system as an array of Servers. The
last element of the array is null. If there are no Servers an array of one element is returned; that
element is null. The user calling this method must have UpdateServerRight, ViewServerRight or be a
"super" administrator. The super admin will retrieve all servers in the system. The department admin
will retrieve all servers assigned to his/her department.
retrieveAllServerNames - Retrieves all Server names from the system as an array of Strings. The last
element of the array is null. If there are no Servers an array of one element is returned; that element is
null. The super admin will retrieve all server names in the system. The department admin will retrieve all
the names of servers assigned to his/her department and all public servers assigned to other
departments.
retrieveAllServerNamesInDept - Retrieves all Server names from your department as an array of Strings.
The last element of the array is null. If there are no Servers an array of one element is returned; that
element is null. The super admin will retrieve all server names in the system. The department admin will
retrieve all the names of servers assigned to his/her department.
retrieveAllPGPlatform ServerNamesInDept - Retrieves all PGP enabled Server names from your
department as an array of Strings. The last element of the array is null. If there are no Servers an array of
one element is returned; that element is null. The super admin will retrieve all server names in the
system. The department admin will retrieve all the names of servers assigned to his/her department.
retrieveAllServerNamesInDeptByType - Retrieves all enabled Server names of this type from your
department as an array of Strings. The last element of the array is null. If there are no Servers an array of
one element is returned; that element is null. The super admin will retrieve all server names in the
system. The department admin will retrieve all the names of servers assigned to his/her department.
retrieveAllCfServerNames - Retrieves all MFT Platform Server names from the system as an array of
Strings. The last element of the array is null. If there are no Servers an array of one element is returned;
that element is null. The super admin will retrieve all node names in the system. The department admin
will retrieve all the names of servers assigned to his/her department and all public servers assigned to
other departments.
getServer - Gets a Server from the system. If the Server is not found a null is returned. The user calling
this method must have UpdateServerRight, ViewServerRight or be a "super" administrator. The super
admin can get any server in the system. The department admin can only get a server that has been
assigned to his/her department.
Node Name
IP Name
Node Type
Server Type
Department
Set the fields in the Server object that you will to search on. All other fields will be ignored. You can set
from one to all the fields. Use the % character as a wildcard character. The results are returned as an
array of Server objects. The last element of the array is null. If there are no Servers an array of one
element is returned; that element is null. The user calling this method must have UpdateServerRight,
ViewServerRight or be a "super" administrator. The super admin will retrieve all nodes in the system.
The department admin will retrieve all nodes assigned to his/her department.
User Methods
addUser - Adds a user to the system and assigns the user to the default role or group. The user calling
this method must have UpdateTransferUserRight or AdministratorRight. A super admin can create a
user and assign that user to any department. A department admin can only create a user who is
assigned to his/her department.
updateUser - Updates a user in the system. The user calling this method must have
UpdateTransferUserRight or AdministratorRight. Department admins can only update users who have
been assigned to their department. A super admin can update any user in the system. The department
admin cannot change the department a user is assigned to. Only the super admin can do this.
Note: When performing an update only set the fields you wish to update in the User object. The rest of
the fields will be null.
To update a field to become null:
removeUser - Removes a user from the system. The user calling this method must have
UpdateTransferUserRight or AdministratorRight. A super admin can delete any user in the system. A
department admin can only delete users who have been assigned to his/her department.
retrieveAllUsers - Retrieves all Users from the system as an array of Users. The last element of the array
is null. If there are no Users an array of one element is returned; that element is null. This method
returns 100 users at a time, so you must keep track of the last user id returned if you want to get the
next 100 users. The first time you call this method pass in an empty String for lastUserId. NOTE:
Department Admins will get all users in his/her department and all public users from other departments.
Super Admins will get all users in the system. The user calling this method must have ViewUserRight,
UpdateTransferUserRight, HelpDeskRight or AdministratorRight.
searchUsers - Search for all Users from the system associated with the search criteria as an array of
Users. The last element of the array is null. If there are no Users an array of one element is returned;
that element is null. The user calling this method must have ViewUserRight, UpdateTransferUserRight,
HelpDeskRight or AdministratorRight. If the caller is a department administrator only the users in its
department that meets the search criteria will be returned.
retrieveAllUserIds - Retrieves all user ids from the system as an array of Strings. The last element of the
array is null. If there are no Users an array of one element is returned; that element is null.
retrieveAllUserIds - Retrieves all user ids from the department as an array of Strings. The last element of
the array is null. If there are no Users an array of one element is returned; that element is null. NOTE:
passing null as department parameter will return all ids of users not assigned to a department.
retrieveUserIds - Retrieve user ids as an array of Strings. The last element of the array is null. If there are
no Users an array of one element is returned; that element is null. NOTE: the call is designed to meet all
possible future requests for user ids. It can also replace previous soap calls for user ids. Future calls
should expand this method rather than to create new soap calls.
getUser - Gets a User from the system. If the User is not found a null is returned. The user calling this
method must have ViewUserRight, UpdateTransferUserRight, HelpDeskRight or AdministratorRight.
getUsersDepartment - Gets a users department from the system. If the User is not found an exception is
thrown. The user calling this method must have one of the administrative rights.
changePassword - Updates the system password for a User. The user calling this method must have
HelpDeskRight or AdministratorRight.
updateTransfer - Updates a transfer definition in the system. The user calling this method must have
UpdateTransferDefinitionRight or AdministratorRight.
Note: When performing an update only set the fields you wish to update in the Transfer object. The rest
removeTransfer - Removes a transfer definition from the system. The user calling this method must
have UpdateTransferDefinitionRight or AdministratorRight.
retrieveAllTransfers - Retrieves all transfer definitions from the system as an array of Transfers. The last
element of the array is null. If there are no Transfers an array of one element is returned; that element is
null. This method returns 100 transfer definitions at a time, so you must keep track of the last transfer id
returned if you want to get the next 100 transfer definitions. The first time you call this method pass in
empty String for lastTransferId. The user calling this method must have ViewTransferDefinitionRight,
UpdateTransferDefinitionRight or AdministratorRight.
retrieveAllExpiredTransfers - Retrieves all expired transfer definitions from the system as an array of
Transfers. A transfer definition is considered expired if the current date has passed the expiration date
of the transfer definition. The last element of the array is null. If there are no Transfers an array of one
element is returned; that element is null. This method returns 100 files at a time, so you must keep track
of the last file id returned if you want to get the next 100 files. The first time you call this method pass in
empty String for lastTransferId. The user calling this method must have ViewTransferDefinitionRight,
UpdateTransferDefinitionRight or AdministratorRight.
getTransfer - Gets a Transfer from the system. If the Transfer is not found a null is returned. The user
calling this method must have ViewTransferDefinitionRight, UpdateTransferDefinitionRight or
AdministratorRight.
retrieveAllTransfersForUser - Retrieves all transfer definitions that a user can transfer in the system as
an array of Transfers. A user can transfer definitions that have the authorized user id set to his/her id or
the authorized group id set to a group that he/she is a member of. The last element of the array is null.
If there are no Transfers an array of one element is returned; that element is null. This method returns
100 files at a time, so you must keep track of the last transfer id returned if you want to get the next 100
transfer definitions. The first time you call this method pass in empty String for lastTransferId. The user
calling this method must have ViewTransferDefinitionRight, UpdateTransferDefinitionRight or
AdministratorRight.
searchTransfers - Retrieves all transfer definitions that match the search criteria specified in the
Transfer object. Searches are only done on the following fields:
Set the fields in the Transfer object that you will to search on. All other fields will be ignored. You can set
from one to all the fields. Use the % character as a wildcard character. The results are returned as an
array of Transfer objects. The last element of the array is null. If there are no transfers, an array of one
element is returned; that element is null. This method returns 100 files at a time, so you must keep track
of the last file id returned if you want to get the next 100 files. The first time you call this method pass in
empty String for lastTransferId. The user calling this method must have ViewTransferDefinitionRight,
UpdateTransferDefinitionRight or AdministratorRight.
Role Methods
getRole - Gets a Role from the system. If the Role is not found a null is returned. Roles are the rights that
give users access to the system.
retrieveAllRoles - Retrieves all Roles from the system as an array of Roles. The last element of the array
is null. If there are no Roles an array of one element is returned; that element is null.
retrieveAllRolesForUser - Retrieves all Roles that have been assigned to a user. Returns an array of
Roles. The last element of the array is null. If there are no Roles an array of one element is returned;
that element is null.
retrieveAllUsersInRole - Retrieves all users that have been assigned to a Role. Returns an array of Roles.
The last element of the array is null. If there are no users an array of one element is returned; that
element is null. The user calling this method must have ViewUserRight, UpdateTransferUserRight or
AdministratorRight.
retrieveAllUsersNotInRole - Retrieves all users that have not been assigned to this Role. Returns an
array of Users. The last element of the array is null. If there are no Users an array of one element is
returned; that element is null. The user calling this method must have ViewUserRight,
UpdateTransferUserRight or AdministratorRight.
addUserToRole - Assigns a role to a user. The user calling this method must have
UpdateTransferUserRight or AdministratorRight.
removeUserFromRole - Removes a role assigned to a user. The user calling this method must have
UpdateTransferUserRight or AdministratorRight.
Group Methods
updateGroup - Updates a group in the system. The user calling this method must have
UpdateGroupRight or AdministratorRight. To update a field to become null use an empty String (e.g. "")
Note: When performing an update, only set the fields you wish to update in the Role object. The rest of
the fields will be null.
removeGroup - Removes a group from the system. The user calling this method must have
UpdateGroupRight or AdministratorRight.
getGroup - Gets a group from the system. If the group is not found a null is returned. The user calling
this method must have ViewGroupRight, UpdateGroupRight or AdministratorRight.
retrieveAllGroups - Retrieves all groups from the system as an array of Groups. The last element of the
array is null. If there are no groups an array of one element is returned; that element is null.
retrieveAllGroupsInDept - Retrieves all groups from the Department as an array of Groups. The last
element of the array is null. If there are no groups an array of one element is returned; that element is
null.
retrieveAllGroupsForUser - Retrieves all groups that user has been assigned to. Returns an array of
Groups. The last element of the array is null. If there are no groups an array of one element is returned;
that element is null. The user calling this method must have ViewGroupRight, UpdateGroupRight or
AdministratorRight.
retrieveAllUsersInGroup - Retrieves all users that have been assigned to a group. Returns an array of
Users. The last element of the array is null. If there are no users an array of one element is returned;
that element is null. The user calling this method must have ViewGroupRight, UpdateGroupRight or
AdministratorRight.
retrieveAllUsersNotInGroup - Retrieves all users that have not been assigned to this group. Returns an
array of Users. The last element of the array is null. If there are no Users an array of one element is
returned; that element is null. The user calling this method must have ViewGroupRight,
UpdateGroupRight or AdministratorRight.
retrieveAllGroupIds - Retrieves all groups ids from the system as an array of Strings. The last element of
the array is null. If there are no groups ids an array of one element is returned; that element is null.
addUserToGroup - Assigns a user to a group. The user calling this method must have UpdateGroupRight
or AdministratorRight.
removeUserFromGroup - Removes a user from a group they are assigned to. The user calling this
method must have UpdateRoleRight or AdministratorRight.
getConfig - Gets the system configuration record for a given host. If the Config is not found a null is
returned. The user calling this method must have AdministratorRight and cannot be assigned to a
department.
retrieveAllConfigs - Gets the system configuration for each host in the system. The last element of the
array is null. If there are no Configs an array of one element is returned; that element is null. The user
calling this method must have AdministratorRight and cannot be assigned to a department.
removeConfig - Removes the system configuration record for a given host. The user calling this method
must have AdministratorRight and cannot be assigned to a department.
Audit Methods
removeAudit - Removes an audit record from the system. Writes entire audit record to audit directory
specified in web.xml file. The user calling this method must have DeleteAuditRight or AdministratorRight
and not belong to a department.
retrieveAllAudits - Retrieves all audit records from the system as an array of AuditBases. The last
element of the array is null. If there are no AuditBases an array of one element is returned; that element
is null. This method returns 100 audits at a time, so you must keep track of the last audit id and the last
auditFT id returned if you want to get the next 100 audits. The first time you call this method pass an
empty String for lastFileId and lastAuditFTId. If you do not want Internet Server audit records set
lastAuditId to null. If you do not want Platform Server audit records set lastAuditFTId to null. The user
calling this method must have ViewAuditRight, AdministratorRight or HelpDeskRight.
getAudit - Gets an AuditBase from the system. If the auditId is not found a null is returned. The user
calling this method must have ViewAuditRight, AdministratorRight or HelpDeskRight.
retrieveAllAuditsForUser - Retrieves all audit records in which the user id matches transfer user id in the
audit record. Returns an array of AuditBase objects. The last element of the array is null. If there are no
Audits an array of one element is returned; that element is null. This method returns 100 audits at a
time, so you must keep track of the last audit id returned and the last auditFT id returned if you want to
get the next 100 audits. The first time you call this method pass an empty String for lastAuditId and
lastAuditFTId. If you do not want Internet Server audit records set lastAuditId to null. If you do not want
Platform Server audit records set lastAuditFTId to null. The user calling this method must have
ViewAuditRight, AdministratorRight or HelpDeskRight.
Audit Id
Local Transaction Id
Client File Name
Server File Name
Node Name
Transfer User Id
Transfer Status
From Date
To Date
Number Of Days
Department
Set the fields in the AuditBase object that you will to search on. All other fields will be ignored. You can
set from one to all the fields. Use the % character as a wildcard character. Put the From Date in the
TransferStartTime member of the AuditBase object. Put the To Date in the TransferEndTime member of
the AuditBase object. The results are returned as an array of AuditBase objects. The last element of the
array is null. If there are no audits an array of one element is returned; that element is null. This method
returns 100 audits at a time, so you must keep track of the last transfer end time returned to get the
next 100 audits. The caller of this method is responsible for setting the start time and end time. If you do
not set them then all of today's audit records will be returned. Audits are returned in order of the
transfer end time with the most recent being first. The user calling this method must have
ViewAuditRight, AdministratorRight or HelpDeskRight.
removeAuditsOlderThanDays - Removes all audit records whose date created field is older than the
number of days specified. Writes entire audit records to audit directory specified in web.xml file. The
user calling this method must have DeleteAuditRight or AdministratorRight and not belong to a
department.
removeAuditsOlderThanDate - Removes all audit records whose date created field is older than the
date specified. Writes entire audit records to audit directory specified in web.xml file. The user calling
this method must have DeleteAuditRight or AdministratorRight and not belong to a department.
updateServerCredential - Updates a server credentail in the system. The user calling this method must
have UpdateServerCredentialRight or be a "super" administrator.
Note: When performing an update only set the fields you wish to update in the ServerCredentials object.
The rest of the fields will be null.
To update a field to become null:
removeServerCredential - Removes a server credential from the system. Server credentials can be
created for users or groups. The user calling this method must have UpdateServerCredentialRight or be
a "super" administrator.
getServerCredential - Gets a ServerCredential from the system. Server credentials can be created for
users or groups. If the ServerCredential is not found a null is returned. The user calling this method must
have UpdateServerCredentialRight, ViewServerCredentialRight or be a "super" administrator.
searchServerCredentials - Searches for ServerCredential objects in the system. Server credentials can be
created for users or groups. If the ServerCredential objects are not found a null is returned. The user
calling this method must have UpdateServerCredentialRight, ViewServerCredentialRight or be a "super"
administrator.
addLicenseKey - Adds a license key to the system. A key can be applied to a web server or a database
server. The user calling this method must have AdministratorRight and cannot be assigned to a
department.
updateLicenseKey - Updates a license key in the system. The user calling this method must have
AdministratorRight and cannot be assigned to a department. Note: When performing an update only set
the fields you wish to update in the LicenseKey object. The rest of the fields will be null.
To update a field to become null:
removeLicenseKey - Removes a license key from the system. The user calling this method must have
AdministratorRight and cannot be assigned to a department.
retrieveAllLicenseKeys - Retrieves all LicenseKeys from the system as an array of LicenseKeys. The last
element of the array is null. If there are no LicenseKeys an array of one element is returned; that
element is null. The user calling this method must have AdministratorRight and cannot be assigned to a
department.
getLicenseKey - Gets a LicenseKey from the system. If the LicenseKey is not found a null is returned. The
user calling this method must have AdministratorRight and cannot be assigned to a department.
removeCheckpoint - Removes a checkpoint from the system. The user calling this method must have
AdministratorRight and cannot be assigned to a department.
searchCheckpoints - Retrieves all checkpoint records that match the search criteria specified in the
Checkpoint object. Searches are only done on the following fields:
File Id
User Id
Client File Name
Node Name
Transaction Id
Proxy Transaction Id
Server File Name
Set the fields in the Checkpoint object that you will to search on. All other fields will be ignored. You can
set from one to all the fields. Use the % character as a wildcard character. The results are returned as an
array of Checkpoint objects. The last element of the array is null. If there are no Checkpoints an array of
one element is returned; that element is null. The user calling this method must have
AdministratorRight and cannot be assigned to a department.
retrieveAllCheckpoints - Retrieves all Checkpoints from the system as an array of Checkpoint. The last
element of the array is null. If there are no Checkpoint an array of one element is returned; that element
is null. The user calling this method must have AdministratorRight and cannot be assigned to a
department.
getCFSrvConfig - Gets the MFT Platform System Server configuration record for a given host. If the
CFServerConfig is not found a null is returned. The user calling this method must have
AdministratorRight and cannot be assigned to a department.
retrieveAllCFSrvConfigs - Gets the MFT Platform System Server configuration record. The user calling
this method must have AdministratorRight and cannot be assigned to a department.
getAS2SrvConfig - Gets the MFT AS2 System Server configuration record for a given host. If the
AS2SrvCfg is not found a null is returned. The user calling this method must have AdministratorRight and
cannot be assigned to a department.
retrieveAllAS2SrvConfigs - Gets the MFT AS2 System Server configuration record. The user calling this
method must have AdministratorRight and cannot be assigned to a department.
removeAS2SrvConfig - Removes the MFT AS2 System Server configuration record for a given host. The
user calling this method must have AdministratorRight and cannot be assigned to a department.
getFtpSrvConfig - Gets the MFT FTP System Server configuration record for a given host. If the
FTPServerConfig is not found a null is returned. The user calling this method must have
AdministratorRight and cannot be assigned to a department.
getFTPServerStatus - Retrieves status from the MFT FTP System Server. The user calling this method
must have AdministratorRight and cannot be assigned to a department.
retrieveAllFTPSrvConfigs - Gets the MFT FTP System Server configuration record. The user calling this
method must have AdministratorRight and cannot be assigned to a department.
removeFTPSrvConfig - Removes the MFT FTP System Server configuration record for a given host. The
user calling this method must have AdministratorRight and cannot be assigned to a department.
getSshSrvConfig - Gets the MFT SSH System Server configuration record for current server. If the
SshServerConfig is not found a null is returned. The user calling this method must have
AdministratorRight and cannot be assigned to a department.
getSshSrvConfig - Gets the MFT SSH System Server configuration record for a given host. If the
SshServerConfig is not found a null is returned. The user calling this method must have
AdministratorRight and cannot be assigned to a department.
retrieveAllSshSrvConfigs - Gets the MFT SSH System Server configuration record. The user calling this
method must have AdministratorRight and cannot be assigned to a department.
Department Methods
addDepartment - Adds a department to the system. The user calling this method must have
AdministratorRight and be a super admin.
updateDepartment - Updates a department in the system. The user calling this method must have
AdministratorRight and be a super admin.
Note: When performing an update only set the fields you wish to update in the Department object. The
rest of the fields will be null.
To update a field to become null:
removeDepartment - Removes a department from the system. The user calling this method must have
AdministratorRight and be a super admin.
retrieveAllDepartments - Retrieves all Departments from the system as an array of Departments. The
last element of the array is null. If there are no Departments an array of one element is returned; that
element is null.
getDepartment - Gets a Department from the system. If the Department is not found a null is returned.
updateTransferInBank - Updates a Platform Server Transfer from the bank. The user calling this method
must have FTAdminRight.
deleteTransferFromBank - Deletes a Platform Server Transfer from the bank. The user calling this
method must have FTAdminRight.
getTransferFromBank - Gets a Platform Server Transfer from the bank. The user calling this method
must have FTAdminRight.
retrieveAllTransfersFromBank - Retrieves all Platform Server Transfers from the bank as an array of
Transfers. The last element of the array is null. If there are no transfers an array of one element is
returned; that element is null.
submitTransferToServer - Submits a Platform transfers from the bank to a server for execution. The
user calling this method must have FTAdminRight and FTTransferRight.
Node Methods
addNodeToBank - Adds a node to the bank. The user calling this method must have FTAdminRight.
updateNodeInBank - Updates a node from the bank. The user calling this method must have
FTAdminRight.
deleteNodeFromBank - Deletes a node from the bank. The user calling this method must have
FTAdminRight.
getNodeFromServer - Gets the specified node from the server. If node does not exist, an exception is
thrown. The user calling this method must have FTAdminRight.
retrieveAllNodesFromServer - Gets all the configured node from the specified server as an array of
Nodes. The last element of the array is null. If there are no nodes an array of one element is returned;
that element is null. The user calling this method must have FTAdminRight.
addNodeToServer - Adds a node to a server. The user calling this method must have FTAdminRight.
deleteNodeFromServer - Deletes a node from the server. The user calling this method must have
FTAdminRight.
getNodeFromBank - Gets the specified node from the bank. If node does not exist, an exception is
thrown. The user calling this method must have FTAdminRight.
Collector Methods
collectorStart - Starts the collector.
Alert Methods
addAlert - Add an alert to the system. The user calling this method must have AdministratorRight or
UpdateAlertRight.
Note: Department admin can only add alert for his/her department without run command or run java
class defined.
updateAlert - Update an alert to the system. The user calling this method must have AdministratorRight
or UpdateAlertRight.
Note: Department admin can only update alert defined for his/her department without run command or
run java class in the alert.
removeAlert - Remove an alert from the system. The user calling this method must have
AdministratorRight or UpdateAlertRight.
Note: Department admin can only remove alert defined for his/her department without run command
or run java class in the alert.
getAlert - Get an alert from the system. The user calling this method must have AdministratorRight or
Update/ViewAlertRight.
Note: Department admin can only get alert applied for his/her department.
retrieveAllAlerts - Retrieve all alerts from the system as an array of Alerts. The last element of the array
is null. If there are no alerts an array of one element is returned; that element is null.. The user calling
this method must have AdministratorRight or Update/ViewAlertRight.
Note: Department admin can only get alerts applied for his/her department.
Profile Methods
addProfileToBank - Adds a profile to the bank. The user calling this method must have FTAdminRight.
updateProfileInBank - Updates a profile from the bank. The user calling this method must have
FTAdminRight.
getProfileFromBank - Gets the specified profile from the bank. If node does not exist, an exception is
thrown. The user calling this method must have FTAdminRight.
retrieveAllProfilesFromBank - Gets all the configured profiles from the bank as an array of Profiles. The
last element of the array is null. If there are no profiles an array of one element is returned; that
element is null. The user calling this method must have FTAdminRight.
retrieveAllProfilesFromServer - Gets all the configured profiles from the specified server as an array of
Profiles. The last element of the array is null. If there are no profiles an array of one element is returned;
that element is null. The user calling this method must have FTAdminRight.
addProfileToServer - Adds a profile to a server. The user calling this method must have FTAdminRight.
deleteProfileFromServer - Deletes a profile from the server. The user calling this method must have
FTAdminRight.
updateSearchAuditInBank - Updates an audit search from the bank. The user calling this method must
have the HelpDeskRight or be a superAdministrator.
deleteSearchAuditFromBank - Deletes an audit search from the bank. The user calling this method
must have HelpDeskRight or be a superAdministrator.
getSearchAuditFromBank - Gets the specified audit search from the bank. If audit does not exist, an
exception is thrown. The user calling this method must have HelpDeskRight or be a superAdministrator.
retrieveAllSearchAuditsFromBank - Gets all the configured audit searches from the bank as an array of
SearchAudits. The last element of the array is null. If there are no audit searches an array of one element
is returned; that element is null. The user calling this method must have
searchAuditInServer - Retrieves all audit records in which the server id matches server in the audit
record. Returns an array of AuditBase objects. The last element of the array is null. If there are no Audits
an array of one element is returned; that element is null. This method returns 100 audits at a time, so
you must keep track of the last audit id returned and the last auditFT id returned if you want to get the
next 100 audits. The first time you call this method pass an empty String for lastAuditId and
lastAuditFTId. If you do not want Internet Server audit records set lastAuditId to null. If you do not want
Platform Server audit records set lastAuditFTId to null. The user calling this method must have
ViewAuditRight, AdministratorRight or HelpDeskRight.
removeAlertAudit - Removes an audit record from the system. Writes entire audit record to audit
directory specified in web.xml file. The user calling this method must have DeleteAuditRight or
AdministratorRight and not belong to a department.
removeAlertAuditsOlderThanDate - Removes all audit records whose date created field is older than
the date specified. Writes entire audit records to audit directory specified in web.xml file. The user
calling this method must have DeleteAuditRight or AdministratorRight and not belong to a department.
removeAlertAuditsOlderThanDays - Removes all audit records whose date created field is older than
the number of days specified. Writes entire audit records to audit directory specified in web.xml file. The
user calling this method must have DeleteAuditRight or AdministratorRight and not belong to a
department.
retrieveAllAlertAudits - Retrieves all audit records from the system as an array of AuditBases. The last
element of the array is null. If there are no AuditBases an array of one element is returned; that element
is null. This method returns 100 audits at a time, so you must keep track of the last audit id and the last
auditFT id returned if you want to get the next 100 audits. The first time you call this method pass an
empty String for lastFileId and lastAuditFTId. If you do not want Internet Server audit records set
lastAuditId to null. If you do not want Platform Server audit records set lastAuditFTId to null. The user
calling this method must have ViewAuditRight, AdministratorRight or HelpDeskRight.
searchAlertAudits -
Retrieves all audit records that a match the search criteria specified in the AuditBase object. Searches
are only done on the following fields:
Audit Id
Local Transaction Id
Client File Name
Server File Name
Node Name
Transfer User Id
Transfer Status
From Date
To Date
Number Of Days
Department
Set the fields in the AuditBase object that you will to search on. All other fields will be ignored. You can
set from one to all the fields. Use the % character as a wildcard character. Put the From Date in the
TransferStartTime member of the AuditBase object. Put the To Date in the TransferEndTime member of
Key Methods
addKey - Adds a PGP key to the system. The user calling this method: case 1: for a user/server key must
be a "super" administrator or have a UpdatePGPKeyRight; case 2: for a system key must be a "super"
administrator or have a UpdatePGPSystemKeyRight; case 3: no rights needed if adding own user key.
updateKey - Updates a PGP key in the system. The user calling this method: case 1: for a user/server key
must be a "super" administrator or have a UpdatePGPKeyRight; case 2: for a system key must be a
"super" administrator or have a UpdatePGPSystemKeyRight; case 3: no rights needed if adding own user
key. If this is a user/server key and the calling user is assigned to a department they must have
UpdatePGPKeyRight (they can only update PGP keys in their own department. Note: When performing
an update only set the fields you wish to update in the Key object. The rest of the fields will be null.
To update a field to become null:
removeKey - Removes a PGP key from the system. The user calling this method: case 1: for a user/server
key must be a "super" administrator or have a UpdatePGPKeyRight; case 2: for a system key must be a
"super" administrator or have a UpdatePGPSystemKeyRight.
retrieveAllUserServerKeys - Retrieves all user/server keys from the system as an array of Key. The last
element of the array is null. If there are no Keys an array of one element is returned; that element is null.
This method returns 100 keys at a time, so you must keep track of the last key id returned if you want to
get the next 100 keys. The first time you call this method pass in empty String for lastRecordId. The user
calling this method must have ViewPGPKeyRight, UpdatePGPKeyRight or must be a "super"
administrator.
retrieveAllPrivateKeys - Retrieves all private keys from the system as an array of Key. The user calling
this method must have UpdatePGPSystemKeyRight or must be a "super" administrator.
retrieveAllPrivateKeyIds - Retrieves all private key ids from the system as an array of Key. Only the key
id and description are returned. No rights are required.
getSystemPublicKey - Returns public key from the system as an array of byte. The user calling this
method does NOT have to have any rights (there is no restritction on getting the CFI public key).
getServerKey - Gets a Key from the system. If the Key is not found a null is returned. The user calling this
method must have UpdatePGPKeyRight, ViewPGPKeyRight or be a "super" administrator. The super
admin can get any key in the system. The department admin can only get a key that has been assigned
to his/her department.
getSystemKey - Gets a System Key from the system. If the System Key is not found a null is returned.
The user calling this method must have UpdatePGPSystemKeyRight or be a "super" administrator.
searchKeys - Retrieves all key records that match the search criteria specified in the Key object. Searches
are only done on the following fields:
Key Name
Set the fields in the Key object that you would like to search on. All other fields will be ignored. Use the %
character as a wildcard character. The results are returned as an array of Key objects. The last element
of the array is null. If there are no keys an array of one element is returned; that element is null. This
method returns 100 keys at a time, so you must keep track of the last record to get the next 100 keys.
The user calling this method must have ViewPGPKeyRight, UpdatePGPKeyRight or be a "super"
administrator.
getPublicSystemKeyById - Gets a public System Key from the system by the PGP key id. If the System
Key is not found a null is returned. The user calling this method must have UpdatePGPSystemKeyRight
or be a "super" administrator.
getSSHSystemKeyById - Gets a SSH System Key By Id Key from the system by the SSH key id. If the SSH
System Key is not found a null is returned. The user calling this method must have systemSSHKeyRights
or be a "super" administrator.
setDefaultSystemKey - Sets a default System Key for the system by the PGP key id. The user calling this
method must have UpdatePGPSystemKeyRight or be a "super" administrator.
getCertFromSSHKey - Returns Certificate from the SSH system key as an array of byte. The user calling
this method does NOT have to have any rights (There is no restritction on getting the Certificate from
the SSH system key).
init - Called by servlet container when an instance of FTService is allocated. Reading DBDriver, DBConn,
DBUser, DBPass, tmpTimeOut, MessageDir, and TraceDir parameters from web.xml and initializes
sec_context, servletContext, DBDriver, DBConn, DBUser, DBPass, tmpTimeOut, MessageDir, and
TraceDir member variables.
Session Methods
getSession - Called by FileTransfer Web Service Client to generate new SessionID for user's session,
insert SessionID into MFT DB, delete all expired sessionIDs from MFT DB, and pass generated SessionID
back to the FileTransfer Web Service Client.
closeSession - Called by FileTransfer Web Service Client to close session and delete SessionID entry in
MFT DB
Password Methods
getPWDExpiringDays - Called by FileTransfer Web Service Client to decide how many days before the
password expiring
changePassword - Called by FileTransfer Web Service Client to change user's password in MFT DB
File Methods
getAllFilesForUser - Called by FileTransfer Web Service Client to obtain from MFT DB array of FileInfo
objects available for authorized userID and pass array of FileInfo objects back to the FileTransfer Web
Service Client.
Audit Methods
getAllAuditRecordsForUser - Called by FileTransfer Web Service Client to obtain from MFT DB array of
Audit objects available for authorized userID and pass array of Audit objects back to the FileTransfer
Web Service Client.
getAuditRecord - Called by FileTransfer Web Service Client to obtain Audit object from MFT DB available
for authorized userID and pass it back to the FileTransfer Web Service Client.
getProductNameVersion - Gets the product name, version number and build number.
serviceControl - Use this call to perfrom actions on remote Command Center FTP or SSH servers. The
supported actions are stop, start and get status. The results of the action will be returned as a String.
The user calling this method must have AdministratorRight and cannot be assigned to a department.
checkClientLicense - Check if the requesting client is allowed to proceed. This is intented to limit the
number of users to use house provided client, not to limit the number of client software installations.