the axis2.war file using by changing to the webapps directory and
using the create.war ant task. It would seem that the Rampart people
didn't communicate with the Axis people the dependency on
'axis2-codegen-1.4.jar' for they explicitly exclude it in the
create.war ant task! Copy the previously mentioned jar file into the
WEB-INF\lib directory.
[ERROR] The rampart-1.4.mar module, which is not valid, caused
org/apache/axis2/wsdl/codegen/extension/ModulePolicyExtension
java.lang.NoClassDefFoundError:
org/apache/axis2/wsdl/codegen/extension/ModulePolicyExtension
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
Someone apparently thinks its been fixed since the issue[1] has been
closed. One of us is doing something wrong I reckon.
Using Rampart as WS-security is 'pain in the ass', because Rampart give you shit if something goes wrong.
ReplyDeleteLike error: Error in extracting message properties
So in long term is very difficult to live with axis2 and rampart, if my project wasn't so big I would change to another technology.
Respect and that i have a swell offer you: How To Reno A House for home renovation
ReplyDelete