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

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -