<div dir="ltr"><div>Hi Team,</div><div>  Currently I am working in configuring SHIB IDP V3 with our own SP V 2.6. </div><div>  I tried configuring the SP's metadata file in IDP. I have added below snippets in the metadata-providers.xml file </div><div>    </div><div> metadata-providers.xml:<br></div><div><br></div><div>        <MetadataProvider id="sp-metadata" xsi:type="FilesystemMetadataProvider" xmlns="urn:mace:shibboleth:2.0:metadata"</div><div>     xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"</div><div>     xsi:schemaLocation="urn:mace:shibboleth:2.0:metadata <a href="http://shibboleth.net/schema/idp/shibboleth-metadata.xsd">http://shibboleth.net/schema/idp/shibboleth-metadata.xsd</a>"</div><div>     metadataFile="/opt/SHIBIDP3/SHIB_SP_26_metadata_file/spmetadata.xml"/></div><div>(So the IDP refers to local SP metadata file refered this for config-  <a href="https://wiki.shibboleth.net/confluence/display/IDP30/MetadataConfiguration">https://wiki.shibboleth.net/confluence/display/IDP30/MetadataConfiguration</a> )</div><div><br></div><div>After restarting the tomcat, I am getting below errors -<br>    </div><div>IDP-WARN.LOG:</div><div>   <br>           2017-07-21 05:44:45,725 - ERROR [org.opensaml.saml.metadata.resolver.impl.AbstractMetadataResolver:349] - Metadata Resolver FilesystemMetadataResolver sp-metadata:</div><div><br></div><div><b>No unmarshaller registered for document element {urn:mace:shibboleth:2.0:native:sp:config}SPConfig</b></div><div><br></div><div>// ABOVE ERROR </div><div><br></div><div>2017-07-21 05:44:45,776 - ERROR [org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver:343] - Metadata Resolver FilesystemMetadataResolver sp-metad</div><div>ata: Unable to unmarshall metadata</div><div>org.opensaml.core.xml.io.UnmarshallingException: org.opensaml.core.xml.io.UnmarshallingException: No unmarshaller registered for document element {urn:mace:shibboleth:2</div><div>.0:native:sp:config}SPConfig</div><div>        at org.opensaml.saml.metadata.resolver.impl.AbstractMetadataResolver.unmarshallMetadata(AbstractMetadataResolver.java:355)</div><div>Caused by: org.opensaml.core.xml.io.UnmarshallingException: No unmarshaller registered for document element {urn:mace:shibboleth:2.0:native:sp:config}SPConfig</div><div>        at org.opensaml.saml.metadata.resolver.impl.AbstractMetadataResolver.unmarshallMetadata(AbstractMetadataResolver.java:350)</div><div>2017-07-21 05:44:45,792 - ERROR [org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver:294] - Metadata Resolver FilesystemMetadataResolver sp-metad</div><div>ata: Error occurred while attempting to refresh metadata from '/opt/SHIBIDP3/SHIB_SP_26_metadata_file/spmetadata.xml'</div><div>net.shibboleth.utilities.java.support.resolver.ResolverException: Unable to unmarshall metadata.........</div><div><br></div><div>Do I need to configure anything for marshaling the sp-metadata.xml file ??  or do I miss anything in the configuration. I have also validated my SP's metadata file, and there is no xml validation errors.</div><div><br></div><div>I have also went through all the post in this archive, but nothing helped me in identifying the issue...<br><br>Your solutions/suggestion will help me a lot...thanks in advance...</div>
</div>