Skip to content

wsdl2py failing #109

Description

@bkalantzis

I'm attempting to use the wsdl2py to generate client code from a wsdl file. The code generated has name+'.TheClassName' instead of the actual name in the class declerations:

class TLOGenericSearchInput(__name__ + '.TLORequestInput'):
    INHERITANCE = xsd.Inheritance.EXTENSION
    INDICATOR = xsd.Sequence
    MaximumAddresses = xsd.Element(__name__ + '.String', minOccurs=0)
    Name = xsd.Element(__name__ + '.NameBase', minOccurs=0
    Address = xsd.Element(__name__ + '.AddressBase', minOccurs=0)
    FilingNumber = xsd.Element(__name__ + '.String', minOccurs=0)
    SSN = xsd.Element(__name__ + '.String', minOccurs=0)
    FullName = xsd.Element(__name__ + '.String', minOccurs=0)
    DateOfBirth = xsd.Element(__name__ + '.Date', minOccurs=0)
    BusinessName = xsd.Element(__name__ + '.String', minOccurs=0)```

Attached is the wsdl and result it generates with python 3.5.
[wsdl_and_code.zip](https://github.com/soapteam/soapfish/files/999122/wsdl_and_code.zip)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions