On Friday, September 30, 2011 4:45:22 PM César Correia wrote:
> Hello All!
> How to customize the wsdl attributes for methdos with annotations?
> 
> With @XmlElement(rquired=true) I managed to change minOccurs in wsdl for
> class properties (mapped to complex type). I'd like to do the same with
> method parameters using annotations. Is it possible?
> 

If you use JAXB 2.2, you can use the same method.  Put the @XmLElement 
annotation on the param.   However, you will need to endorse the JAXB 2.2 api 
jar which may or may not be acceptable for you.

Dan


> Thanks in advance!
> 
> Cesar.
-- 
Daniel Kulp
dk...@apache.org
http://dankulp.com/blog
Talend - http://www.talend.com

Reply via email to