_type=xml is redundant now, and
http://<ip>:<port>/<jaxrsServerURL>/rootresource.wadl
is possible too provided an extension mapping for 'wadl' is available,
See the update page for more info:
https://cwiki.apache.org/confluence/display/CXF20DOC/JAXRS+Services+Description#JAXRSServicesDescription-ServicelistingsandWADLqueries
Sergey
On 02/11/11 17:54, Sergey Beryozkin wrote:
Hi
On 02/11/11 05:25, chetan wrote:
Hi,
I'm using CXF (JAXRS) v2.4.3
I typically hit the following URL for getting the CXF generated URL:
http://<ip>:<port>/<jaxrsServerURL>?_wadl&_type=xml
So my question is, is this URL configurable? As in can I change it to
something else to get the WADL?
I think we should make _type optional and have application/xml by
default, so will be just
http://<ip>:<port>/<jaxrsServerURL>?_wadl
we can also probably do
http://<ip>:<port>/<jaxrsServerURL>.wadl
and you'd like to use some other query parameter then it can be easily
done by registering a custom CXF in interceptor which will replace a
Message.QUERY_STRING property on the current Message for _wadl be there
Cheers, Sergey
Thanks
--
View this message in context:
http://cxf.547215.n5.nabble.com/WADL-generation-URL-tp4957178p4957178.html
Sent from the cxf-user mailing list archive at Nabble.com.