Fix "AssertionError: Invalid child type"

Fix "AssertionError: Invalid child type" caused by any WSDL containing imports or includes.