Apache Axis 1.1 & Tomcat 5.5 - XML Security optional jar
bryan nelson
Ranch Hand
Joined: Jun 16, 2003
Posts: 95
posted
0
Hello everyone,
I've finally had the opportunity to delve into the realm of web services and have begun with Apache Axis 1.1 and Tomcat 5.5.9. I get to my happiness page just fine, and have worked through all the required jars...and all the optional jars except for one...the one for the XML Security. However, I'm having trouble getting this one to work, and I'll most likely need the feature in the near future as well.
Here's my warning:
Warning: could not find a dependency of class org.apache.xml.security.Init from file xmlsec.jar XML Security is not supported See http://xml.apache.org/security/ The root cause was: org/apache/xpath/compiler/FuncLoader This can happen e.g. if org.apache.xml.security.Init is in the 'common' classpath, but a dependency like activation.jar is only in the webapp classpath.
I guess the first question to ask is...can Axis 1.1 and Tomcat 5.5 work together...and if so, any ideas about that error?
Many thanks, bryan
"...and the Truth will set you free."
Balaji Loganathan
author and deputy
Bartender
Joined: Jul 13, 2001
Posts: 3150
posted
0
Yes (on my machine ), i actually placed all the neccessay jar files from various packages(xerces, xalan,xmlsec,javamail) in to the lib folder of my axis webapp. it worked fine.
bryan nelson
Ranch Hand
Joined: Jun 16, 2003
Posts: 95
posted
0
Hmmm.
I have the xmlsec.jar and the mail.jar...So you're saying that the xalan.jar and the xerces.jar are also required to obtain this XMLSecurity feature?
bryan nelson
Ranch Hand
Joined: Jun 16, 2003
Posts: 95
posted
0
Ah, apparently so. Adding the xalan.jar, xml-apis.jar, and the xercesImpl.jar has solved all the problems.
thanks!
Christina Wang
Greenhorn
Joined: Mar 10, 2003
Posts: 5
posted
0
Where can I download the xmlsec.jar, the apache pages seem need to get the source then compile it yourself.
Balaji Loganathan
author and deputy
Bartender
Joined: Jul 13, 2001
Posts: 3150
posted
0
Originally posted by Christina Wang: Where can I download the xmlsec.jar, the apache pages seem need to get the source then compile it yourself.