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.
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
{http://petals.ow2.org/wsdlExtensions}importedDocuments/{http://petals.ow2.org/wsdlExtensions}documentxpath://description/importedDocuments/document/ServiceFaults.xsd{http://petals.ow2.org/wsdlExtensions}importedDocuments/{http://petals.ow2.org/wsdlExtensions}documentxpath://description/importedDocuments/document/ServiceFaults.xsd