User Manual

command prompt > cd C:\axis2-1.5.2-bin\samples\mtom
2. Generate the service using the command:
command prompt> ant generate.service
This command creates the service archive file (sample-mtom.aar) in <Axis2
Home>\samples\mtom\build\service directory on your Windows system.
MTOM is now ready to be deployed under the Axis2/Java web application on NonStop system.
Deploying MTOM on NonStop
To deploy the MTOMSample webservice under Axis2/Java web application, complete the following
steps:
1. Go to the Axis2/Java admin login page using the following URL: http://<IP Address of the
iTP WebServer>:<port#>/<servlet directory>/axis2/axis2-admin/.
Figure 107 Axis2/Java Administration Login Page
2. Enter the username and password for the admin login to Axis2/Java. The default password
for username admin is axis2.
3. In the Tools section, click Upload Service. In the Service Archive field, enter the complete
address for the sample-mtom.aar file or click Browse... to locate and select the file.
304 Installing Axis2/Java Framework