Java first with external XSD does nto 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


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

        

Reply via email to