cancel
Showing results for 
Search instead for 
Did you mean: 

Invoking NodeService instance

ganmaku
Champ on-the-rise
Champ on-the-rise
Hello Team,

I am invoking various services(say, ContentService, ActionService etc) of Alfresco using the "WebServiceFactory" class.

I have not found any method returns NodeService instance by which I can work on attaching aspect and so on.

Can you please guide me how to obtain the NodeService instance thorugh Alfreso WebService Client?

Thanks in advance.
2 REPLIES 2

gyro_gearless
Champ in-the-making
Champ in-the-making
Hi!
The bad news: You dont, NodeService is not exposed as WebService API…

The good news: You would use CML objects on RepositoryService to add/modify aspects 🙂

There are good samples for that in the famous Alfresco Developer Guide, or possibly from Mr. Google…

HTH
Gyro

openpj
Elite Collaborator
Elite Collaborator
You can take a look at the samples in the Alfresco SDK, there is an Eclipse project named SDK WebServiceSamples that uses the CML language.
Hope this helps.