Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.7.3
-
None
-
Unknown
Description
ReflectionServiceFactoryBean is falling back to use the service class to initialize the endpoint when the provided wsdl cannot be loaded (e.g., not found). This can lead to an NPE, as the service class can be null.
This patch adds a check to verify this condition and throws an appropriate unchecked exception (ServiceConstructionException) instead.