cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Integration through Web services / Java API

pal1984
Champ in-the-making
Champ in-the-making
Hi,

I am trying to create the integration with Alfresco with teamworks. I tried connecting alfresco using both web services and Java api also. I am using the simple method getstores() from the Repository Services.  Howeevr I was just able to establish the session with Alfresco. I have attached both the screenshots below.

Here is the one I am getting after using Java APIs.
org.Apache.axis.NoEndPointException : No endpoint

This is one after using web services.
Error loading cache data: com.lombardisoftware.core.TeamWorksException:WSDLException (at /wsdl:definitions/wsdl:types/schema): faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at '../wsdl/headers.xsd', relative to 'http://172.17.121.227:8082/alfresco/wsdl/repository-service.wsdl'.: no content-type

Any Helps??? 

Thanks in advance…
3 REPLIES 3

openpj
Elite Collaborator
Elite Collaborator
Can you explain in a better way what you are doing, please?

It seems that you are using only Web Services API, so it means that you have a remote Alfresco instance.
You can use Java API only for WebScripts or other Alfresco customization, but never directly from remote.

pal1984
Champ in-the-making
Champ in-the-making
Hi,

I am connecting to a remote Alfresco instance through Teamworks. I am trying both the ways using web services and also through Java API.. But none of them seems to be working for me..

Do I need to have Alfresco installed on my machine when using through Java api?


Thanks ..

openpj
Elite Collaborator
Elite Collaborator
You cannot use the Alfresco Java API to contact Alfresco from a remote application.

You can use Web Services API, WebScripts, CMIS, REST but not Java API.

Alfresco JAVA API = Foundation Services API and this is an internal java interface to extend Alfresco behaviuor.

Hope this helps.