[ https://issues.apache.org/jira/browse/CXF-3918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151462#comment-13151462 ]
Kaj Kandler commented on CXF-3918: ---------------------------------- The cause for this issue might be related to CXF-3919 > Java first with external XSD does not resolve name spaces properly > ------------------------------------------------------------------ > > Key: CXF-3918 > URL: https://issues.apache.org/jira/browse/CXF-3918 > Project: CXF > Issue Type: Bug > Components: Tooling > Affects Versions: 2.4.3 > Reporter: Kaj Kandler > Attachments: CXF-WSDLTest.zip > > > 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? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira