Thanks Jeff. That worked perfectly.
Jason
-----Original Message-----
From: fedora-suds-list-bounces(a)redhat.com [mailto:fedora-suds-list-
bounces(a)redhat.com] On Behalf Of Jeff Ortel
Sent: Tuesday, January 13, 2009 6:00 PM
To: Jason Giangrande
Cc: fedora-suds-list(a)redhat.com
Subject: Re: [Fedora-suds-list] SOAP Method Problem
Hey Jason,
I would suggest:
>
> client = Client(url)
> delete = getattr(client.service, 'del')
> reply = delete(options)
>
Regards,
Jeff
Jason Giangrande wrote:
> Is there anyway to work around a SOAP method that has the same name as a
Python reserved keyword (in this case "del")? I'm calling it like this
"client.service.del(options)" and this gets an invalid syntax error.
Changing the WSDL is an option, but one I'd rather avoid if there's a
better way. Any suggestions?
>
> Thanks.
>
> --
> Jason Giangrande
> System Administrator
> Clark University
>
>
> _______________________________________________
> fedora-suds-list mailing list
> fedora-suds-list(a)redhat.com
>
https://www.redhat.com/mailman/listinfo/fedora-suds-list
_______________________________________________
fedora-suds-list mailing list
fedora-suds-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-suds-list