[Soap-Python] SOAPpy and WSDLs with nested urns...

li sts lists at libertylost.org
Mon Sep 26 18:47:58 CEST 2011


I'm trying to use SOAPpy to access a wsdl with a request that must be formed
like so:


<urn:GetUserPrivileges>
    <urn:auth>
        <urn:userId>admin</urn:userId>
        <urn:password></urn:password>
        <urn:hostname>localhost</urn:hostname>
    </urn:auth>
    <urn:privilegeType>TS_PRIVTYPE_USERTBL</urn:privilegeType>
    <urn:objectId>1003</urn:objectId>
    <urn:loginId></urn:loginId>
</urn:GetUserPrivileges>

I can't seem to find the proper syntax to create this request, most of the
examples that I've been able to find are for things like a single parameter
(a zip code to get a temperature), and I haven't seen anything that
handles nested urns like this...

Can anyone point me to some help with this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/soap/attachments/20110926/7a7fe87a/attachment.html>


More information about the Soap mailing list