CXF and xsd restrictions

2011-05-27 Thread marcin.kasin...@gmail.com
Hello. Can you tell me what kind of annotation I can use in my JAVA to generate xsd restrictions in wsdl ? I need to generate code bellow. Thanks Marcion -- View this message in context: http://cxf.547215.n5.nabble.com/CXF-and-xsd-restr

Re: Expose MBeans in CXF

2011-05-27 Thread Sergey Beryozkin
Hi Shenglin Sorry for a few days delay in commenting about your test project which you posted to me, I just looked at the code, here are the comments. First of all, it's a good progress, I think you are on the way to completing the 1st phase of the project, we should aim at the end of the next wee

Re: CXF and xsd restrictions

2011-05-27 Thread Freeman Fang
Hi, No, there's no way to do it with annotation in java code, jaxb can't support it. Take a look at related discussions here[1] [1]http://cxf.547215.n5.nabble.com/JAXB-Any-way-to-incorporate-restrictions-into-annotations-td3405878.html#a3406031 Freeman On 2011-5-27, at 下午4:39, marcin.kasin..

Re: CXF and xsd restrictions

2011-05-27 Thread marcin.kasin...@gmail.com
Thank you for reply. You said there's no way to do it with annotation . Can I do in different way ? Can I do with other framework ? My case is: Generate java class with methods and set minoccurs, maxoccurs and restrictions and then generate wsdl and other necessary files from this bean. Any i