cancel
Showing results for 
Search instead for 
Did you mean: 

Share and Alfresco problem with calling web scripts

modestas
Champ in-the-making
Champ in-the-making
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
2 REPLIES 2

mlagneaux
Champ on-the-rise
Champ on-the-rise
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/

modestas
Champ in-the-making
Champ in-the-making
Yes my webscripts has user authentication required (<authentication>user</authentication>)

And i call my scripts directly. Thank you for pointing out proxy!