06-15-2009 07:13 AM
06-15-2009 07:52 AM
06-15-2009 10:30 AM
06-19-2009 02:24 PM
String alfrescoWsUrl = "http://localhost:8080/alfresco/api";
WebServiceFactory.setEndpointAddress(alfrescoWsUrl);
AuthenticationUtils.startSession("admin", "admin");
…
…
AuthenticationUtils.endSession();
Alfresco espone diversi WSDL come servizi, per ogni servizio esiste un WSDL: RepositoryService, NodeService, etc…03-04-2010 11:48 AM
<bean id="nome_classe" class="org.alfresco.webservice.ECCETERA_ECCETERA" >
<property name="workflowServiceImpl">
<ref bean="nomeoggetto"/>
</property>
</bean>
e che poi mi devo creare un file (ma non ho capito con che estensione e in che cartella di alfresco salvare tale file) in cui implemento la classe "nome_classe" dove uso i metodi che vorrei fossero disponbili tipo:
import org.alfresco.webservice.content.Content;
import org.alfresco.webservice.content.ContentServiceSoapBindingStub;
import org.alfresco.webservice.repository.UpdateResult;
import org.alfresco.webservice.types.*;
import org.alfresco.webservice.util.AuthenticationUtils;
import org.alfresco.webservice.util.Constants;
import org.alfresco.webservice.util.Utils;
import org.alfresco.webservice.util.WebServiceFactory;
import java.io.File;
import static java.io.File.separatorChar;
import java.io.FileInputStream; import java.io.IOException;
import java.io.InputStream;
import java.util.*;
String alfrescoWsUrl = "http://localhost:8080/alfresco/api";
WebServiceFactory.setEndpointAddress(alfrescoWsUrl);
AuthenticationUtils.startSession("admin", "admin");
public nome_classe() {
//corpo della classe
}
AuthenticationUtils.endSession();
è giusto?
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.