Thanks for the quick reply. Our server is on our intranet, so I can't expose it. I'll try to get a demo site up and running that will be publicly available. The .wsdl is here: http://robert.lugg.googlepages.com/scrumworks.wsdl
in case it is of value. The soap address within it points to an internal address.
Robert
-----Original Message----- From: fedora-suds-list-bounces@redhat.com [mailto:fedora-suds-list-bounces@redhat.com] On Behalf Of Jeff Ortel Sent: Tuesday, June 24, 2008 7:31 AM To: Robert Lugg Cc: fedora-suds-list@redhat.com Subject: Re: [Fedora-suds-list] Problem calling function.
Hey Robert,
See comments below.
Regards,
Jeff
Robert Lugg wrote:
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%7DgetUsers)
This address does not exists, but feedback from others is that this address can be a "dummy" address and is not required by SOAP.
That's correct the XML namespace URI can by anything but should be unique.
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?
I don't have scrumworks installed. Can you send me the whole wsdl and/or expose access to your scrumworks server? If I have access to the
server, I can run my suds against it.
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'/>
------------------------------------------------------------------------
fedora-suds-list mailing list fedora-suds-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-suds-list
_______________________________________________ fedora-suds-list mailing list fedora-suds-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-suds-list