kevinalejandromol...@gmail.com writes: > i was trying to consume the service but i always have the same error, look > over the error message, and i am think that the error is, the suds library > does not support null values on the attributes. > >>>> r=client.service.WSOBTENERINTERRUPCIONWEB(1,1) > Traceback (most recent call last): > ... > self.date = self.__parse(date) > File "C:\Python27\ArcGIS10.2\lib\site-packages\suds\sax\date.py", line 104, > in __parse > raise ValueError, 'Invalid format "%s"' % s > ValueError: Invalid format " > "
Apparently, the server side delivers an invalid SOAP message (one which does not conform to the WSDL description). >From the WSDL, "suds" is expecting a "date" value. The "XML-Schema" standard clearly defines how date values must look like -- and a string filled with blank characters is not conforming. Contact the server side administrator about the problem. "suds" has some infrastructure to cope with broken WSDL descriptions -- however, you will need some deeper knowledge about "WSDL", "XML-Schema" and "suds" to make use of them. Thus, hopefully, the problem can be solved on the server side (where it also should be solved). -- https://mail.python.org/mailman/listinfo/python-list