Error while using suds: suds.TypeNotFound: Type not found

dieter dieter at handshake.de
Mon Jan 21 02:22:04 EST 2019


prakashsharmacs24 at gmail.com writes:
> ...
> I want to consume the web services described in the following:
>
> https://login.keyinvoice.com/API3_ws.php?wsdl
>
> I am using python 3.5.x and suds version 0.6. What I tried 1
>
> from suds.client import Client
> url = 'https://login.keyinvoice.com/API3_ws.php?wsdl'
> client = Client(url) 
>
> Error:
>
> suds.TypeNotFound: Type not found: '(Array, http://www.w3.org/2001/XMLSchema, )'

"TypeNotFound" typically indicates a WSDL error, more precisely
an error in the XML schema part of the WSDL (defining the used
types). It means that a type is referenced which "suds" cannot
find.

In the above case, "suds" has not found the type "Array"
in the XML schema specified by "http://www.w3.org/2001/XMLSchema".
"https://www.w3.org/TR/xmlschema-2/#datatype-components"
is the specification for "http://www.w3.org/2001/XMLSchema"
and indeed, it does not mention a type "Array".
Thus, "suds" seems to be correct in not finding the type.




More information about the Python-list mailing list