Skip to Content.
Sympa Menu

mace-opensaml-users - Can not marshall a SAMLObject if it contains another one which has been marshalled

Subject: OpenSAML user discussion

List archive

Can not marshall a SAMLObject if it contains another one which has been marshalled


Chronological Thread 
  • From:
  • To:
  • Subject: Can not marshall a SAMLObject if it contains another one which has been marshalled
  • Date: Fri, 1 Sep 2006 07:04:42 -0400 (EDT)

Hi,I'm using OpenSAML2-J tp2 and when I try to marshall an Envelope which has
a Response in its Body, and the response has been marshalled because it needs
signed(if we want to sign a SAMLObject, we have to marshall it first, am i
right?), i get the expcetion:

ERROR [AbstractXMLObjectMarshaller] Unable to root namespaces of cached DOM
element, {urn:oasis:names:tc:SAML:2.0:assertion}Issuer

org.opensaml.xml.parse.XMLParserException: Unable to resolve namespace prefix
xmlns found on attribute {http://www.w3.org/2000/xmlns/}saml found on element
{urn:oasis:names:tc:SAML:2.0:assertion}Issuer

Seems it cannot determine the root namespace, i dont know if it's caused by
my wrong usage or OpenSAML's bug, could anyone help me?Thanks.



Archive powered by MHonArc 2.6.16.

Top of Page