anchor.diff:                  });
               }
           });
  +        decodeSPCertificate();
       }
   
       function updateBeanAndPostToWithConfirmation(postURL, data) {
  
positive.code:         document.getElementById('templateDesc').value = templateDesc;
  
          validateSPConfigurations();
          $.ajax({
              type: "POST",
              url: 'add-service-provider-as-template.jsp',
  
negative.code:     }
  
      function updateBeanAndPostTo(postURL, data) {
  
          encodeSPCertificate();
  
          $.ajax({
              type: "POST",
              url: 'update-application-bean.jsp?spName=<%=Encode.forUriComponent(spName)%>',
  