santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Luc Cooke <jlco...@certainkey.com>
Subject AxisSigner.java Sample doesn't work
Date Tue, 29 Aug 2006 14:29:42 GMT
Team,

I've downloaded the 1.3.0 binary package and I'm having trouble runnin the
samples.  Am I missing somethingi really obvious here?  I can't find any
reference to "Cannot resolve element with ID Body" using google.

Cheers,

JLC

javac org/apache/xml/security/samples/AxisSigner.java
java org.apache.xml.security.samples.AxisSigner
Exception in thread "main" org.apache.xml.security.signature.XMLSignatureException: Cannot
resolve element with ID Body
Original Exception was org.apache.xml.security.signature.ReferenceNotInitializedException:
Cannot resolve element with ID Bo
Original Exception was org.apache.xml.security.signature.ReferenceNotInitializedException:
Cannot resolve element with ID Bo
Original Exception was org.apache.xml.security.signature.ReferenceNotInitializedException:
Cannot resolve element with ID Bo
Original Exception was org.apache.xml.security.utils.resolver.ResourceResolverException: Cannot
resolve element with ID Body
        at org.apache.xml.security.signature.XMLSignature.sign(Unknown Source)
        at org.apache.xml.security.samples.AxisSigner.main(AxisSigner.java:138)
org.apache.xml.security.signature.ReferenceNotInitializedException: Cannot resolve element
with ID Body
Original Exception was org.apache.xml.security.signature.ReferenceNotInitializedException:
Cannot resolve element with ID Bo
Original Exception was org.apache.xml.security.signature.ReferenceNotInitializedException:
Cannot resolve element with ID Bo
Original Exception was org.apache.xml.security.utils.resolver.ResourceResolverException: Cannot
resolve element with ID Body
        at org.apache.xml.security.signature.Reference.calculateDigest(Unknown Source)
        at org.apache.xml.security.signature.Reference.generateDigestValue(Unknown Source)
        at org.apache.xml.security.signature.Manifest.generateDigestValues(Unknown Source)
        at org.apache.xml.security.signature.XMLSignature.sign(Unknown Source)
        at org.apache.xml.security.samples.AxisSigner.main(AxisSigner.java:138)
org.apache.xml.security.signature.ReferenceNotInitializedException: Cannot resolve element
with ID Body
Original Exception was org.apache.xml.security.signature.ReferenceNotInitializedException:
Cannot resolve element with ID Bo
Original Exception was org.apache.xml.security.utils.resolver.ResourceResolverException: Cannot
resolve element with ID Body
        at org.apache.xml.security.signature.Reference.dereferenceURIandPerformTransforms(Unknown
Source)
        at org.apache.xml.security.signature.Reference.calculateDigest(Unknown Source)
        at org.apache.xml.security.signature.Reference.generateDigestValue(Unknown Source)
        at org.apache.xml.security.signature.Manifest.generateDigestValues(Unknown Source)
        at org.apache.xml.security.signature.XMLSignature.sign(Unknown Source)
        at org.apache.xml.security.samples.AxisSigner.main(AxisSigner.java:138)
org.apache.xml.security.signature.ReferenceNotInitializedException: Cannot resolve element
with ID Body
Original Exception was org.apache.xml.security.utils.resolver.ResourceResolverException: Cannot
resolve element with ID Body
        at org.apache.xml.security.signature.Reference.getContentsBeforeTransformation(Unknown
Source)
        at org.apache.xml.security.signature.Reference.dereferenceURIandPerformTransforms(Unknown
Source)
        at org.apache.xml.security.signature.Reference.calculateDigest(Unknown Source)
        at org.apache.xml.security.signature.Reference.generateDigestValue(Unknown Source)
        at org.apache.xml.security.signature.Manifest.generateDigestValues(Unknown Source)
        at org.apache.xml.security.signature.XMLSignature.sign(Unknown Source)
        at org.apache.xml.security.samples.AxisSigner.main(AxisSigner.java:138)
org.apache.xml.security.utils.resolver.ResourceResolverException: Cannot resolve element with
ID Body
        at org.apache.xml.security.utils.resolver.implementations.ResolverFragment.engineResolve(Unknown
Source)
        at org.apache.xml.security.utils.resolver.ResourceResolver.resolve(Unknown Source)
        at org.apache.xml.security.signature.Reference.getContentsBeforeTransformation(Unknown
Source)
        at org.apache.xml.security.signature.Reference.dereferenceURIandPerformTransforms(Unknown
Source)
        at org.apache.xml.security.signature.Reference.calculateDigest(Unknown Source)
        at org.apache.xml.security.signature.Reference.generateDigestValue(Unknown Source)
        at org.apache.xml.security.signature.Manifest.generateDigestValues(Unknown Source)
        at org.apache.xml.security.signature.XMLSignature.sign(Unknown Source)
        at org.apache.xml.security.samples.AxisSigner.main(AxisSigner.java:138)

Mime
View raw message