Call a web service from a script

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2011 03:20 AM
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.
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.
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2011 03:28 AM
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2011 03:47 AM
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.
http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples
Hope this helps.
