The problem occurs if the service provider is running on a JBI component based on CDK 4, and the service consumer is deployed on a JBI component based on CDK 5.
If we add a NPE check in EasyWSDL Complex extension, the returned WSDL is not correct because the complex WSDLs managed by CDK 4 or CDK 5 use the tag
with attribute
name to store imported resources by the WSDL. And the CDK 5 updates import locations with an XPath expression as
, and, on tag
document, uses attributes
location and
originalLocation whereas the CDK 4 does not update them and uses attribute
name.
I don't know what to do. This problem is the symptom of an incompatibility between components based on different CDK versions that are not compliant.
Since the introduction of the distribution "Petals Enterprise", all delivered components are based on the same CDK, so this problem can't occur any more. But is it sufficient ? We wrote any warning on the obligation to use components from the same distribution.