cancel
Showing results for 
Search instead for 
Did you mean: 

Problem creating a new user

doblek
Champ in-the-making
Champ in-the-making
Hi,

I'm trying to create a new user using Web Services.
I've seen the example AdministrationServiceSystemTest.java included in the svn repository (at projects/web-service-client/source/java/org/alfresco/webservice/test/resources).

My problem appears when I want to use the object WebServiceFactory. I've imported the library remote-api.jar, but I'm unable to find any class called WebServiceFactory. It is supposed to be in the package org.alfresco.webservices.util, but I can't find it.

I've read that there is a web-service-client.jar, but I'm also unable to find it in the Alfresco 1.3.0 war release I have… =/

Where can I find this web-service-client.jar?

Thanks in advance,
Enrique
3 REPLIES 3

davidc
Star Contributor
Star Contributor
Web Service examples, jar dependencies are in the SDK.

doblek
Champ in-the-making
Champ in-the-making
Thanks David 😃

I've found it at "lib/remote" directory in Alfresco 1.4.0 sdk release.
I've extracted it to my "WEB-INF/lib" directory of the 1.3.0 war release… will it cause me any trouble?

Thanks again.

davidc
Star Contributor
Star Contributor
potentially - to be safe, take it from 1.3.0 SDK.

or, if you've got all the source checked-out from SVN you can build it using the web-services-client eclipse project (or a full build using ant).  You'll find it in projects\web-service-client\build\dist