Share and Alfresco problem with calling web scripts

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2014 02:47 AM
Hello,
I have created some WebScripts and deployed them on alfresco.war They are registered and I am able to access them from localhost:8080/alfresco/service/index/all.
I have created an action in share.war part which calls my WebScript (which is deployed in alfresco part). When I try to call it I get login popup window.
Any ideas how to solve this problem? Maybe my WebScript somehow should be deployed on share part? or the call to alfresco WebScript should be done in specific way?
respectfully,
Modestas
I have created some WebScripts and deployed them on alfresco.war They are registered and I am able to access them from localhost:8080/alfresco/service/index/all.
I have created an action in share.war part which calls my WebScript (which is deployed in alfresco part). When I try to call it I get login popup window.
Any ideas how to solve this problem? Maybe my WebScript somehow should be deployed on share part? or the call to alfresco WebScript should be done in specific way?
respectfully,
Modestas
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2014 03:52 AM
Hello,
I think your webscript has a "user" authentication required. How do you call your webscript from Share ? Do you use the Share proxy ?
The URL you call must be similar to : http://localhost:8080/share/proxy/alfresco/…
I think your webscript has a "user" authentication required. How do you call your webscript from Share ? Do you use the Share proxy ?
The URL you call must be similar to : http://localhost:8080/share/proxy/alfresco/…

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2014 05:15 AM
Yes my webscripts has user authentication required (<authentication>user</authentication>)
And i call my scripts directly. Thank you for pointing out proxy!
And i call my scripts directly. Thank you for pointing out proxy!
