Fixed `AssertionError: Invalid child type` when WSDL contains imports

Fixed #322