Return-Path: Delivered-To: apmail-xml-security-dev-archive@www.apache.org Received: (qmail 36945 invoked from network); 29 Aug 2006 14:30:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Aug 2006 14:30:11 -0000 Received: (qmail 61506 invoked by uid 500); 29 Aug 2006 14:30:10 -0000 Delivered-To: apmail-xml-security-dev-archive@xml.apache.org Received: (qmail 61241 invoked by uid 500); 29 Aug 2006 14:30:09 -0000 Mailing-List: contact security-dev-help@xml.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: security-dev@xml.apache.org List-Id: Delivered-To: mailing list security-dev@xml.apache.org Received: (qmail 61230 invoked by uid 99); 29 Aug 2006 14:30:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Aug 2006 07:30:09 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [134.117.69.104] (HELO certainkey.com) (134.117.69.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Aug 2006 07:30:08 -0700 Received: from jlcooke by certainkey.com with local (Exim 4.50) id 1GI4b0-0006ib-IO for security-dev@xml.apache.org; Tue, 29 Aug 2006 10:29:42 -0400 Date: Tue, 29 Aug 2006 10:29:42 -0400 From: Jean-Luc Cooke To: security-dev@xml.apache.org Subject: AxisSigner.java Sample doesn't work Message-ID: <20060829142942.GT13778@certainkey.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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)