HI

On Wed, May 25, 2011 at 10:42 AM, gunanup <[email protected]> wrote:
> Hi sergey,
>
> I have another issue , how can we customize
>
> <xs:import namespace=""/>  and prefix1: in the following wadl
>

I'm not sure at all why JAXB generates "<xs:import namespace=""/>".
Something to do with RequestWrapper class you are using.  Can you send
it to me please ?

About "prefix1". Starting from CXF 2.4.1/2.3.5 you can use a
namespacePrefix property, ex, you can use "ns", etc:
http://cxf.apache.org/docs/jaxrs-services-description.html#JAXRSServicesDescription-CustomWADLproviders
?

It really does not matter that the base is called 'prefix', a bit long
may be. I think I just did not know how to capture a prefix used by
JAXB when autogenerating schemas so I just introduced another prefix
to be used on the wadl:application element.

Cheers, Sergey

> cxf version 2.2.8
> java 5 jdk 1.5
> jboss 4.x
>
>
> --
> View this message in context: 
> http://cxf.547215.n5.nabble.com/how-can-we-customise-the-output-wadl-generated-by-cxf-jaxrs-tp4424768p4424768.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>



-- 
Sergey Beryozkin

Application Integration Division of Talend
http://sberyozkin.blogspot.com

Reply via email to