Skip to Content.
Sympa Menu

mace-opensaml-users - SEVERE: No unmarshaller registered for document element {urn:oasis:names:tc:SAML:2.0:metadata}EntityDescriptor

Subject: OpenSAML user discussion

List archive

SEVERE: No unmarshaller registered for document element {urn:oasis:names:tc:SAML:2.0:metadata}EntityDescriptor


Chronological Thread 
  • From: rangeli nepal <>
  • To:
  • Subject: SEVERE: No unmarshaller registered for document element {urn:oasis:names:tc:SAML:2.0:metadata}EntityDescriptor
  • Date: Sun, 4 Apr 2010 13:07:25 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WOhJKA7qVf9jPUplRE/neHpgedQAI43vXKI0XY3hAA9DYI5iXJqnypDvM+eWEBxjOT FymTwuIqnOEx1+FTiH274Cs3HBDQwExXTgaAFbXlwzSkA3fGbKKiftc5AiashMa4eqWI sAw/DL/tPib8Gf7Yjk9qFYQwKuFTPv3maQ4I4=

Hello Everybody,

I am trying to write a MetadataProvider that will fetch metadata from Database. In order to do so I wrote a class which extends saml2 .AbstractMetadataProvider. I created parserpool and set it on parent class.

Currently my database layer is not ready so I was trying to get the data from file convert it to string and feed to unmarshallMetadaa method.

In my getMetadata() method I am  trying to call unmarshallMetadata and I feed it ByteArrayInputStream data which contains the string of metadata that I received above.

However I get following error. I even tried to with sample xml provided at
https://spaces.internet2.edu/display/SHIB2/MetadataForSP
with small addition like :
<?xml version="1.0" encoding="UTF-8"?>

<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
xsi:schemaLocation="urn:oasis:names:tc:SAML:2.0:metadata http://docs.oasis-open.org/security/saml/v2.0/saml-schema-metadata-2.0.xsd
entityID="https://service.example.org/shibboleth" validUntil="2010-01-01T00:00:00Z">

Any clue will be highly appreciated.
Thank you.
rn


Apr 4, 2010 12:49:53 PM org.opensaml.saml2.metadata.provider.AbstractMetadataProvider unmarshallMetadata
SEVERE: No unmarshaller registered for document element {urn:oasis:names:tc:SAML:2.0:metadata}EntityDescriptor
org.opensaml.xml.io.UnmarshallingException: org.opensaml.xml.io.UnmarshallingException: No unmarshaller registered for document element {urn:oasis:names:tc:SAML:2.0:metadata}EntityDescriptor
at org.opensaml.saml2.metadata.provider.AbstractMetadataProvider.unmarshallMetadata(AbstractMetadataProvider.java:190)
at com.foo.test.saml.metadata.testMetadataProvider.getMetadata(testMetadataProvider.java:64)
at com.foo.test.saml.metadata.testMetadataProvider.main(testMetadataProvider.java:75)
Caused by: org.opensaml.xml.io.UnmarshallingException: No unmarshaller registered for document element {urn:oasis:names:tc:SAML:2.0:metadata}EntityDescriptor
at org.opensaml.saml2.metadata.provider.AbstractMetadataProvider.unmarshallMetadata(AbstractMetadataProvider.java:185)
... 2 more
org.opensaml.saml2.metadata.provider.MetadataProviderException: org.opensaml.xml.io.UnmarshallingException: org.opensaml.xml.io.UnmarshallingException: No unmarshaller registered for document element {urn:oasis:names:tc:SAML:2.0:metadata}EntityDescriptor
at com.foo.test.saml.metadata.testMetadataProvider.getMetadata(testMetadataProvider.java:69)
at com.foo.test.saml.metadata.testMetadataProvider.main(testMetadataProvider.java:75)
Caused by: org.opensaml.xml.io.UnmarshallingException: org.opensaml.xml.io.UnmarshallingException: No unmarshaller registered for document element {urn:oasis:names:tc:SAML:2.0:metadata}EntityDescriptor
at org.opensaml.saml2.metadata.provider.AbstractMetadataProvider.unmarshallMetadata(AbstractMetadataProvider.java:190)
at com.foo.test.saml.metadata.testMetadataProvider.getMetadata(testMetadataProvider.java:64)
... 1 more
Caused by: org.opensaml.xml.io.UnmarshallingException: No unmarshaller registered for document element {urn:oasis:names:tc:SAML:2.0:metadata}EntityDescriptor
at org.opensaml.saml2.metadata.provider.AbstractMetadataProvider.unmarshallMetadata(AbstractMetadataProvider.java:185)
... 2 more




Archive powered by MHonArc 2.6.16.

Top of Page