File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Apache Axis 1.1 & Tomcat 5.5 - XML Security optional jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Apache Axis 1.1 & Tomcat 5.5 - XML Security optional jar" Watch "Apache Axis 1.1 & Tomcat 5.5 - XML Security optional jar" New topic
Author

Apache Axis 1.1 & Tomcat 5.5 - XML Security optional jar

bryan nelson
Ranch Hand

Joined: Jun 16, 2003
Posts: 95
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
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
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
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
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
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.


here => http://xml.apache.org/security/download.html
Christina Wang
Greenhorn

Joined: Mar 10, 2003
Posts: 5
Cool, i got it, actually, it is linked there, I only checked at the end of the page.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache Axis 1.1 & Tomcat 5.5 - XML Security optional jar