[Fedora-suds-list] arrayType not-found

Rene reneverschoor at gmail.com
Sat Oct 18 16:35:33 UTC 2008


Hi Jeff,

Using 0.3.2 beta I'm now able to retrieve some info from JIRA
(www.atlassian.com), but not all calls work.
The code below can be run by anyone as the site is public and is
accessible using the 'soaptester' account.

  import logging
  from suds.client import Client

  logging.basicConfig(level=logging.INFO)

  url = "http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl"
  client = Client(url)
  # Login
  auth = client.service.login('soaptester', 'soaptester')

  # OK - Retrieve user information
  print client.service.getUser(auth, 'soaptester')

  # OK - Retrieve project info
  print client.service.getProjectByKey(auth, 'TST')

  # NOK - Retrieve issue info
  print client.service.getIssue(auth, 'TST-3410')

The getIssue call results in:

  ERROR:suds.resolver:(@arrayType) not-found
  WARNING:suds.bindings.unmarshaller:attribute (arrayType) type, not-found
  ERROR:suds.resolver:(affectsVersions) not-found
  Traceback (most recent call last):
    File "t.py", line 18, in <module>
      print client.service.getIssue(auth, 'TST-3410')
    File "c:\python25\lib\site-packages\python_suds-0.3.2-py2.5.egg\suds\client.py",
line 283, in __call__
    File "c:\python25\lib\site-packages\python_suds-0.3.2-py2.5.egg\suds\client.py",
line 398, in invoke
    File "c:\python25\lib\site-packages\python_suds-0.3.2-py2.5.egg\suds\client.py",
line 429, in send
    File "c:\python25\lib\site-packages\python_suds-0.3.2-py2.5.egg\suds\client.py",
line 490, in succeeded
    File "c:\python25\lib\site-packages\python_suds-0.3.2-py2.5.egg\suds\bindings\binding.py",
line 141, in get_reply
    File "c:\python25\lib\site-packages\python_suds-0.3.2-py2.5.egg\suds\bindings\unmarshaller.py",
line 296, in process
    File "c:\python25\lib\site-packages\python_suds-0.3.2-py2.5.egg\suds\bindings\unmarshaller.py",
line 86, in process
    File "c:\python25\lib\site-packages\python_suds-0.3.2-py2.5.egg\suds\bindings\unmarshaller.py",
line 102, in append
    File "c:\python25\lib\site-packages\python_suds-0.3.2-py2.5.egg\suds\bindings\unmarshaller.py",
line 174, in append_children
    File "c:\python25\lib\site-packages\python_suds-0.3.2-py2.5.egg\suds\bindings\unmarshaller.py",
line 102, in append
    File "c:\python25\lib\site-packages\python_suds-0.3.2-py2.5.egg\suds\bindings\unmarshaller.py",
line 174, in append_children
    File "c:\python25\lib\site-packages\python_suds-0.3.2-py2.5.egg\suds\bindings\unmarshaller.py",
line 100, in append
    File "c:\python25\lib\site-packages\python_suds-0.3.2-py2.5.egg\suds\bindings\unmarshaller.py",
line 316, in start
  suds.TypeNotFound: Type not found: 'affectsVersions'

Cheers,
rev




More information about the suds mailing list