Hello,

I'm starting to use Xfire for ws-security on a web service and I keep running into a problem when I attempt to access the wsdl. (I'm trying to run the ws-security example in the xfire distribution, but upgraded to version 1.2.4 instead of 1.2-SNAPSHOT)

I get a "java.lang.NoClassDefFoundError: org/w3c/dom/DOMError" in my log file. I'm running on WAS6, which uses the 1.4 JDK.

I noticed that the pom for ws-security 1.2.4, references the 1.0.b2 version of xml-apis (http://repository.codehaus.org/org/codehaus/xfire/xfire-ws-security/1.2.4/xfire-ws-security-1.2.4.pom) xml-apis-1.0.b2.jar does not have the above mentioned class. I'm guessing that nobody has noticed because they are running the the 1.5 jdk, which does have the above mentioned class included.

When I added the following entry to my project's pom, I no longer get the exception and the wsdl is returned correctly:
            <dependency>
                <groupId>xml-apis</groupId>
                <artifactId>xml-apis</artifactId>
                <version>1.3.04</version>
            </dependency>

Has anyone else noticed this issue ? - I could not find any reference in Jira.

Have I diagnosed the problem correctly, and if so, will upgrading to this version of the xml-apis be compatible with the ws-security modules in 1.2.4?

Any input would be appreciated,

Thanks,

Baker Haasis

p.s. I have more details if necessary (stack trace, full POM, etc.)

_________________________________________________________________
Get in the mood for Valentine's Day. View photos, recipes and more on your Live.com page. http://www.live.com/?addTemplate=ValentinesDay&ocid=T001MSN30A0701


---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to