cancel
Showing results for 
Search instead for 
Did you mean: 

Call web script

sihnu
Champ in-the-making
Champ in-the-making
Hello,

I would like to know how to call web script. I want to implement a file upload form for my alfresco site. I got all the necessary files in my web scripts space in data dictionary. I can find the web script from:

http://127.0.0.1:8080/alfresco/service/index

and I can test it too. The script works fine but I got no clue how to use it from elsewhere. Can I call the sript from .ftl file? Or if not how could I call it?
1 REPLY 1

openpj
Elite Collaborator
Elite Collaborator
You can call a WebScript using any HTTP client, for example in Java using Apache HttpClient:
http://forums1.man.alfresco.com/en/viewtopic.php?f=36&t=34828
Hope this helps.