[Fedora-suds-list] Possible problem with Yahoo WSDL
Joshua J. Kugler
joshua at eeinternet.com
Wed Apr 28 21:07:05 UTC 2010
On Wednesday 28 April 2010, Joshua J. Kugler elucidated thus:
> Something I've noticed about Yahoo is that they seem to like named
> parameters. Example: their docs will say that a call, say,
> getReportList, returns:
>
> ReportInfo[] - A list of all requested reports that you have access
> to in the master account.
>
> But the response will be a response will be a single attribute
> (length 1), with a name of ReportInfo, which will then be a list of
> all reports. Stated another way, instead of returning a list
> directly, it returns an object with an attribute of ReportInfo, which
> is a list. At least, that's what it does when called via Suds.
Sigh, I said all that to say:
I wonder if I should call:
client.deleteReports({reportIDs:[...]}) but I can call
client.deleteReport(11111) just fine, without naming the parameters.
Odd.
j
--
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/ ID 0x73B13B6A
More information about the suds
mailing list