Modifying the build file on windows, Building the axis2/java web archive with sandesha2, Installing the rampart module – HP Integrity NonStop J-Series User Manual
Page 188: Downloading the axis2/java distribution on windows

<phase name="RMPhase"/>
Copying the Sandesha2 Binaries to the Axis2/Java Directory
To copy the Sandesha2 binaries and modules to the Axis2/Java directory , complete the following
steps:
1.
Copy the Sandesha2 module file (sandesha2-<Version>.mar) from the
<Sandesha2_Home>
directory to the <Axis2 Home>/repository/modules directory.
2.
Copy the Sandesha2-policy-<Version>.jar and
sandesha2-core--<Version>.jar
files from the <Sandesha2_Home> directory to the
<Axis2_Home>/lib directory.
Modifying the Build File on Windows
To modify the <Axis2 Home>\webapp\build.xml build file, complete the following steps:
1.
Open the <Axis2 Home>\webapp\build.xml file in any text editor.
2.
Modify the create.war target and comment the following line:
This includes axis2-codegen*.jar in the WAR file.
Building the Axis2/Java Web Archive with Sandesha2
Build the Axis2/Java web archive with Sandesha2 using the steps described in
Axis2/Java Web Archive using Standard Binary Distribution” (page 185)
.
Deploying the Axis2/Java Web Archive with Sandesha2
Before you deploy the web archive (axis2.war), remove the axis2.war file from the <NSJSP
Deployment Directory>/webapps
directory, if the file is already present.
Deploy the Axis2/Java web archive with Sandesha2 using the steps described in
Sample Applications on NonStop” (page 331)
This completes installing the Sandesha2 module in Axis2/Java.
Installing the Rampart Module
The Rampart module is the security module of Axis2/Java, which you can use to secure your SOAP
messages based on the WS-Security stack specifications.
Installing the Rampart module involves the following tasks:
•
“Downloading the Axis2/Java Distribution on Windows” (page 188)
•
“Copying the Rampart Binaries to Axis2/Java” (page 189)
•
“Building the Axis2/Java Web Archive with Rampart” (page 189)
•
“Deploying the Axis2/Java Web Archive with Rampart” (page 189)
Downloading the Axis2/Java Distribution on Windows
To download the Rampart distribution on your Windows system, complete the following steps:
188 Axis2/Java Framework