You should not need to edit the wrapper; I didn't. You don't give me the error, but if you are getting a connection error it is likely to be something to do with the URL, UID or PASSWORD you are sending it or you don't have all the necessary PHP library code (e.g. curl). If you are running your scripts on the same machine as Alfresco, then the URL should be