I would be curious to see whether your Services.wsdl file is valid, because it seems to grab the information and parse xml, but like you show there's nothing...

When you print the client to the screen, it prints the current suds version, and the ServiceDefinition object associated with it (client.sd), so like I said I would be curious to know why that didn't get generated.

Hope it helps,
matthew

On Tue, Jul 31, 2012 at 11:58 AM, Jaume Delclos <jaume@delclos.com> wrote:
Hi,
I'm trying to interact with a MS Exchange server using EWS and suds, and be able to modify contacts.
I got it to authenticate using ntml, but when I print the client i get just the following line:
Suds ( https://fedorahosted.org/suds/ )  version: 0.4.1 (beta)  build: R703-20101015

This is my code:

from suds.client import Client
from suds.transport.https import WindowsHttpAuthenticated

url = 'https://url_here/EWS/Services.wsdl'
credentials = dict(username='<username here>', password='<password here>')
t = WindowsHttpAuthenticated(**credentials)
client = Client(url='https://eiger.upc.es/EWS/Services.wsdl',
                transport=t)
print client


Am I doing something wrong or it has to do with the server?
Thanks,
Jaume
_______________________________________________
suds mailing list
suds@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/suds