kakaka88 / pysimplesoap

Automatically exported from code.google.com/p/pysimplesoap
0 stars 0 forks source link

Unexpected result in simple web services with web2py and pysimplesoap #163

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Dowload latest web2py and ovewrite pysimplesoap with latest pysimplesoap  
2. Create new app with web2py
3. Create web services (server) - server.py attached
4. Create client - client.py attached

What is the expected output? 
response['Result']
[ {'id': 1, 'nombre':'Artigas']}, {'id': 2, 'nombre':'Cerro Largo'} ]

What do you see instead?
In [88]:response['Result']
Out[88]:{'Result': {'id': [], 'nombre': []}}
In [89]: client.get_operation("Departamentos")
Out[89]: 
{u'action': u'http://127.0.0.1:8000/mws/server/call/soapDepartamentos',
 u'documentation': u'Lista de departamentos',
 u'header': {},
 u'input': {u'DepartamentosInput': {u'parameters': None}},
 u'name': u'Departamentos',
 u'namespace': u'http://127.0.0.1:8000/mws/server/call/soap',
 u'output': {'DepartamentosResponse': {u'Result': {u'nombre': [<type 'str'>], u'id': [<type 'int'>]}}},
 u'parameter_order': [u''],
 u'qualified': None,
 u'style': None}

What version of the product are you using? 
Last source code of pysimplesoap and web2py.

On what operating system?
Ubuntu 14.04 - Python 2.7.6

Thank you. Best regards. Fernando.

Original issue reported on code.google.com by fpacheco.ingesur@gmail.com on 28 Oct 2014 at 11:27

Attachments: