Update SOAPGenerator.php

The error "Call to a member function getComplexType() on a non-object" could be fixed by removing the duplicated call to the function "getComplexType()".