> -----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".
