Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] local part cannot be "null" when creating a QName during unmarshalling an Assertion object

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] local part cannot be "null" when creating a QName during unmarshalling an Assertion object


Chronological Thread 
  • From: Sidhartha Priye <>
  • To:
  • Subject: Re: [OpenSAML] local part cannot be "null" when creating a QName during unmarshalling an Assertion object
  • Date: Mon, 1 Mar 2010 13:04:04 -0800 (PST)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=UsQGybGQ5Jkb9O8gPJkIcTMkuGtMV3f4JDrAO49M8fwVn2CxJucTU6E/upfj7xzR00Las2IsmKs9f2yoweniRw7NSvnHUH9xuQB6mWXYtvT6BajpKyMzedk5m4RpKZ8agWAoNKqcBmyJtok73/JpOE03Poxxzpuh25rv3JZ9Igc=;

Thanks Scott for the great suggestion. However I checked and I am using
SAAJ1.2 which is DOM2 compliant. Besides I have the JAXP
(xercesImpl-2.9.1.jar, xalan-2.7.1.jar, xml-apis-2.9.1.jar) that is
OpenSAML2.3 compatible. That being said, it is a good time to have my
libraries verified. Anything that jumps out??

Inside the WAS endorsed library (C:\IBM\WAS\java\jre\lib\endorsed)
resolver-2.9.1.jar,
serializer-2.9.1.jar,
xalan-2.7.1.jar,
xercesImpl-2.9.1.jar,
xml-apis-2.9.1.jar,
saaj-api.jar,
saaj-impl.jar

Inside the WEB-INF/lib (Parent Last)

aopalliance-1.0.jar
spring-beans-2.5.6.jar
spring-context-2.5.6.jar
spring-core-2.5.6.jar
spring-web-2.5.6.jar

commons-codec-1.3.jar
commons-collections-3.2.1.jar
commons-configuration-1.5.jar
commons-lang-2.4.jar
commons-logging-1.1.1.jar
commons-pool-1.5.2.jar
joda-time-1.6.jar
log4j.jar

cxf-2.2.6.jar
geronimo-activation_1.1_spec-1.0.2.jar
geronimo-annotation_1.0_spec-1.1.1.jar
geronimo-javamail_1.4_spec-1.6.jar
geronimo-jaxws_2.1_spec-1.0.jar
geronimo-stax-api_1.0_spec-1.0.1.jar
geronimo-ws-metadata_2.0_spec-1.1.2.jar
jaxb-api-2.1.jar
jaxb-impl-2.1.12.jar
jaxen-1.1.jar
jetty-6.1.21.jar
jetty-util-6.1.21.jar
neethi-2.0.4.jar

opensaml-2.3.0.jar
openws-1.3.0.jar
slf4j-api-1.5.10.jar
slf4j-jdk14-1.5.10.jar
velocity-1.5.jar
bcprov-jdk15-145.jar
xmltooling-1.2.1.jar

wss4j-1.5.8.jar
wstx-asl-3.2.9.jar
xmlbeans-2.4.0.jar
xml-resolver-1.2.jar
XmlSchema-1.4.5.jar
xmlsec-1.4.3.jar

Also, how do I make this code namespace aware.

DefaultBootstrap.bootstrap();
// check for SOAP Header
SOAPHeader sh = smc.getMessage().getSOAPHeader();


thanks
Sid



----- Original Message ----
> From: Scott Cantor
> <>
> To:
>
> Sent: Mon, March 1, 2010 3:10:33 PM
> Subject: RE: [OpenSAML] local part cannot be "null" when creating a QName
> during unmarshalling an Assertion object
>
> > Per the documentation of getLocalNamepublic String getLocalName()
> > Returns the local part of the qualified name of this node.
> > For nodes of any type other than ELEMENT_NODE and ATTRIBUTE_NODE and nodes
> > created with a DOM Level 1 method, such as createElement from the
> Document
> > interface, this is always null.
>
> Sounds pretty clear, you're using DOM1 instead of DOM2/DOM3 and your parsing
> code isn't namespace aware.
>
> -- Scott







Archive powered by MHonArc 2.6.16.

Top of Page