Oh, never mind. The WSDL (mis)spells "payeeAdresses" with one D. Duh!
rg
On Jul 2, 2011, at 6:01 PM, Ron Garret wrote:
I'm using this service:
https://stagews.cftpay.com:8443/wsrv/npn.wsdl
and it's mostly working, except for when I try to pass a parameter that is a sequence
of complex types. For example:
<element name="CreateSubscriberPayeeRequest"
xmlns="http://www.w3.org/2001/XMLSchema">
<complexType
xmlns="http://www.w3.org/2001/XMLSchema">
<all
xmlns="http://www.w3.org/2001/XMLSchema">
...
<element minOccurs="0" name="payeeAdresses"
nillable="true"
xmlns="http://www.w3.org/2001/XMLSchema">
<complexType
xmlns="http://www.w3.org/2001/XMLSchema">
<sequence
xmlns="http://www.w3.org/2001/XMLSchema">
<element maxOccurs="unbounded" minOccurs="0"
name="address" nillable="true" type="ns0:Address"
xmlns="http://www.w3.org/2001/XMLSchema"/>
</sequence>
</complexType>
...
</all>
</complexType>
</element>
When I try to pass payeeAddresses as a Python list of ns0:Address objects it doesn't
work. The resulting XML doesn't have a payeeAdresses element.
What is the right way to pass the payeeAdresses argument?
Thanks,
rg
_______________________________________________
suds mailing list
suds(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/suds