Update SOAPGenerator.php

Call to a member function getComplexType() on a non-object
Merge pull request #19 from rwillians/patch-1

Update SOAPGenerator.php