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):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\ArcGIS10.2\lib\site-packages\suds\client.py", line 542, in 
__call__
    return client.invoke(args, kwargs)
  File "C:\Python27\ArcGIS10.2\lib\site-packages\suds\client.py", line 602, in 
invoke
    result = self.send(soapenv)
  File "C:\Python27\ArcGIS10.2\lib\site-packages\suds\client.py", line 643, in 
send
    result = self.succeeded(binding, reply.message)
  File "C:\Python27\ArcGIS10.2\lib\site-packages\suds\client.py", line 678, in 
succeeded
    reply, result = binding.get_reply(self.method, reply)
  File "C:\Python27\ArcGIS10.2\lib\site-packages\suds\bindings\binding.py", 
line 165, in get_reply
    result = unmarshaller.process(nodes[0], resolved)
  File "C:\Python27\ArcGIS10.2\lib\site-packages\suds\umx\typed.py", line 66, 
in process
    return Core.process(self, content)
  File "C:\Python27\ArcGIS10.2\lib\site-packages\suds\umx\core.py", line 48, in 
process
    return self.append(content)
  File "C:\Python27\ArcGIS10.2\lib\site-packages\suds\umx\core.py", line 63, in 
append
    self.append_children(content)
  File "C:\Python27\ArcGIS10.2\lib\site-packages\suds\umx\core.py", line 140, 
in append_children
    cval = self.append(cont)
  File "C:\Python27\ArcGIS10.2\lib\site-packages\suds\umx\core.py", line 63, in 
append
    self.append_children(content)
  File "C:\Python27\ArcGIS10.2\lib\site-packages\suds\umx\core.py", line 140, 
in append_children
    cval = self.append(cont)
  File "C:\Python27\ArcGIS10.2\lib\site-packages\suds\umx\core.py", line 64, in 
append
    self.append_text(content)
  File "C:\Python27\ArcGIS10.2\lib\site-packages\suds\umx\typed.py", line 133, 
in append_text
    content.text = self.translated(content.text, known)
  File "C:\Python27\ArcGIS10.2\lib\site-packages\suds\umx\typed.py", line 139, 
in translated
    return resolved.translate(value)
  File "C:\Python27\ArcGIS10.2\lib\site-packages\suds\xsd\sxbuiltin.py", line 
141, in translate
    return Date(value).date
  File "C:\Python27\ArcGIS10.2\lib\site-packages\suds\sax\date.py", line 53, in 
__init__
    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 "
                                        "
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to