Max: IIRC, you should be able to get a this type of information via the service description (sd) attribute in the client.

On Sat, Mar 26, 2011 at 1:46 PM, Max Slimmer <max@slimmersoft.com> wrote:
I am trying to use suds and would like to get some additional
information from the wsdl
for example I would like to be able to determine that the element
name='deleted' has type boolean
I tried to figure out how to call some of the methods like dict,
metadata etc but no luck couldn't figure how to
get soapobject...

thanks,
max

=======  wsdl ==========
</complexType>
 <complexType name="UserBean">
  <sequence>
   <element name="primaryKey" nillable="true" type="xsd:string"/>
   <element name="updateIndex" type="xsd:int"/>
   <element name="deleted" type="xsd:boolean"/>
   <element name="loginID" type="xsd:string"/>
   <element name="name" type="xsd:string"/>
   <element name="teams" nillable="true" type="tns1:ArrayOfString"/>
   <element name="timezone" type="xsd:string"/>
   <element name="userTypePK" type="xsd:string"/>
   <element name="description" nillable="true" type="xsd:string"/>
   <element name="emailAddress" nillable="true" type="xsd:string"/>
   <element name="phoneNumber" nillable="true" type="xsd:string"/>
   <element name="faxNumber" nillable="true" type="xsd:string"/>

========== code ===========
soapClient = suds.client.Client(url)
>>> u = soapClient.factory.create('UserBean')
>>> u
(UserBean){
 primaryKey = None
 updateIndex = None
 deleted = None
 loginID = None
 name = None
 teams =
    (ArrayOfString){
       _arrayType = ""
       _offset = ""
       _id = ""
       _href = ""
       _arrayType = ""
    }
 timezone = None
 userTypePK = None
 description = None
 emailAddress = None
 phoneNumber = None
 faxNumber = None
_______________________________________________
suds mailing list
suds@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/suds