cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benedikt Ritter <brit...@apache.org>
Subject Re: Java2Ws and JSR 303 Annotations
Date Sat, 21 Nov 2015 11:44:37 GMT
Hello Christiano,

2015-11-20 7:52 GMT+01:00 Cristiano Costantini <
cristiano.costantini@gmail.com>:

> Hi,
> your idea seems interesting,
> could you write an example of what you mean? An example of a class
> annotated with JSR 303 and the WSDL/XSD you do expect would be great.
>

we've put together an example at github [1]. The README.md contains an
overview of how annotations could be mapped to WSDL.

Regards,
Benedikt

[1] https://github.com/codecentric/cxf-bean-validation


>
> Thank you,
> Cristiano
>
>
> Il giorno gio 19 nov 2015 alle ore 21:21 Benedikt Ritter <
> britter@apache.org>
> ha scritto:
>
> > Hello,
> >
> > one of the projects at my company currently has the need to generate
> WSDLs
> > from Java classes annotated with JSR 303 annotations [1]. They are using
> > CXF's java2ws-maven-plugin, but the plugin does not process JSR 303
> > annotations.
> > We're currently evaluating ways to generate XSD facets for representing
> the
> > annotations. One idea is to extend the java2ws-maven-plugin so that is
> can
> > generate this as well.
> > Would the CXF project be interested in such a contribution? If so, I can
> > elaborate more about how JSR 303 annotations could be mapped to facets.
> >
> > Regards,
> > Benedikt
> >
> > [1] http://beanvalidation.org/
> >
> > --
> > http://people.apache.org/~britter/
> > http://www.systemoutprintln.de/
> > http://twitter.com/BenediktRitter
> > http://github.com/britter
> >
>



-- 
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message