Sure, I added a namespacePrefix property to WADLGenerator, see https://cwiki.apache.org/confluence/display/CXF20DOC/JAXRS+Services+Description#JAXRSServicesDescription-CustomWADLproviders
Cheers, Sergey On Thu, Apr 21, 2011 at 12:10 AM, KARR, DAVID (ATTSI) <[email protected]> wrote: >> -----Original Message----- >> From: KARR, DAVID (ATTSI) >> Sent: Wednesday, April 20, 2011 3:56 PM >> To: [email protected] >> Subject: How to control namespace prefix in generated WADL >> >> I noticed that in my generated WADL, it assumes a namespace prefix of >> "prefix1" for my service schema. >> >> Is there any way to control that in my controller annotations or >> jaxrs:server configuration? > > Note that I tried editing my "package-info.java" and adding a @XmlNs to my > "xmlns" list (I already had entries for "xs" and "xsi") with the prefix I > want and using the same namespace as the target namespace. The result was > that it added another namespace declaration, but it left the "prefix1" > assignment alone, and all the references were to "prefix1". > -- Sergey Beryozkin Application Integration Division of Talend http://sberyozkin.blogspot.com
