The problem arises if the wsdl includes schema.xsd. The CXF Framework can not access the xsd files over the specified schema location.
A workaround is to download the wsdl and xsd files manually with a webbrowser and to change the xsd schema location in the wsdl to local file names. Then you can read in the wsdl using a file:/ url path
![alt text][1]
After the creation of the client you have to manipulate the new cxf...jar in the lib_ws folder in the ivy project. It includes a wsdl and a number of schemaN.xsd files. But this wsdl still includes the origin xsd paths and not the local schemaN.xsd files.
Change the schema location in the wsdl to the local schemaN.xsd files.
<xs:schema xmlns="http://schemas.xmlsoap.org/wsdl/" ...>
<xs:include schemaLocation="Schema1.xsd"></xs:include>
</xs:schema>
Without this modification the WS call will fail with an
InstantiationException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.service.
[1]: https://answers.axonivy.com/upfiles/2019-03-08_102339.png