Not to assume anything, but are you certain that the two linked XML files are the same file on disk? There's a chance your java container and your idp aren't serving the same file. My idp serves the idp-metadata.xml at the fqdn/idp/shibboleth location, but returns Tomcat 404 for /idp/pub/idp-metadata.xml