How to call the external web service in alfresco community 5.2
I am trying to connect the external web service from my alfresco site to fetch the data and update that data in the ftl file. While connecting the external web service I am getting error like "Communication Failed". Please check the below code, If I made any mistake in this.
Step 1: create the site-profile.get.html.ftl in below path "alfresco-home\tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\dashlets". In this file I have referred the js file "site-profile.js"