AnsweredAssumed Answered

Alfresco Web Service in Python

Question asked by kbond on Nov 12, 2005
Latest reply on Jan 5, 2006 by rwetherall

I am very impressed by the quality of your young software. Since the begining of the week I fighting in order to use the web service in python.
Unfortunatly I did not manage to be as successfull as I would like.
So far I am able to get my ticket:

from SOAPpy import WSDL, Types,SOAPProxy
alfrescoPassword = "admin"
alfrescoUser = "admin"
wsdlFile = "http://localhost:8080/alfresco/wsdl/authentication-service.wsdl"
server = WSDL.Proxy(wsdlFile)
myTicket=server.startSession(alfrescoUser, alfrescoPassword)

myTicket is now a dictionnary with the following keys: username, ticket

Now the hard piece of the cake is to use it the header of the other calls.
This is where I am stuck however I am almost 100% sure that it is do able since I found some similars examples with:
    + google –
    + microsoft –
    + microsoft –
It would be great If someone can help me to get started with this.
Thank you