Re: SOAPpy, WSDL and objects

2006-03-08 Thread Dieter Maurer
[EMAIL PROTECTED] writes on 7 Mar 2006 08:14:47 -0800:
> 
>
>   FirstName
>   LastName
>
> 
> 
> 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
-- 
http://mail.python.org/mailman/listinfo/python-list


SOAPpy, WSDL and objects

2006-03-07 Thread Bob . Capa
Hi,

I am trying to access a webservice which needs a login request of the
following form:


   
  FirstName
  LastName
   


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)

But this will be sending the following:

   
  FirstName
  LastName
   


Basically, I need to know how to change the code so it generates
'request' instead of 'v1'.

Have a nice evening!

-- 
http://mail.python.org/mailman/listinfo/python-list