<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">On 5/19/15 11:51 PM, MA Lanxin wrote:<br>
    </div>
    <blockquote
      cite="mid:1196a280.a165.14d6f72ec59.Coremail.ma@ihep.ac.cn"
      type="cite">
      <pre wrap="">


Restart tomcat and httpd. When I link to <a class="moz-txt-link-freetext" href="https://idp-test.ihep.ac.cn/idp/profile/SAML2/SOAP/ECP">https://idp-test.ihep.ac.cn/idp/profile/SAML2/SOAP/ECP</a></pre>
    </blockquote>
    <br>
    Well, you can't literally "link" to this.  It's an endpoint that
    supports/requires the SOAP binding, so an ECP client has to invoke
    it in the proper manner for a SOAP binding.<br>
    <br>
    <br>
    <blockquote
      cite="mid:1196a280.a165.14d6f72ec59.Coremail.ma@ihep.ac.cn"
      type="cite">
      <pre wrap="">
Caused by: org.opensaml.ws.message.decoder.MessageDecodingException: This message decoder only supports the HTTP POST method
        at org.opensaml.saml2.binding.decoding.HTTPSOAP11Decoder.doDecode(HTTPSOAP11Decoder.java:119) ~[opensaml-2.6.2.jar:na]
        at org.opensaml.saml2.binding.decoding.HandlerChainAwareHTTPSOAP11Decoder.decode(HandlerChainAwareHTTPSOAP11Decoder.java:62) ~[opensaml-2.6.2.jar:na]
        at edu.internet2.middleware.shibboleth.idp.profile.saml2.SAML2ECPProfileHandler.decodeRequest(SAML2ECPProfileHandler.java:319) [shibboleth-identityprovider-2.4.1.jar:na]
        ... 28 common frames omitted

</pre>
    </blockquote>
    <br>
    The error is pretty self-explanatory.  The ECP  has to POST the
    message to the IdP endpoint.  It can' be an HTTP GET or other HTTP
    method.  Has to follow the SAML SOAP binding spec.<br>
  </body>
</html>