mace-opensaml-users - Re: Problem in creating Assertion Object
Subject: OpenSAML user discussion
List archive
- From: Chad la Joie <>
- To:
- Subject: Re: Problem in creating Assertion Object
- Date: Sat, 26 Aug 2006 18:08:13 -0400
- Organization: UIS - middleware
What was the error you received? I've been doing builds in preparation for the TP2 release and haven't gotten any errors.
wrote:
the build for the svn code is breaking. so i am using tp1 . i read on this
list that i need to load the config file before calling builderFactory. but
when i did i am getting the following error
I am tyring to load the configuration file
File conf = new
File("/Users/harsha/Code/opensaml-javaconf/saml2-assertion-config.xml");
Configuration.load(conf);
XMLObjectBuilderFactory builderFactory =
Configuration.getBuilderFactory();
// Get the assertion builder based on the assertion element name
AssertionBuilder builder = (AssertionBuilder)
builderFactory.getBuilder(Assertion.DEFAULT_ELEMENT_NAME);
// Create the assertion
Assertion assertion = builder.buildObject();
log4j:WARN No appenders could be found for logger
(org.opensaml.xml.Configuration).
log4j:WARN Please initialize the log4j system properly.
ERROR: 'UndeclaredPrefix: Cannot resolve 'saml2:Action' as a QName: the
prefix 'saml2' is not declared.'
org.opensaml.xml.ConfigurationException: Unable to parse configuration
file(s) in /Users/harsha/Code/conf/saml2-assertion-config.xml
at org.opensaml.xml.Configuration.load(Configuration.java:129)
please help me with this
thanks
harsha
--
Chad La Joie 2052-C Harris Bldg
OIS-Middleware 202.687.0124
- Problem in creating Assertion Object, harsha . ch, 08/26/2006
- RE: Problem in creating Assertion Object, Scott Cantor, 08/26/2006
- <Possible follow-up(s)>
- Re: RE: Problem in creating Assertion Object, harsha . ch, 08/26/2006
- Re: Problem in creating Assertion Object, Chad la Joie, 08/26/2006
- Re: Re: Problem in creating Assertion Object, harsha . ch, 08/27/2006
- RE: Re: Problem in creating Assertion Object, Scott Cantor, 08/27/2006
Archive powered by MHonArc 2.6.16.