<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Aptos",sans-serif;
mso-ligatures:standardcontextual;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#467886;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:11.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">I am upgrading from IdP v 4.3.3. to IdP v5.1.3 and installing v5.1.3 on top of v4.3.3. Prior to the upgrade, v4.3.3 runs as expected. I have updated all plugins, removed all deprecated warning messages, etc. I am using amazon-corretto-17-aarch64-linux-jdk.tar.gz
and apache-tomcat-10.1.2. I run the update with no issues. </p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">However, after the upgrade, when I start the IdP, I get errors like the below which point to lines like this
</p>
<p class="MsoNormal"><b>‘<md:ArtifactResolutionService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location=<a href="https://osnode01.rwit.emory.edu/Shibboleth.sso/Artifact/SOAP">https://osnode01.rwit.emory.edu/Shibboleth.sso/Artifact/SOAP</a> index="1"/>’</b>
</p>
<p class="MsoNormal">in the service provider metadata files. </p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am not sure that this is the best solution, but to test, I have removed the line from the metadata file. When I then restart the IdP, the error disappears for that SP. However, I have over 340 metadata files with the ‘ArtifactResolutionService’
line, and I would need to remove that line from all 340 metadata files.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My question is (1) is there a better way to resolve this error and (2.) what are the implications of removing ArtifactResolutionService in the SP SAML metadata file? I have also read the doc here,
<a href="https://shibboleth.atlassian.net/wiki/spaces/SP3/pages/2065334690/ArtifactResolutionService">
https://shibboleth.atlassian.net/wiki/spaces/SP3/pages/2065334690/ArtifactResolutionService</a> .</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>(ERROR)<o:p></o:p></b></p>
<p class="MsoNormal"><b> 2024-09-25 14:01:08,339 - - - ERROR [org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver:493] -<o:p></o:p></b></p>
<p class="MsoNormal"><b> FilesystemMetadataResolver OrEmoryEduMD: Unable to unmarshall metadata: o<o:p></o:p></b></p>
<p class="MsoNormal"><b> rg.opensaml.core.xml.io.UnmarshallingException:<o:p></o:p></b></p>
<p class="MsoNormal"><b> Saw invalid child element {urn:oasis:names:tc:SAML:2.0:metadata}ArtifactResolutionService<o:p></o:p></b></p>
<p class="MsoNormal"><b> on parent {urn:oasis:names:tc:SAML:2.0:metadata}EntityDescriptor<o:p></o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal"><b> 2024-09-25 14:01:08,339 - - - ERROR [org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver:396]<o:p></o:p></b></p>
<p class="MsoNormal"><b> FilesystemMetadataResolver OrEmoryEduMD:<o:p></o:p></b></p>
<p class="MsoNormal"><b> Error occurred while attempting to refresh metadata<o:p></o:p></b></p>
<p class="MsoNormal"><b> from '/opt/shibboleth-idp/metadata/orEmoryEdu-metadata.xml'<o:p></o:p></b></p>
<p class="MsoNormal"><b> net.shibboleth.shared.resolver.ResolverException: Unable to unmarshall metadata<o:p></o:p></b></p>
<p class="MsoNormal"><b> at org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver.unmarshallMetadata(AbstractReloadingMetadataResolver.java:494)<o:p></o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal"><b> Caused by: org.opensaml.core.xml.io.UnmarshallingException: org.opensaml.core.xml.io.UnmarshallingException:<o:p></o:p></b></p>
<p class="MsoNormal"><b> Saw invalid child element {urn:oasis:names:tc:SAML:2.0:metadata}ArtifactResolutionService<o:p></o:p></b></p>
<p class="MsoNormal"><b> on parent {urn:oasis:names:tc:SAML:2.0:metadata}EntityDescriptor<o:p></o:p></b></p>
<p class="MsoNormal"><b> at org.opensaml.saml.metadata.resolver.impl.AbstractMetadataResolver.unmarshallMetadata(AbstractMetadataResolver.java:442)<o:p></o:p></b></p>
</div>
</body>
</html>