cancel
Showing results for 
Search instead for 
Did you mean: 

Call a web service from a script

andrew99
Champ in-the-making
Champ in-the-making
Hi

I would like to know how to call a web service from a script? Or how to access an external database to insert a record, from a script? My alfresco version is community 2.1.

Thanks for your help.
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
Not entirely sure about 2.1 since its "before my time".   However if you have a Java backed script it can do anything, including using JDBC, a http client or a web service client.

openpj
Elite Collaborator
Elite Collaborator
You can take a look at how to implement a Java-Backed WebScript from the following page:
http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples

Hope this helps.