python - suds and choice tag -
how generate request method "choice" arguments?
part of wsdl @ http://127.0.0.1/service?wsdl:
<xs:complextype name="bya"> <xs:sequence> ... </xs:sequence> </xs:complextype> <xs:complextype name="byb"> <xs:sequence> ... </xs:sequence> </xs:complextype> <xs:complextype name="getmethodrequest"> <xs:choice> <xs:element name="bya" type="s0:bya" /> <xs:element name="byb" type="s0:byb" /> </xs:choice> </xs:complextype>
when
suds.client import client client = client("http://127.0.0.1/service?wsdl") print client
i see
getmethod()
without arguments.
how can call getmethod bya or byb?
it's known bug in suds https://fedorahosted.org/suds/ticket/342
Comments
Post a Comment