1. Currently Axis2-1.2 is
not compatible with Rampart 1.1 (currently this is latest release available on Axis site).
This Rampart will get result in the following error
Exception in thread "main" java.lang.NoSuchMethodError:
If you are not very familiar with Maven & Subversion, or if you are too busy (or lazy) to get the latest source and do the build,
you are welcome to use the rampart that I built on 13/05/07 - 17:31 (Sydney).
It works fine for Axis2-1.2 and good enough while waiting for the official Rampart release.
I am not sure what version this should be (definitely higher than 1.1) so I just name it 1.1.x
Click here to download
Make sure you remove axis2-security-1.1.jar that comes with rampart-1.1.zip (under /lib).
Otherwise, the classes from the jar will be used instead and you will get the error again.
2. If you decide to deploy your archive as an unexploded .war or .ear, you need to place the modules outside.
The archive will contain /conf, /services and somewhere in your filesystem you need to have a directory that contains /services and /modules. When you initialise your AxisServlet you need to specify the location of the directory.
So if, for example, you have a directory called C:/bla which has /services & /modules.
The initialisation should be as follow:
3. Avoid getting lots of XML-related errors, SAX parser errors specifically, by informing weblogic to use the libraries that come with Axis2. You do that by placing weblogic.xml you create on /WEB-INF. The weblogic.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic-web-jar.dtd">