cancel
Showing results for 
Search instead for 
Did you mean: 

Using web services client from inside Alfresco

peterm
Champ in-the-making
Champ in-the-making
I am trying to use the web service client from a custom action, ie the client is executed inside of an alfresco context. However I am having a number of classloading issues getting this running (Alfresco 1.2, Tomcat 5.5.15). I have tried adding the web service client dependent jars to any number of classloaders (alfresco/WEB-INF/lib, tomcat shared/lib) however the CNFE's keep chaining. Note the action can be executed successfully outside of alfresco as a standalone app. Has anybody succesfully done something like this?

Why would I want to do this? Well I would like to use a remote alfresco instance for my publishing environment. The action fetches specific content based on some rules and transfers it to the remote alfresco instance using the WS apis. If anyone has any suggestions or experiences around this I'd be interested.

Thanks
1 REPLY 1

peterm
Champ in-the-making
Champ in-the-making
Everyone can stop looking now :wink:.  More careful placement of dependent jars in the alfresco/WEB-INF/lib directory will get this going.