*What I have done:*
1. I added my root xsds to the jaxrs:schemaLocations list.
2. I created a JAXB Provider of type
org.apache.cxf.jaxrs.provider.JAXBElementProvider, which also get the same
list of schemaLocations as already specified in jaxrs:schemaLocations to
enable xsd input validation.
2.1. The JAXB Provider is than registered on the same jaxrs:server in the
jaxrs:providers collection.

*What I get:*
I: A generated WADL, which contains a different xsd to my declarations in
JAXB Provider & jaxrs:schemaLocations. It seems to be reconstructed from the
JAXB Objects.

II: Furthermore, I get the xsd with namespace prefix "A" and my request and
response parameter types are of prefix "prefix1", which does not relate to
any xsd element declaration in the WADL.



--
View this message in context: 
http://cxf.547215.n5.nabble.com/included-xsd-s-are-not-resolved-for-wadl-generation-tp5753451p5753526.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to