[Fedora-suds-list] Problem calling function.
Robert Lugg
Robert.Lugg at synopsys.com
Tue Jun 24 00:14:05 UTC 2008
Hello all,
I am trying to connect to a service provided by Danube (
http://danube.com/docs/scrumworks/pro/latest/api.html ). I am no expert
on SOAP, so am unsure if this is a limitation of suds or a problem with
the .wsdl file.
I am able to connect by creating a ServiceProxy object (I realize I am
using the "old way"). However, when I call a function, I receive the
following error:
>>> myservice.getUsers()
Traceback (most recent call last):
File "<pyshell#30>", line 1, in <module>
myservice.getUsers()
File
"C:\Python25\lib\site-packages\suds-0.2.1-py2.5.egg\suds\serviceproxy.py
", line 112, in __call__
raise e
WebFault: service endpoint raised fault (Fault){
faultcode = (env:Client)
faultstring = (Cannot find child element:
{http://api.scrumworks.danube.com/ScrumWorks/types}getUsers)
This address does not exists, but feedback from others is that this
address can be a "dummy" address and is not required by SOAP.
I realize that suds is deep in development and this question may not be
directly related, but does anyone have an idea of the issue?
Version: 0.2.1
Regards,
Robert Lugg
The top portion of the .wsdl is shown below.
<definitions name='ScrumWorksService'
targetNamespace='http://api.scrumworks.danube.com/ScrumWorks'
xmlns='http://schemas.xmlsoap.org/wsdl/'
xmlns:ns2='http://api.scrumworks.danube.com/ScrumWorks/types'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:tns='http://api.scrumworks.danube.com/ScrumWorks'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
<types>
<schema
targetNamespace='http://api.scrumworks.danube.com/ScrumWorks/types'
xmlns='http://www.w3.org/2001/XMLSchema'
xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:tns='http://api.scrumworks.danube.com/ScrumWorks/types'
xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<complexType name='addBacklogItemsToTheme'>
<sequence>
<element maxOccurs='unbounded' minOccurs='0'
name='arrayOfBacklogItemWSO_1' nillable='true'
type='tns:BacklogItemWSO'/>
<element name='ThemeWSO_2' nillable='true' type='tns:ThemeWSO'/>
</sequence>
</complexType>
<complexType name='BacklogItemWSO'>
<sequence>
<element name='active' type='boolean'/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/suds/attachments/20080623/6fe5014d/attachment.html
More information about the suds
mailing list