Next in thread → Next in month →

RE: [saml-dev] problem

From
Scott Cantor <>
Date
2002-07-31T15:16:36+00:00
ID
000101c238a5$2c181410$aa0a0a0a@SAIDIN
Thread
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
Next in thread → Next in month →