cancel
Showing results for 
Search instead for 
Did you mean: 

Which of the three alfresco remote apis to use?

itsard
Champ in-the-making
Champ in-the-making
Hi,
Can anyone kindly let me know when exactly to use "repository services",when to use "SOAP Web Services Remote API" and
when to use "SOAP Web Service Client" as given on the link below
http://dev.alfresco.com/resource/docs/java/.
They all seem to b doing the same thing but with different classes and packages. I am trying to integrate my system using the soap webservice client apis with alfresco but I actually wish to know what are the other two service apis r about and when using them is better.
Thanks
2 REPLIES 2

jpotts
World-Class Innovator
World-Class Innovator
There is only one SOAP Web Services API. The Remote API is the set of classes that reside on the server that respond to client requests. The clue is the "repo" in the package name. The Client is what you want to use if you are making remote SOAP-based web services calls to Alfresco.

If you download the Alfresco SDK, you'll see that the SDK WebServiceSamples project has several examples you can follow.

If you are using Eclipse, you'll want to make sure your project is dependent only on SDK AlfrescoRemote project, not the SDK AlfrescoEmbedded project. That way, you won't accidentally write remote code that depends on server-only classes.

Jeff

itsard
Champ in-the-making
Champ in-the-making
Thanks for ur reply.
Am trying to deploy alfresco.war on my server so that my ear and alfresco.war reside in the same application server.

Is there a way so that I dont need to make a webservice call. Can I directly call the services like Checkin,Checkout,upload etc from my ear which the webservice would ultimately be calling?
I basically want to access the service classes of repository directly instead of making a webservice calls.
Kindly help me out with this one.
Thanks.