Re: Java2Ws and JSR 303 Annotations

2015-11-25 Thread Daniel Kulp
This is definitely something that is interesting, but I’m not exactly sure if this is a “CXF” thing. CXF doesn’t really generate the Schemas, it delegates down to the various data bindings for that. Normally that’s JAXB. Thus, I kind of consider this more of extensions to JAXB. There is

Re: Java2Ws and JSR 303 Annotations

2015-11-25 Thread Cristiano Costantini
Hi Benedickt, Your example is really clear, and I think it should be supported by CXF! To summarize to other members of the mailing list, the concept is that if I annotate my class with these 303 annotations: public class TestDTO { @Min(100) private int number; @Pattern(regexp = "mypatte

Re: Java2Ws and JSR 303 Annotations

2015-11-24 Thread Benedikt Ritter
2015-11-21 12:44 GMT+01:00 Benedikt Ritter : > Hello Christiano, > > 2015-11-20 7:52 GMT+01:00 Cristiano Costantini < > cristiano.costant...@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

Re: Java2Ws and JSR 303 Annotations

2015-11-21 Thread Benedikt Ritter
Hello Christiano, 2015-11-20 7:52 GMT+01:00 Cristiano Costantini < cristiano.costant...@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 togeth

Re: Java2Ws and JSR 303 Annotations

2015-11-21 Thread Benedikt Ritter
Hello Christian, 2015-11-20 8:42 GMT+01:00 Christian Schneider : > Hi Benedikt, > > this seems to be related to what you do. Though it is the other way round: > https://github.com/krasa/krasa-jaxb-tools Thank you, we found that one as well. But as you say, it is the other way around :-) Regard

Re: Java2Ws and JSR 303 Annotations

2015-11-19 Thread Christian Schneider
Hi Benedikt, this seems to be related to what you do. Though it is the other way round: https://github.com/krasa/krasa-jaxb-tools Christian Am 19.11.2015 um 21:21 schrieb Benedikt Ritter: Hello, one of the projects at my company currently has the need to generate WSDLs from Java classes annot

Re: Java2Ws and JSR 303 Annotations

2015-11-19 Thread Cristiano Costantini
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. Thank you, Cristiano Il giorno gio 19 nov 2015 alle ore 21:21 Benedikt Ritter ha scritto: > Hello, > > one of the projects a

Java2Ws and JSR 303 Annotations

2015-11-19 Thread Benedikt Ritter
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 rep