Hello,

We're currently using CXF 3.0.4 and it seems there is a bug in generating WADL 
when JDK 8 is used: method javadocs are not being added to WADL.
It happens because Javadoc format has been changed in Java 8. Now in Javadoc 
HTML files methods look like < a name="getCountries--"> instead of < a 
name="getCountries( in the older versions.

JavaDocProvider expects the older format:  String operMarker = operLink + 
method.getName() + "("; so it's not able to find operation marker.



There is also a minor problem with namespaces. If all request/response types in 
endpoints are collections the namespace is not being added to the <application 
tag, which result in the invalid WADL.

Classes of the objects that are elements of the collections are not added to 
the Map<Class<?>, QName> clsMap = new IdentityHashMap<Class<?>, QName>(); in 
WadlGenerator.

(and it seems right) so the namespace is missed. Maybe it's the expected 
behavior but it seems a bit inconsistent since collections are supported as 
request/response types.


Thanks,
Anastasiia

Reply via email to