[Fedora-suds-list] SOAP Method Problem
Jason Giangrande
JGiangrande at clarku.edu
Wed Jan 14 16:03:42 UTC 2009
Thanks Jeff. That worked perfectly.
Jason
> -----Original Message-----
> From: fedora-suds-list-bounces at redhat.com [mailto:fedora-suds-list-
> bounces at redhat.com] On Behalf Of Jeff Ortel
> Sent: Tuesday, January 13, 2009 6:00 PM
> To: Jason Giangrande
> Cc: fedora-suds-list at 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 at redhat.com
> > https://www.redhat.com/mailman/listinfo/fedora-suds-list
>
> _______________________________________________
> fedora-suds-list mailing list
> fedora-suds-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-suds-list
More information about the fedora-suds-list
mailing list