Description

The build.xml file contained in axis2-1.3/webapp that builds the axis2.war contains the statement "<exclude name="axis2-codegen*.jar"/> ". Unfortunately this file is required to resolve Rampart 1.3's ModulePolicyExtension reference. Clearly the exclusion needs to be removed from the build.xml file.

Issue Links

is related to

AXIS2-4065Policy attached to an input operation in a WSDL does not get copied to the Stub operation by WSDL2Java

Jon Hanshew
added a comment - 12/Nov/07 19:03 As I mentioned in the comment, "Unfortunately this file is required to
resolve Rampart 1.3's ModulePolicyExtension reference."
Rampart uses the ModulePolicyExtension class and it happens to be in
the codegen-1.3.jar. Don't ask me why. Ask some Rampart guys. Please
see
https://issues.apache.org/jira/browse/RAMPART-76
It was marked "Invalid" correctly by Ruchith Udayanga Fernando (see
comment in Jira)
The error is really an Axis2 bug as I have reported.
Thanks for looking into this matter.
Jon

Tim Williams
added a comment - 20/Jun/08 13:58 With axis2-1.4 it doesn't appear to be fixed. Looking at the create.war target in webapp\build.xml, it seems that the jar is still specifically excluded.
I built the war by:
cd %AXIS2_HOME%\webapp
ant create.war
--tim

AXIS2-4065 provides some explanation about why the codegen JAR is required at runtime. As reported by Dennis Sosnoski, the issue still exists. BTW, the WAR artifact produced by Maven also includes the codegen JARs, so we might as well include it in the WAR produced by build.xml.

Andreas Veithen
added a comment - 03/Nov/10 12:35 AXIS2-4065 provides some explanation about why the codegen JAR is required at runtime. As reported by Dennis Sosnoski, the issue still exists. BTW, the WAR artifact produced by Maven also includes the codegen JARs, so we might as well include it in the WAR produced by build.xml.