cancel
Showing results for 
Search instead for 
Did you mean: 

Web services question

paul_r_jacobs
Champ in-the-making
Champ in-the-making
I get "No connection could be made because the target machine actively refused it" when I try to invoke the startSession method.  I can see the WSDL in a browser so I have no trouble creating the object etc. so there seems to be no broad connection issue but it's the first time I've tried this with Alfresco.  Any thoughts?
2 REPLIES 2

mcolak
Champ in-the-making
Champ in-the-making
I think you can use another webserver to get data
WebServiceFactory.setEndpointAddress("http://server:8080/alfresco/api");

You must initialize WebServiceFactory then get session

stevewickii
Champ in-the-making
Champ in-the-making
Make sure /alfresco/webserviceclient.properties is in your classpath on your client and that repository.location=http://www.yourwebsiteOrIP.com/alfresco/api is set appropriately.