[Fedora-suds-list] Problem calling function.

Jeff Ortel jortel at redhat.com
Tue Jun 24 14:30:48 UTC 2008


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}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.
> 
>  

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 at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-suds-list




More information about the suds mailing list