SOAPpy, WSDL and objects

Dieter Maurer dieter at handshake.de
Wed Mar 8 20:21:02 CET 2006


Bob.Capa at gmail.com writes on 7 Mar 2006 08:14:47 -0800:
> <login>
>    <request>
>       <firstname>FirstName</firstname>
>       <lastname>LastName</lastname>
>    </request>
> </login>
> 
> I am trying to do this with the following code:
> 
> from SOAPpy import WSDL
> server = WSDL.Proxy(m_url)
> request = {'firstname': FirstName,
>                 'lastname': LastName}
> server.login(request)

Try: "server.login({'request':request})".


Dieter



More information about the Python-list mailing list