Skip to Content.
Sympa Menu

mace-opensaml-users - Errors parsing the SAML assertion

Subject: OpenSAML user discussion

List archive

Errors parsing the SAML assertion


Chronological Thread 
  • From:
  • To:
  • Subject: Errors parsing the SAML assertion
  • Date: Wed, 3 Aug 2005 11:52:33 -0400 (EDT)

<?xml version="1.0"?>
<samlp:Response xmlns:lib="http://projectliberty.org/schemas/core/2002/12";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";

xmlns:sourceid="http://www.sourceid.org/schemas/sso/providers/2002/11";
xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:ac="http://projectliberty.org/schemas/authctx/2002/05";
ResponseID="idltQvoA==" MajorVersion="1" MinorVersion="0"
Recipient="test"
IssueInstant="2005-07-21T17:45:25Z"
xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol">
<samlp:Status>
<samlp:StatusCode Value="samlp:Success" />
</samlp:Status>
<saml:Assertion xsi:type="lib:AssertionType" MajorVersion="1"
MinorVersion="0"
AssertionID="zYbRw" Issuer="staging.webmdhealth.com"
IssueInstant="2005-07-21T17:45:25Z">
</saml:Assertion>
//---------------------------------
There are two errors I get parsing this snippet.

1> ResponseID="idltQvoA=="

I get an error that responseID can not have word "id" in it.
Also I had to take the relational operator out to make it work.


2> xsi:type="lib:AssertionType"

org.xml.sax.SAXParseException: cvc-elt.4.2: Cannot resolve
'lib:AssertionType' to a type definition for element 'saml:Assertion'. I get
same error for all other type definitions
xsi:type="lib:AuthenticationStatementType", xsi:type="lib:SubjectType"



Please help me.




Archive powered by MHonArc 2.6.16.

Top of Page