Hi all,

I would like to delve deeper into CXF cxf-rt-rs-service-description and
java2wadl-plugin (upgraded from some-version-I-cant-remember to 3.1.7), and
have a few questions:

1. I noticed that if my service does not have any SOAP APIs, the SOAP
section is not generated. Just wondering if the SOAP section will be
generated if one of my services is a SOAP.

2. The service endpoint address is not a link anymore, so I wouldn't able
to navigate to the WADL unless I manually change the URL address to include
_wadl parameter. Would there be an option anywhere to get the link to
appear?

3. My REST API resources are consuming and producing application/json. When
I compare the wadl type=json and type=xml, the json wadl describes the
representation by class name (e.g.
{"representation":{"@element":"ThirdPartyElement","@mediaType":"application/json"}),
while the xml wadl describes the element <representation
mediaType="application/json">.

Correct me if I am wrong, I understand that if the resource parameter is
annotated with JAXB, the fragments will be generated. But if it is a third
party class that I have no control of, is there a way to generate the
fragments too?

4. I would also like to delve into Support for Javadoc
<http://cxf.apache.org/docs/jaxrs-services-description.html#JAXRSServicesDescription-SupportforJavadoc>.
I experimented with it by writing a javadoc for a resource method but
there's no visible changes in the wadl / services list page.

I appreciate your time and many thanks in advance. Cheers.

Regards,
Allan C.

Reply via email to