Hi guys,
I'm working with CXF 2.4.3 on Java first web services (attached Eclipse
project http://cxf.547215.n5.nabble.com/file/n4994906/CXF-WSDLTest.zip
CXF-WSDLTest.zip ) and can't get around 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?
In addition how is the Validator coming up with the idea that this is valid
WSDL, when the Eclipse validation clearly shows it is not.
Thanks for helping me out on this one. Let me know if I'm doing something
odd/bad or if this is a bug in java2ws?
K<o>
--
View this message in context:
http://cxf.547215.n5.nabble.com/How-to-do-java-first-with-imported-XSD-schema-correctly-tp4994906p4994906.html
Sent from the cxf-user mailing list archive at Nabble.com.