User Manual

command prompt> ant clean
3. Run the client, using the command:
command prompt> ant run.client -Dfile "<Absolute Windows Path
of the file to be transferred>" -Ddest Destination-file-name
For example:
command prompt> ant run.client -Dfile "C:\testfile.txt" -Ddest
testfile.txt
Confirm the following:
a. The message File saved successfully appears on the command prompt.
b. The Destination-file-name file is present in <NSJSP Deployment Directory>.
You can thus use MTOM to transfer any file from a Windows system to a NonStop system.
Configuring Axis2/Java Applications on NonStop Systems
This section provides information about configuring Axis2/Java applications on NonStop systems
and includes:
“NonStop Platform Configurations” (page 320)
Axis2/Java Framework Configurations for NonStop Systems” (page 195)
Axis2/Java Framework Configurations for NonStop Systems
This section discusses the NonStop specific Axis2/Java configurations for the following:
“Global Configuration” (page 195)
“Service Configuration” (page 195)
“Module Configuration” (page 195)
Global Configuration
Global configurations are used to configure the whole system, wherein the axis2.xml file provided
with the Axis2/Java distribution is configured.
For more information about the various options available for global configuration, see: http://
ws.apache.org/axis2/1_2/axis2config.html#Global_Configuration
Service Configuration
Service configurations are used to configure various services on Axis2/Java. The description of
these services is specified in the services.xml file.
Each service archive file (.aar) must have a services.xml file to be a valid service and it must
be available in the META-INF directory of the archive file.
For more information about the various options for configuring services in Axis2/Java, see: http://
ws.apache.org/axis2/1_2/axis2config.html#Service_Configuration
Module Configuration
Module configurations are used to configure a module in the module.xml file. Each module
archive file (.aar) must have a module.xml file to be a valid module, and it must be available
in the META-INF directory of the archive file.
For more information about configuring modules, see: http://ws.apache.org/axis2/1_2/
axis2config.html#Module_Configuration
Configuring Axis2/Java Applications on NonStop Systems 195