Hello everibody!
I have a problems in getting a response as an object after calling a a service method.
The code is the following:
from suds.client import Client
wsdl =
'http://wwwservizitest.regione.emilia-romagna.it/WebServices/GSA/GlobalGSAService.asmx?WSDL'
client=Client(wsdl)
service = client.service
query = {'query' : 'test'}
response = service.GetRisultatiRicerca(**query)
Calling type(response) returns me <class 'suds.sax.text.Text'>.
Printing it just outputs an xml valid according to the schema given by another service
method:
service.GetSchemaRisultato()
Does anybody has an idea about using this schema to transform the Text in to an object
using this schema?
Thanks in advance for your attention.
--
Alessandro Pisa - RedTurtle Technology
E-mail: alessandro.pisa(a)redturtle.net
Web Site:
http://www.redturtle.net
Phone: +39 0532 1915958