Fix WSDL parsing when types are imported, fixes issue 157