cancel
Showing results for 
Search instead for 
Did you mean: 

Error starting session. :I can't editing AuthenticationUtils.java

youssef
Champ in-the-making
Champ in-the-making
hi
I am beginer in web service alfresco
I test the fist service client but it doesn't work ,I have the exeption eror  Error starting session.
I search in forum for the solution , i find that I have to add  WebServiceFactory.setEndpointAddress("http://10.232.10.171:8080/alfresco/api");
before trying login to alfresco.


but I can't editing AuthenticationUtils.java because it is in mode read only
anyone help me plz
tanks
1 REPLY 1

jpotts
World-Class Innovator
World-Class Innovator
As you are just getting started, I'd first like to welcome you to the Alfresco community and say that we are glad you are here.

Second, I strongly recommend that you do not use the native Web Services API. Instead, you should use OpenCMIS. Using OpenCMIS, you should use either the AtomPub binding or the new browser (JSON) binding available with CMIS 1.1 in Alfresco 4.2. However, if you must use Web Services, there is a Web Services binding you can use with OpenCMIS as well.

Please see https://code.google.com/p/alfresco-api-java-examples/ for sample code.

Jeff