santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40360] New: - AxisSigner.java doesn't work out of the box
Date Wed, 30 Aug 2006 14:22:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40360>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40360

           Summary: AxisSigner.java doesn't work out of the box
           Product: Security
           Version: Java 1.3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Signature
        AssignedTo: security-dev@xml.apache.org
        ReportedBy: jlcooke.apache_xmlsec@certainkey.com


java -version:
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

Compile Command:
javac -cp
src_samples:libs/commons-logging-api.jar:libs/commons-logging.jar:libs/serializer.jar:libs/xalan.jar:libs/xercesImpl.jar:libs/xmlsec-1.3.0.jar:libs/xmlsecSamples-1.3.0.jar:libs/xmlsecTests-1.3.0.jar
src_samples/org/apache/xml/security/samples/AxisSigner.java

Run Command:
java -cp
src_samples:libs/commons-logging-api.jar:libs/commons-logging.jar:libs/serializer.jar:libs/xalan.jar:libs/xercesImpl.jar:libs/xmlsec-1.3.0.jar:libs/xmlsecSamples-1.3.0.jar:libs/xmlsecTests-1.3.0.jar
org.apache.xml.security.samples.AxisSigner

Output:
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 Body
Original Exception was
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 Body
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 Body
Original Exception was
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.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 Body
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)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message