Fixed `AssertionError: Invalid child type` when WSDL contains imports, fix #322