Description
With CXF 2.4.3 working on Java first web services (attached Eclipse project CXF-WSDLTest.zip) produces the following error when attempting to generate WSDL with referenced XSD files.
SEVERE: Schema element
{urn:example.com:fault1}appFault references undefined type
{urn:example.com:fault}appFaultDetails for service
{urn:example.com:role1}RoleApiService.
I want/need to do this, because several services do share the Fault, FaultDetails and error code beans.
Here are my questions:
- Why is java2ws not seeing the appFaultDetails (generating the severe message above)?
- Why is java2ws not generating the import statement for the fault.xsd?
- Why is the import statement for the role.xsd not using the stated location from the package-info.java file?