Skip to Content.
Sympa Menu

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

Subject: OpenSAML user discussion

List archive

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


Chronological Thread 
  • From: rangeli nepal <>
  • To:
  • Subject: Re: SEVERE: No unmarshaller registered for document element {urn:oasis:names:tc:SAML:2.0:metadata}EntityDescriptor
  • Date: Sun, 4 Apr 2010 14:55:20 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Y7UUfVDw+GRvWmmrXSDJfryHYfrgUR20Rsalq6o/JHsQI8m19sSZX4TMyCyKMaa7Re u3khc3UWaQXhCFCDct6kXMy00ObzaolVLMCQmgo32LFH2ZbOyn7gmYc2jWNqSu1Tey57 zjRFO4ta9PYLm+TjUx+TRv0d1zK0t999ZkjEY=

I apologize for posting. This code base some way some how missed to load bootstrap (org.opensaml.DefaultBootstrap.bootstrap();). 
Thank you.
Santos

On Sun, Apr 4, 2010 at 1:07 PM, rangeli nepal <> wrote:
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
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