[Tutor] How to handle complexType returned by wsdl using SOAPpy
vishwajeet singh
dextrous85 at gmail.com
Thu May 14 16:36:35 CEST 2009
Hi,
soapUrl = constants.JIRA_PATH + '/jira/rpc/soap/jirasoapservice-v2?wsdl'
soap = SOAPpy.WSDL.Proxy(soapUrl)
auth = soap.login(constants.JIRA_USERNAME,constants.JIRA_PASSWORD)
b = Types.longType(10041L)
role = soap.getProjectRole(auth,b)
project = soap.getProjectByKey(auth,'TEMP')
Now I want to pass role and project object to some other function of the
webserice but I get an error as the role and project are of struct type and
webservice is expecting remote role and remote project object which is of
complexType as mentioned in wsdl.
Can anyone tell me how can I handle the complexType and use them?
--
Cheers,
Vishwajeet
http://www.singhvishwajeet.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090514/e51768d3/attachment.htm>
More information about the Tutor
mailing list