OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

saml-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: RE: [saml-dev] problem


>Whenever i try to pass any SAML request document to SAMLRequest
constructor
>I get this exception even if samlp:request element is the root element
of
>my XML document

In future, we probably will have a specific list created for support of
this package, but for now, please send stuff like this directly to me so
as not to clutter the general list. Thanks...

>org.opensaml.InvalidAssertionException: SAMLRequest() requires
>samlp:Request at root
>       at org.opensaml.SAMLRequest.<init>SAMLRequest.java:144)

All of the DOM-based constructors that expect an Element have to be
given an Element of the correct qualified name (in this case Request, in
the protocol namespace).

You can interrogate the root of your tree being passed in with Node
functions like getNamespaceURI and getLocalName to find out what's being
passed in.

-- Scott



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC