Dear Apache developers, I cannot so far overcome the error I get when I use the java XML Security by Apache foundation. For the current NetWeaver we are using JDK1.5 where it gives error, in JDK1.6 it works fine. Please look in <<netweaverError>> to my method signXML(), which is pretty much repeats the exemplary code from XML Security javax example. I include the following libraries from the 1.4.3 commons-logging-api.jar commons-logging.jar serializer.jar xalan.jar xercesImpl.jar xml-apis.jar xmlsec-1.4.3.jar I also use the commons-codec-1.4.jar to base64 encoding The URI is an empty string "" and BaseURI I tries unsuccessfully to set: org.apache.xml.security.Init.init(); dsc.setBaseURI(""); dsc.setBaseURI("hello"); Seems to me in the object: org.apache.xml.security.utils.resolver.ResourceResolver when calling getInstance(Attr uri, String BaseURI) We get InstantiationException and the message ID utils.resolver.noClass When trying to create a resolverSpi object : new ResourceResolver((ResourceResolverSpi)resolver._resolverSpi.getClass().n ewInstance()); Looks it is so because resolverSpi list might be empty. I guessed that it must be filled with the list of the Resource Resolver classnames from the config.xml that is included in the xmlsec-1.4.3.jar Best Regards, Leonid Litvak leonid.lit...@celanese.com
SamlAssertion.java
Description: SamlAssertion.java
netweaverError
Description: netweaverError