Fix NPE when a class providing a SOAP service returns nothing