Thanks for the reply, Anil.
I have read all the articles, but I can't find any documentation on how to link the metadata-file from the IdP to the SP. Is it supposed to be configured in the picketlink-idfed.xml file on the SP? I found an article on how to do it in Seam, http://community.jboss.org/docs/DOC-14752, but I can't really figure out how and if it can be done outside Seam for a generic servlet container.
Also, how do I get the metadata from the SP? What I see is that there is a servlet, org.picketlink.identity.federation.web.servlets.saml.MetadataServlet, but I am not sure if that can give me metadata from the SP.
We still have not tied the loose ends with the SAML Metadata yet. At this time, you will need the configuration settings for IDP in SP. Hopefully when we release v1.0.3 next month, we will have taken care of the metadata tying.